For the complete documentation index, see llms.txt. This page is also available as Markdown.

Apply tracker settings by regex

Didomi persists a tracker's configured settings across subsequent scans by matching the following fields for the tracker in your tracker policy:

  • Name

  • Party

  • Initiator

  • Type

If all of the fields above are consistent across a scan and tracker policy then the settings for the tracker will persist.

There are specific use-cases where you may want to persist a single set of exemptions and purposes across a group of trackers that follow a particular pattern. Utilizing regular expression (regex), your organization can provide the pattern for a single tracker and Didomi will apply the tracker's settings to any tracker found in a scan that matches the configured pattern.

Example:

Your organization has three cookies being dropped by the same vendor on a domain that should have the same settings. The trackers that are dropped are:

  • _ga

  • _ga#

  • _ga_12345

Using the example above, your organization can attribute and persist the same set of exemptions and purposes across all three cookies with a regex of ^_ga .

To define this pattern, click Tracker and Vendor Discovery or Advanced Compliance Monitoring on the left-hand panel and select the ellipsis inline with a domain on the subsequent page.

Click Manage tracker policy from the drop-down menu.

Select a tracker on the list that will be used to set the pattern for the other trackers that fit the pattern and click Edit.

In the subsequent modal, enable the Tracker name is a RegEx setting and use the Tracker name field to input the regex that should be used to match other trackers that fit the pattern.

Click Save when finished.

All trackers that match your configured regex pattern will inherit the source tracker's exemptions and purposes.

Last updated