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

Channels

Declare each site and app you track as a channel, and attach the rules that apply to it.

Your goal

Declare each website, mobile app, or CTV app you will track, so that the activity you collect can be attributed to the right property - and so that privacy rules, event rules, and analyzers can be applied per property.

Expected outcome

Every property in your tracking plan has a channel in the datamart, and you know its ID, because that ID is what your tag and your API calls will send.

What a channel is

A channel represents one of your sites or apps. If you have several sites or apps, you create a channel for each one. Each channel has an ID, representing a site ID, or an application ID - mobile or CTV.

When you attach a site ID or an app ID to a UserActivity, you link that activity to the corresponding channel.

Channels are what make these things possible:

  • Attaching data privacy rules to a specific site or app, rather than to the datamart as a whole.

  • Querying and segmenting by property - selecting only users who have activities on a specific site or app.

Channels are a datamart-level setting, managed in Settings > Datamart > Channels.

Declare your channels

1

List the properties in scope

One channel per site or app. Decide this together with your tracking plan: the channel is the unit your events will be attributed to, so a distinction you cannot make with channels is a distinction you will not be able to query later.

2

Create each channel

Go to Settings > Datamart > Channels and create the channel. The channel listing shows, per channel, the number of events over the last 7 days, or the number of single users over the last 7 days - useful later as a first check that collection is working.

3

Attach the rules that apply to it

When editing a channel you can configure additional rules relating to the processing of data:

Rule
What it does
Where it is documented

User Choices - Privacy Wall

Declares the processing activities that justify capturing personal data on this channel, and lets the platform check user choices automatically.

Event rules

Predefined actions that extract properties, reshape data, or identify a user from a property.

Visit analyzer

A plugin that modifies an activity on the fly before it is stored.

4

Enable the identifiers you need on the channel

Some device registry identifiers require channel configuration updates before tracking with them works properly on your sites. IP address capture, in particular, is activated on the channel. See Device registries.

Attaching a processing activity to a channel

To activate the privacy wall on a channel, go to Settings > Datamart > Channels and edit the channel. In the User Choices - Privacy Wall section, add the processing activity or activities that justify the capture of personal data in this channel, then save.

From that moment, for a new or existing user, when saving a UserActivity related to the channel the platform automatically checks the user's choices. If the choices are not compatible, the UserActivity is dropped.

Verify

  • Each property in your tracking plan has exactly one channel.

  • You have recorded each channel ID next to the property it represents; your tag and API integrations need it.

  • After the first data arrives, the channel listing shows a non-zero event count over the last 7 days.

Last updated

Was this helpful?