Edge segments

How it works

You can compute segments browser-side using our Edge technology and share them with Google Ad Manager. This allows you to react instantly to user behavior and trigger campaigns as users navigate your website.

To do so, the mediarithmics tag:

  • Collects and stores identifiers and navigation data in local storage. When an event is pushed by the tag, it is sent both to the activity processing pipeline and saved locally.

  • Computes browser-side which segments the user enters or leaves.

  • When a user enters or exits one or more segments:

    • Triggers the Google Ad Manager integration

    • Sends the information back to the server to maintain a server-side state of the segment. Segment statistics are computed periodically by running a query that counts users flagged as belonging to the segment.

Only users who navigated your site with the Edge feature activated will be in the segment.

Setup

To configure this feature, please follow these steps:

  1. Make sure your site is implementing the latest version of the mediarithmics snippet (see Website tracking for more information)

  2. Update your schema:

    1. Identify which properties in your schema need to be used to segment your users with Edge. These properties must exist in the schema and be stored exactly as pushed by the tag, without any transformation applied (e.g., event rule, visit analyzer). A property with the @PropertyPath directive works only if the path name and the property name are identical in both the schema and the data layer

    2. Mark the properties you want to expose to Edge segmentation with the @EdgeAvailability flag (see Data model @EdgeAvailability directives for more information)

    3. Don't hesitate to validate your schema with our team 👍

  3. Enable Edge on your channels. Your Account Manager will activate this feature for you

  4. Finalize the integration with the SSP / AdServer:

    1. For GAM: the JS snippet automatically pushes the segment IDs as key/values to the ad call, but at the moment we do not create them automatically in GAM. They need to be created manually in GAM UI (check https://support.google.com/admanager/answer/9796369?hl=en for more information)

    2. For any other platform: no integration at the moment tough it can be done easily in the snippet as the segment IDs are available in the local storage

Last updated

Was this helpful?