Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 15.6

...

  1. In the Frosmo Control Panel, select Triggers.
  2. Click Create trigger.
  3. Define the trigger following settings:

    • Name: Enter a descriptive name for the trigger, such as "When the data layer gets a Google Tag Manager push".
    • Evaluation point: Select Data layer event.
    • Rules: Click Add new rule, click Event data, and set the trigger following rule:

      Divbox
      classfrosmo-rule-container

      The data value of the event property begins with ["gtm"].

      This means that the trigger fires if the event data contains an event property whose value is a string that starts with gtm. For example, an event property with the string value gtm.js will fire the trigger.


    Trigger settings for tracking Google Tag Manager events

  4. When you're done, click Click Save.

You have created a trigger that gets fired every time a dataLayer.push() call contains an event property with a string value that starts with gtm. You can now use the trigger in conversion definitionsplacements, segments, or shared code, depending on how you want to handle Google Tag Manager events.

...