Version:
Cohesiondx.com

    Adding data layer event attributes

    You can add data layer attributes to an Element.

    Google Tag Manager must be set-up correctly on the site for data layer events to work.

    Accessing the analytics form

    1. Navigate to a page or template with the Layout canvas
    2. Double click on an Element to edit its settings
    3. Click on the ... ellipsis tab (shown in blue) and click on Analytics in the menu (shown in pink).

    locate-analyticevents.png

    Add data layer event attributes

    To add data layer Event attributes and trigger them:

    1. Within the Event attributes area select the action that will trigger the event in the Trigger drop-down
      1. On click triggers the event if the user clicks on the Element. The Element does not have to be a link for this to work.
      2. On hover triggers the event if the user hovers over the Element. The Element does not have to be a link for this to work.
      3. On view triggers the event when the Element enters the browser viewport.
    2. Enter the attributes you want to send to the Tag manager in the Key and Value fields
      Note that both fields are required.
    3. Repeat steps 1 and 2 for multiple event triggers. To set multiple triggers click Add event attributes.
    4. Click Apply.

     

    Cohesion DX8 Help center

    Launch our Help center to raise a support ticket or search our knowledge base of common questions and answers.

    DX8 knowledge base icon

    Knowledge base

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    Log in to the Help center to raise an issue. Available Monday - Friday, 09:00 - 17:00 GMT.

    Raise ticket