Google Tag Manager Integration
The FunnelEnvy platform natively sends audience data and events into the browser data layer, which is then accessible by tag management solutions like Google Tag Manager.
The following example data structure is created in the data layer when audiences are returned.
Tags that wish to use FunnelEnvy audiences should fire on the funnelenvy.updatedAudiences event.
You can use the field backstage.<Audience URL>.member field to check if the current visitor is in an audience:
Then you can create a trigger for the funnelenvy.updatedAudiences event that will only fire if backstage.<Audience URL>.member is true: