Creating a Trigger - Once per ...

Let's assume we now have a variable "Once per page" (which returns "true" a single time on a page and "false" for the other events) and a "once per page random value".

Navigate to the JENTIS: Triggers section and create a new trigger or update an existing one.

image-1688045518823.png

In this article's example, we will use the same JENTIS Data Layer pageview trigger (the same as the regular trigger, but with the new logic added to it).

The added conditions are:

  • (AND) Once per Page equal true (this variable will return this value just once per this scope: page)

  • (AND) Once per page randomvalue matches regex .* (this is important because otherwise the randomvalue variable will not be evaluated, as currently the JENTIS framework will only submit client-side variables to the server if they are explicitly used in a tag or trigger, but we need it in the server-side variable, so we add this condition with the variable to be always true)

Now, when this trigger is connected to a tag, it will only fire once for this tool. \

Last updated

Was this helpful?