Context Flag
The Context Flag qualifies a user’s appetite for a given topic, based on two criteria:
- Frequency · how many times the user has viewed this type of content
- Recency · how long ago
In practice, you tag your pages with topics (e.g. sport > tennis, travel > Asia), and Eulerian automatically associates them with user profiles. You can then create precise segments based on this data.
Why use it?
Eulerian’s standard datalayer cannot qualify visit frequency and recency by topic in fine detail. The Context Flag fills that gap.
Two main use cases:
| Use | Description |
|---|---|
| Monetisation | Create premium audiences to resell to advertisers |
| Targeted activation | Bid higher on a user with a strong appetite |
How does it work?
The Context Flag relies on a dedicated datalayer, separate from that of the standard Eulerian tags, with two parameters:
cflag-key, the key (topic category), static valuecflag-val, the associated value, dynamic value
These two parameters always go in pairs. You can declare several per page.
Example · a sport / tennis page
JS tag:
EA_push([
"cflag-key",
"content",
"cflag-val",
"sport",
"cflag-key",
"category",
"cflag-val",
"tennis",
]);
Iframe or image:
ecf0k=content&ecf0v=sport&ecf1k=category&ecf1v=tennis
Multiple values
cflag-val accepts up to 10 values as an array:
EA_push(["cflag-key", "keywords", "cflag-val", ["sport", "tennis"]]);
Important
The comma
,is a reserved separator. If a value contains a comma, replace it with%20.
Setting it up
Step 1 · Define your taxonomy
Before touching the code, define your categories and sub-categories. An example for a lifestyle publisher:
Vêtements
├── Robes
├── Chaussures
└── Bijoux
Voyage
├── Amérique du Sud
├── Asie
└── Europe
Step 2 · Update the Eulerian tag
The configuration depends on your integration:
With a TMS (GTM, Tag Commander, Eulerian TMS):
EA_push([
"cflag-key",
"content",
"cflag-val",
dataLayer.content,
"cflag-key",
"category",
"cflag-val",
dataLayer.category,
]);
// Iframe
ecf0k=content&ecf0v=dataLayer.content&ecf1k=category&ecf1v=dataLayer.category
Hard-coded tag:
EA_push([
"cflag-key",
"content",
"cflag-val",
"sport",
"cflag-key",
"category",
"cflag-val",
"tennis",
]);
// Iframe
ecf0k=content&ecf0v=sport&ecf1k=category&ecf1v=tennis
Step 3 · Check the data collected
Once it is in place, find your keys and values in the interface: Context Flags
Creating a Context Flag audience
The Context Flag is available in two engines:
- Real-time segmentation
- Audience Engine (query on the ID database)
In both cases, select the context-flag rule, choose your category, then refine with frequency and recency.
Example: to target the hottest users on the clothing topic → high frequency + short recency.
Monetising a qualified audience
Once your audience is ready, there are 4 options:
- FTP export: send the list of IDs to the buyer.
- In-house activation: you run the campaign on the buyer’s behalf (your tracking, their content).
- Connector to the buyer’s partner: you create a dedicated EPC and send the data straight to their activation partner.
- Sending to the SSP: to get more value from your advertising inventory.
For option 3, you need to know the buyer’s activation partner: Eulerian sends the partner’s IDs, not Eulerian IDs.
Important
Eulerian does not offer a marketplace and does not monetise data. It is up to the Eulerian customer to manage the relationship with the advertiser or partner.
Technical glossary
| Term | Definition |
|---|---|
| Context Flag | Feature that qualifies a user’s interest in a topic based on frequency and recency. |
| Datalayer | Data layer used to pass information from the page to Eulerian or to a TMS. |
| Dedicated datalayer | Specific datalayer used to send the information related to the Context Flag. |
cflag-key | Parameter that defines the Context Flag key or category, for example content, category or keywords. |
cflag-val | Parameter that defines the value associated with a Context Flag key, for example sport, tennis or a value from the datalayer. |
| Key/value pair | Mandatory association between a cflag-key and a cflag-val. |
| Multiple values | Sending several values for the same cflag-val, up to a limit of 10 values. |
| TMS | Tag Management System used to manage tags, for example GTM, Tag Commander or the Eulerian TMS. |
| Hard-coded tag | Tag added directly to the site’s source code, without going through a TMS. |
| Iframe / image | Alternative to the JavaScript tag, using URL parameters such as ecf0k, ecf0v, ecf1k and ecf1v. |
ecf0k / ecf1k | Parameters used in an iframe or image to pass the Context Flag keys. |
ecf0v / ecf1v | Parameters used in an iframe or image to pass the Context Flag values. |
| Real-time segmentation | Engine for creating segments that can be activated in real time from Context Flag rules. |
| Audience Engine | Audience creation engine based on a query on the ID database. |
context-flag | Rule used in the audience engines to create a segment based on Context Flag data. |
| Segment | Group of users matching one or more targeting rules. |
| FTP export | Method for sending a list of IDs as a file dropped on an FTP server. |
| Partner connector | Connector used to send data to the buyer’s activation partner. |
| Dedicated EPC | Specific Eulerian environment or configuration created for a given partner or use. |
| SSP | Supply-Side Platform used to get value from advertising inventory. |
| Eulerian ID | Identifier managed by Eulerian. |
| Partner ID | Identifier used by an activation partner. |
Need help?
Setting up the Context Flag requires a dedicated datalayer. Contact Eulerian support for technical help.