Introduction
When using Komo Engagement Engine for your marketing or promotional campaigns, it’s crucial to track user interactions effectively. Komo Engagement Engine supports both Google Tag Manager (GTM) and Adobe Launch Tag Manager, which are commonly used to manage and implement tracking. Komo Engagement Engine automatically pushes important events to the respective data layers of these tag managers, giving you deep insights into user behavior without extensive manual configuration. In this article, we’ll explain the events Komo Engagement Engine publishes to the data layers, how to access them, and provide sample code to retrieve the data in Google Tag Manager (GTM) and Adobe Launch Tag Manager.Supported Tag Managers
Google Tag Manager (GTM)
Google Tag Manager is a versatile tool that allows you to manage tags and track user interactions without modifying your code base constantly. GTM uses a JavaScript array calleddataLayer to hold information about events and their related data.
Adobe Launch Tag Manager
Adobe Launch Tag Manager is another popular tool for managing tags and tracking user events. It usesadobeDataLayer to store and pass data from your site to Adobe Analytics or other tools you use within the Adobe Experience Cloud.
Events Published by Komo
Komo Engagement Engine automatically publishes key user interaction events to the respective tag manager’s data layerdataLayer for Google Tag Manager, adobeDataLayer for Adobe Launch). Below is a list of the most common events and what they represent:
| Event Name | Description |
|---|---|
auth-view | Triggered when a user views the authentication page or dialog on the platform. |
card-action | Triggered when a user performs a specific action on an interactive card. These actions can include: - Competition - ExternalLink - ScrollToCard - OpenProfileDrawer |
card-answered | Triggered when a user answers a question on a card, such as Quiz, Poll, Personality Test or Predictor. |
card-finished | Triggered when a user completes a gameplay experience for a card. |
card-item-viewed | Triggered when a user views an individual item within a card, such as a Vote or Carousel item. |
card-shared | Triggered when a user shares a card via the Share options for a card. |
card-social-click | Triggered when a user clicks on a social media link within a card. |
card-started | Triggered when a user begins interacting with a card. |
card-viewed | Triggered when a card is viewed by a user. |
coupon-redeemed | Triggered when a user redeems a coupon offered through a card. |
coupon-viewed | Triggered when a user views a coupon offered through a card. |
cover-clicked | Triggered when a user clicks the cover image or button for a card. |
embedded-card-page-viewed | Triggered when a user views a page that has a Komo card embedded in it. |
form-start | Triggered when a user begins to fill out a form. |
form-submission | Triggered when a user submits a form. |
page-viewed | Triggered when a user views a specific page on a hub. |
single-card-page-viewed | Triggered when a user views a standalone single-card page. |
survey-form-field-touched | Triggered when a user interacts with a field on a Survey card. |
survey-screen-finished | Triggered when a user completes a screen within a Survey card. |
survey-screen-started | Triggered when a user starts a screen within a Survey card. |
survey-screen-viewed | Triggered when a screen within a Survey card is viewed by a user. |
survey-submitted | Triggered when a user submits a completed Survey card. |
survey-viewed | Triggered when a user views a Survey card. |
trivia-card-action-bar-clicked | Triggered when a user clicks a link in the action bar of a Live Trivia card. Includes the gameplayStage (lobby, questions, finished, answers, or rules) and the link that was clicked. |
trivia-card-prizes-viewed | Triggered when a user views the prize options in a Live Trivia card. |
video-card-finished | Triggered when a user finishes watching the video on a Video card. |
video-card-paused | Triggered when a user pauses the video on a Video card. |
video-card-played | Triggered when a user starts playing the video on a Video card. |
video-card-resumed | Triggered when a user resumes a paused video on a Video card. |
video-card-viewed | Triggered when a Video card is viewed by a user. |
Accessing the Data Layers
Google Tag Manager: Accessing dataLayer
When Komo publishes an event, it gets pushed to the dataLayer array in GTM. You can access this data using the following code in your web browser’s developer console or within your GTM tags:
- Open Google Tag Manager and go to your Triggers.
- Click on New Trigger and choose Custom Event.
- In the event name, add the event you want to capture, for example,
card-viewed. - Save and publish your trigger.
Adobe Launch Tag Manager: Accessing adobeDataLayer
In Adobe Launch Tag Manager, Komo pushes events to the adobeDataLayer. You can access the data using the following
- In Adobe Launch, navigate to Rules and create a new rule.
- Choose Event Type as
Custom Event. - In the event configuration, define the event name (e.g.,
form-submission). - Save and publish your rule.
Example: Creating a Custom Trigger in Google Tag Manager
Here’s a sample code for creating a custom event trigger for thecard-viewed event in GTM:
- In GTM, navigate to Triggers and click on New.
- Choose Custom Event from the list of available trigger types.
- In the Event Name field, enter
card-viewed. - Set the trigger conditions if necessary (e.g., only fire the trigger on specific pages).
- Click Save to finalize the trigger.
Conclusion
By leveraging the events Komo Engagement Engine publishes todataLayer and adobeDataLayer, you can gain deep insights into user behavior and engagement. Whether you’re using Google Tag Manager or Adobe Launch, these events enable you to track meaningful user actions, analyze campaign performance, and make informed decisions to optimize your platform’s performance.
For more information on setting up Google Tag Manager or Adobe Launch, refer to the official documentation linked above.