Skip to main content

Tracking identifiers playground

This document simulates session creating logic depending on the 3rd party tool. As such it does not reflect the current state of d8a.

Tracking Identifiers

See glossary for more details.

Tracking Settings

Tracking-related settings that may influence which and how identifiers may be used and thus how sessions are calculated.

SettingDefaultDescription
Use cookies for trackingtrueEffectively turns on or off the usage of Client ID identifier. If the cookies are disabled, each Client ID may contain a different value
Use Session stamptrueTurns off the usage of SS identifier. If the Client ID changes (for example by cleaning cookies), we have no way of binding events before and after the change, effectively creating two sessions instead of one
Use CASIfalseTurns on or off the usage of CASI when calculating sessions

Tracking Conditions

Overall the tracker will attempt to track whatever is being delivered. We offload the privacy-related decisions to the tag manager.

ConditionGA4-compatibleMatomo-compatible
Visitor did give consentThere is consent attribute, but it only contains info about google ads and personalization params. Not sure about consent for analytics. There are two consent modes in GA, one sends only simple pings, other sends nothingNothing in the documentation. The tag is not fired at all if no consent is given for Matomo, meaning no data if no consent
Visitor did not give consentAttempt to track whavever is being delivered. Attempt to match the hits by SS to de-anonymize them after the consent is eventually granted.Depends on tag manager, track whatever is being delivered

Interactive Scenarios

Try different combinations of settings to see how they affect tracking and session behavior:

Scenario 1: Single Device, No user_id

Demonstrates single device, no user_id

Settings

SettingValue
Use cookies for tracking
Use session stamp

Result: Cookies + Session stamp

Device 1 events:

#12345
client_id13371337133713371337
user_id-----
session_stampxyzxyzxyzxyzxyz

Sessions:

  • Visitor ID: 1337, from client_id
    • Events: 1, 2, 3, 4, 5