Access your interface

Enter your email address to access your personal interface.

Context Flag

Updated 24 June 2026

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:

UseDescription
MonetisationCreate premium audiences to resell to advertisers
Targeted activationBid 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 value
  • cflag-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:

  1. FTP export: send the list of IDs to the buyer.
  2. In-house activation: you run the campaign on the buyer’s behalf (your tracking, their content).
  3. Connector to the buyer’s partner: you create a dedicated EPC and send the data straight to their activation partner.
  4. 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

TermDefinition
Context FlagFeature that qualifies a user’s interest in a topic based on frequency and recency.
DatalayerData layer used to pass information from the page to Eulerian or to a TMS.
Dedicated datalayerSpecific datalayer used to send the information related to the Context Flag.
cflag-keyParameter that defines the Context Flag key or category, for example content, category or keywords.
cflag-valParameter that defines the value associated with a Context Flag key, for example sport, tennis or a value from the datalayer.
Key/value pairMandatory association between a cflag-key and a cflag-val.
Multiple valuesSending several values for the same cflag-val, up to a limit of 10 values.
TMSTag Management System used to manage tags, for example GTM, Tag Commander or the Eulerian TMS.
Hard-coded tagTag added directly to the site’s source code, without going through a TMS.
Iframe / imageAlternative to the JavaScript tag, using URL parameters such as ecf0k, ecf0v, ecf1k and ecf1v.
ecf0k / ecf1kParameters used in an iframe or image to pass the Context Flag keys.
ecf0v / ecf1vParameters used in an iframe or image to pass the Context Flag values.
Real-time segmentationEngine for creating segments that can be activated in real time from Context Flag rules.
Audience EngineAudience creation engine based on a query on the ID database.
context-flagRule used in the audience engines to create a segment based on Context Flag data.
SegmentGroup of users matching one or more targeting rules.
FTP exportMethod for sending a list of IDs as a file dropped on an FTP server.
Partner connectorConnector used to send data to the buyer’s activation partner.
Dedicated EPCSpecific Eulerian environment or configuration created for a given partner or use.
SSPSupply-Side Platform used to get value from advertising inventory.
Eulerian IDIdentifier managed by Eulerian.
Partner IDIdentifier used by an activation partner.

Need help?

Setting up the Context Flag requires a dedicated datalayer. Contact Eulerian support for technical help.