Access your interface

Enter your email address to access your personal interface.

Generic implementation guide for the Eulerian server-side web tagging plan

Updated 5 October 2026

The Eulerian Measurement Protocol lets you send analytics data directly from your Server-Side container (sGTM, sTealium) to Eulerian Analytics (see The server-side solution recommended by Eulerian).

Important

Before moving to server-side tagging, make sure you do not need the client-side features (identity synchronisation, heatmap, etc.), because server calls cannot run scripts on the client side.

1 · Setting up the measurement protocol

1.1 · Request structure

Data is sent through HTTP POST or GET requests to the Eulerian tracking server.

The URL format is as follows:

https://TRACKING_HOSTNAME/TYPE/WEBSITE_NAME/

Example for a site named demo-site with the tracking server dem.eulerian.net:

https://dem.eulerian.net/collector/demo-site/
  • Recommended: use POST, which lets you send more data.
  • Alternative: use GET if POST is not possible.

Example · POST request:

User-Agent: Mozilla/5.0
POST https://dem.eulerian.net/collector/demo-site/
Body: key1=val1&key2=val2

Example · GET request:

GET /collector/demo-site?key1=val1&key2=val2 HTTP/1.1
Host: dem.eulerian.net
User-Agent: Mozilla/5.0

Note

If you use a custom library that may be identified as a bot (such as cURL or wget), the call will not be recorded. So provide a specific user-agent, or a standard one, to replace your client library’s default, so that the call can go through. (e.g. Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0)

1.2 · Response codes

  • 2xx: request received successfully.
  • Other: check and fix the error before trying again.

An HTTP 2xx response means Eulerian received the request. It does not guarantee that the payload is well formed or that all the data sent is usable.

You therefore need to validate the quality of the data collected in Eulerian’s checking or testing tools, not just from the HTTP response code.

2 · Data to send

Data sent to Eulerian must be UTF-8 and URL-encoded as key-value pairs (param1=val1&param2=val2).

For example, to send the key urlp with the value /my page €:

urlp=%2Fmy%20page%20%E2%82%AC

2.1 · User identification

These parameters must be present in every hit to keep the user’s identity throughout their browsing.

NameParameterDescriptionDefault valueRequiredExample
Device IDeuidlThe user’s anonymous cross-session identifier. Do not use etuix as the value.n/aYesd213be2e-053f-4bfb-9c32-1bd6efb5687e
Customer IDuidKnown customer identifiern/aNocustomer123
Hashed emaileemailThe user’s email, hashed (SHA-256)n/aNo6d13c014fedf2dd6100320a05c1a46b7...
User profileprofileProfile attached to the usern/aNovisitor

Note

The value is checked on every call against ^[a-zA-Z0-9+#@_!=:.-]{4,64}$, and a uid that does not match it is ignored without any error. The details and consequences are in the native parameters of the web collector.

2.2 · Replay parameters

These parameters pass on the client’s actual data rather than the server’s.

NameParameterDescriptionDefault valueRequiredExample
Hit timestampereplay-timeUnix timestamp at which the hit was recordedCurrent time of the collection serverYes1599210524
Client IPereplay-ipThe client’s IP address. If missing, geographic resolution is affected.IP of the server generating the hitYes12.236.2.65
Client User-Agentereplay-uaThe client’s User-Agent. If missing, device resolution and filtering are affected.n/aYes, unless ereplay-mdevicetype is setMozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
Client device typeereplay-mdevicetypeDevice type to set manually if ereplay-ua cannot be providedn/aYes, unless ereplay-ua is setDesktop Phone Tablet Tv AppnativeAndroidphone AppnativeIOSphone

Consent parameters must be present in 100% of the calls sent to Eulerian. Make sure the consent manager configured for the target site is the right one.

NameParameterDescriptionDefault valueRequiredExample
TCFv2 consentgdpr_consentFull TCFv2 string as defined in the TCF frameworkn/aYes, unless pmcat is presentCPjTJ1aPjTJ1aOhAAAENCZCgAAAA...
Forbidden categoriespmcatCategories disabled for the user (same IDs as in the interface)n/aYes, unless gdpr_consent is present89-5-3
Allow all categoriespmcat=-Allows every available category. The value must be -.n/aNo-
Disable consent managementenoepmIf set to 1, disables consent management and collects all datan/aNo1

3 · Implementing the tagging plan

All the parameters in sections 3.2 to 3.7 must go in the same call, alongside the generic parameters of section 3.1.

3.1 · Generic tracking · all pages

NameParameterDescriptionDefault valueRequiredExample
Page URLurlFull URL (document location) of the current pagen/aYeshttps://www.eulerian.com/page/to/awesome/content
Page nameurlpCustom page name when the URL is not descriptive enoughn/aNo/page/to/awesome/content
Page grouppggrpGrouping by page type. Can also be configured directly in the Eulerian interface.n/aNoFAQ
Page labelspglbl5 labels at most per page, separated by commas. The order matters and must be kept the same on every page.n/aNosport,football,madrid
ReferrerrfSource URL, mainly used for SEO attributionn/aYeshttps://www.bing.com/query?kw=eulerian
Screen resolutionssResolution of the client’s screenn/aNo1920x1080
Colour depthsdColour depth of the screenn/aNo24

3.2 · Tracking traffic sources for attribution

Traffic sources are passed through the parameters present on the landing page. The full URL including the tracking parameters must be provided in the url parameter.

NameParameterDescriptionDefault valueRequiredExample
Campaign parametersparam1, param2, ...Eulerian, Google Analytics or other ad tracking parametersn/aYesparam1=abc&param2=xyz

3.3 · Tracking conversions

Eulerian supports three types of transaction: order (sale), estimate (quote / lead), scart (basket summary).

Important

These three parameters are mutually exclusive: only one can be set to 1 per request.

NameParameterDescriptionDefault valueRequiredExample
Transaction IDrefUnique identifier of the transactionNoneYes (order or estimate)518fbb68-707e-4baa-ab46-de3499786751
Transaction amountamountTotal revenue including delivery charges and taxes0Yes (order or estimate)321.32
OrderorderSet to 1 to indicate a sale. Exclusive with estimate and scart.0Yes (if sale)1
QuoteestimateSet to 1 to indicate a quote or lead. Exclusive with order and scart.0Yes (if quote)1
Basket summaryscartSet to 1 to indicate a basket has been created. Exclusive with order and estimate.n/aYes (if basket)1
Basket cumulationsccumulSet to 0 when a basket summary is createdn/aYes (if scart)0
Conversion statusstatusStatus of the transactionPENDINGYes (order or estimate)VALID PENDING INVALID
Conversion typetypeType of order or estimateNoneNocode-promo
Payment methodpaymentPayment method usedNoneNoPaypal
MarginmarginValue of the margin on the transactionNoneNo29.00

Good practice

  • Make sure only one of order, estimate and scart is set to 1
  • Check that the transaction ID (ref) is unique for each order
  • Include the product loops (see 3.4)

3.4 · Tracking products

A call without conversion parameters that contains a single product reference is identified as a product page.

Product parameters use an index <productIndex> starting at 0, so you can send several products in the same call.

NameParameterDescriptionDefault valueRequiredExample
Product reference (SKU)prdr<productIndex>The product’s SKU referencen/aYesprdr0=123456
Product nameprdn<productIndex>Name of the productn/aYesprdn0=my-blue-shoes
Product priceprda<productIndex>Unit price. Required for scart, estimate and order calls.n/aYes (if prdr provided)prda0=199.00
Quantityprdq<productIndex>Product quantity. Required for scart, estimate and order calls.n/aYes (if prdr provided)prdq0=2
Product groupprdg<productIndex>Product group or category. Lets you set a margin rate per group.n/aNoprdg0=shoes
Custom parameter keyprdp<productIndex>k<productParamIndex>Key of a custom parameter for the productn/aNoprdp0k0=marque
Custom parameter valueprdp<productIndex>d<productParamIndex>Value of the custom parametern/aNoprdp0d0=jordan

3.5 · Tracking internal search engine queries

NameParameterDescriptionDefault valueRequiredExample
Engine nameeiseName of the internal search enginen/aYes (if search page)eise=mon-moteur-interne
Number of resultseisrNumber of results returned for the queryn/aNoeisr=13
Search parameter keyeisk<index>Key of the search parametern/aYes (if search page)eisk0=arrivee
Search parameter valueeisd<index>Value of the search parametern/aYes (if search page)eisd0=bordeaux

3.6 · Advanced tracking of browsing journeys

NameParameterDescriptionDefault valueRequiredExample
Subkey2custom_paramMain traffic segmentation keyn/aNoaudience intentionnelle

3.7 · Tracking events

These parameters must be included in every event request. Indexes start at 0.

NameParameterDescriptionDefault valueRequiredExample
Action nameactn<index>Name of the action firedn/aYes (if action)actn0=utilisateur_loggué
Action modeactm<index>Building closed funnels. Do not use for simple event counting.outNoactm0=in actm0=out
Action labelactl<index>One or more labels (max. 5) attached to the actionn/aNoactl0=label1,label2,,,label5
Unique referenceactr<index>Unique reference for the action, stored in dataminingn/aNoactr0=ref-action
Parameter keyactp<index>n<index>Key of a parameter attached to the actionn/aNoactp0n0=brochure
Parameter valueactp<index>v<index>Value of the parameter attached to the actionn/aNoactp0v0=formation-finance
Parameter typeactp<index>f<index>Declares that the parameter has a finite number of values. Needed to store the values in Eulerian.1Noactp0f0=1

3.8 · Custom dimensions and user segments

Any custom parameter can be added freely to the call in the form key=value. These parameters can then be declared as Custom Dimensions or User Segments in the Eulerian interface.

mon_param=ma_valeur&autre_param=autre_valeur

3.9 · Common app parameters (apps)

NameParameterDescriptionDefault valueRequiredExample
OS versioneosOperating system version, used for device filteringn/aYeseos=android4.4.4
HardwareehwHardware name, used for device filteringn/aYesehw=lge nexus 4
App nameea-appnameName or bundle ID of the appn/aYesea-appname=com.eulerian.app
App versionea-appversionApp version (increments the upgrade KPIs)n/aYesea-appversion=3.4
App attributionea-uid-lookupSet to 1 on first launch to trigger attribution handling0Noea-uid-lookup=1
App already installedea-appinstalledSet to 1 if the app was already installed before this tracking setup0Noea-appinstalled=1

3.10 · Android app parameters

NameParameterDescriptionDefault valueRequiredExample
Android ADIDea-android-adidAndroid advertising identifier for attribution and retargetingn/aYesea-android-adid=da5d6573-6f9c-4085-8dd0-32f3b773294b
Android Refererea-android-refererUUID used for cross-device on a clickn/aYesea-android-referer=dc8e5a5d-d78a-4e84-8bec-5ad8f649c652
Android opt-outea-android-islatLimits tracking for the euidl providedn/aYesea-android-islat=1

3.11 · iOS app parameters

NameParameterDescriptionDefault valueRequiredExample
iOS IDFAea-ios-idfaiOS advertising identifier for attribution and retargetingn/aYesea-ios-idfa=da5d6573-6f9c-4085-8dd0-32f3b773294b
iOS IDFVea-ios-idfviOS vendor identifier for attributionn/aYesea-ios-idfv=da5d6573-6f9c-4085-8dd0-32f3b773294b
iOS opt-outea-ios-islatLimits tracking for the euidl providedn/aYesea-ios-islat=1

3.12 · Webview

NameParameterDescriptionDefault valueRequiredExample
Bypass Visitor IDea-euidl-bypassPasses the native euidl to the webview to keep identity continuous between the native environment and the webviewn/aYes (if webview)ea-euidl-bypass=da5d6573-6f9c-4085-8dd0-32f3b773294b
Device typeedevForces the device type to ensure correct filtering. Useful in a webview or on mobile.n/aYes (if webview or smartphone)edev=AppnativeIOSphone edev=AppnativeAndroidphone

The device type is not case-sensitive, here as in ereplay-mdevicetype (section 2.2): AppnativeIOSphone and APPNATIVEIOSPHONE are the same value.

4 · Sample tags

Parameters marked with a * are required. Mobile parameters (Android / iOS) are to be added on top of the Web parameters for each tag.

4.1 · Parameters common to all tags

These parameters must be present in every call, whatever the type of tag.

https://[TRACKING_HOSTNAME]/collector/[WEBSITE_NAME]/[*RANDOM*]?
&ereplay-ip=[*IP_CLIENT]
&ereplay-ua=[*USER-AGENT]
&ereplay-mdevicetype=[DEVICE_TYPE]   // only if ereplay-ua is not available
&ereplay-time=[*TIMESTAMP_UNIX]
&gdpr_consent=[*CONSENT_STRING_TCFV2]
&euidl=[*VISITOR_ID]
&url=[*PAGE_URL]
&urlp=[PAGE_NAME]
&pggrp=[PAGE_GROUP]
&rf=[REFERRER]
&ss=[SCREEN_RESOLUTION]
&sd=[SCREEN_COLOR_DEPTH]
&eemail=[EMAIL_HASH_SHA256]
&uid=[CUSTOMER_ID]
&language=[USER_LANGUAGE]
&country=[USER_COUNTRY]

4.2 · Common mobile parameters

To be added on top of the Web parameters for any tag fired in a mobile app.

Android:

&eos=[*OS_VERSION]
&ehw=[*DEVICE_HARDWARE]
&ea-appname=[*APP_BUNDLE_ID]
&ea-appversion=[*APP_VERSION]
&ea-appinstalled=[1]              // if the app was already installed before this setup
&ea-uid-lookup=[1]                // on first launch only
&edev=[*AppnativeAndroidphone|AppnativeAndroidtablet]
&ea-android-adid=[*ANDROID_ADID]
&ea-android-referer=[*ANDROID_UUID]

iOS:

&eos=[*OS_VERSION]
&ehw=[*DEVICE_HARDWARE]
&ea-appname=[*APP_BUNDLE_ID]
&ea-appversion=[*APP_VERSION]
&ea-appinstalled=[1]              // if the app was already installed before this setup
&ea-uid-lookup=[1]                // on first launch only
&edev=[*AppnativeIOSphone|AppnativeIOStablet]
&ea-ios-idfa=[*IDFA]
&ea-ios-idfv=[*IDFV]

4.3 · Generic tag

Purpose: count page views on every page that has no specific tag.

Trigger: when each generic page loads.

Note

In a conversion funnel, fire only one tag per step, with a unique urlp per page: urlp=tunnel_conversion_etape_1, urlp=tunnel_conversion_etape_2, etc.

https://[TRACKING_HOSTNAME]/collector/[WEBSITE_NAME]/[*RANDOM*]?
// --- Common parameters (see above) ---

No specific parameter: the generic tag relies solely on the common parameters.

4.4 · Product tag

Purpose: count product page views and collect the associated product data.

Trigger: when any page containing an identified product loads (product page, product modal, etc.).

Note

The prdr0 parameter (product reference) is required for Eulerian to recognise the tag as a product tag.

// --- Common parameters (see above) ---
&prdr0=[*PRODUCT_REF]

4.5 · Internal search engine tag

Purpose: send to Eulerian the queries made in the internal search engine.

Trigger: when the results page loads, after a query is submitted.

The eisk<index> / eisd<index> pairs must always be used together and can be repeated to send several search criteria.

// --- Common parameters (see above) ---
&eise=[*SEARCH_ENGINE_NAME]
&eisr=[*NB_RESULTS]
&eisk0=[SEARCH_KEY_0]
&eisd0=[SEARCH_VALUE_0]
&eisk1=[SEARCH_KEY_1]             // repeat if there are several criteria
&eisd1=[SEARCH_VALUE_1]

Example · search engine on the home page:

&eise=moteur_home
&eisr=11
&eisk0=champ_recherche_destination
&eisd0=paris

Example · train search engine:

&eise=moteur_recherche_train
&eisr=11
&eisk0=champ_recherche_ville_depart
&eisd0=lyon
&eisk1=champ_recherche_gare
&eisd1=gare_de_lyon

4.6 · Quote tag (estimate)

Purpose: measure the conversion of a visitor into a lead after a quote or option is submitted.

Trigger: when the user submits the quote.

Note

When a quote is accepted and becomes a real sale, a separate sale tag must fire (without estimate=1). No technical link is needed between the two tags.

// --- Common parameters (see above) ---
&estimate=1
&ref=[*REF_DEVIS]
&amount=[*MONTANT_DEVIS]

4.7 · Basket tag (scart)

Purpose: count the start of a basket, measure conversion and abandonment rates, and collect the details of its contents.

Trigger: when the basket page loads, as soon as the user reaches that step.

Note

Always start each product with prdr<productIndex>. Custom product parameters (prdp) let you enrich each segment with its business attributes.

Multi-product example:

&prdr0=ref_product1
&prdn0=nom_product1
&prda0=10
&prdr1=ref_product2
&prdn1=nom_product2
&prda1=123

Full tag:

// --- Common parameters (see above) ---
&scart=1
&sccumul=0
&prix_total=[PRIX_TOTAL]

// Product 0 (repeat the block, incrementing the index for each product)
&prdr0=[*PRODUCT_REF]
&prdg0=[PRODUCT_GROUP]
&prda0=[PRODUCT_PRICE]
&prdp0k0=nom_transporteur
&prdp0d0=[VALUE]
&prdp0k1=prix_transporteur
&prdp0d1=[VALUE]
&prdp0k2=type_trajet
&prdp0d2=[VALUE]
&prdp0k3=code_gare_origine
&prdp0d3=[VALUE]
&prdp0k4=label_gare_origine
&prdp0d4=[VALUE]
&prdp0k5=code_ville_origine
&prdp0d5=[VALUE]
&prdp0k6=label_ville_origine
&prdp0d6=[VALUE]
&prdp0k7=code_gare_destination
&prdp0d7=[VALUE]
&prdp0k8=label_gare_destination
&prdp0d8=[VALUE]
&prdp0k9=code_ville_destination
&prdp0d9=[VALUE]

4.8 · Sale tag (order)

Purpose: measure final conversions (confirmed purchases) and collect the transaction information.

Trigger: when the purchase confirmation page loads (thank you page).

Note

ref and amount are required. The product structure is the same as in the basket tag.

// --- Common parameters (see above) ---
&order=1
&ref=[*PURCHASE_ID]
&amount=[*TOTAL_PRICE]
&type=[TYPE_DE_VENTE]
&payment=[PAYMENT_MODE]
&status=[VALID|INVALID|PENDING]

// Product 0 (same structure as the basket tag)
&prdr0=[*PRODUCT_REF]
&prdg0=[PRODUCT_GROUP]
&prda0=[PRODUCT_PRICE]
&prdp0k0=nom_transporteur
&prdp0d0=[VALUE]
// ... (same prdp parameters as the basket tag)

// Custom parameters (as in the basket tag)
&duree_sejour=[VALUE]
&date_depart=[VALUE]
// ...

4.9 · Action tag (events)

Purpose: measure user interactions · clicks, gestures, push notifications, modals closed, etc.

Trigger: immediately after an action has actually been carried out (not on hover).

Note

enopagedt=1 is required to show that this is not a page view. Several actions can be sent in the same call by repeating the indexes.

Index structure:

  • <index-action>: one action = one index (0, 1, 2…)
  • <index-parametre>: parameters are indexed independently for each action

Example · search engine action:

&actn0=moteur-recherche-destination
&actl0=mon_label1,mon_label2,,,mon_label5
&actp0n0=ville-depart
&actp0v0=paris
&actp0n1=ville-destination
&actp0v1=lyon

Example · several actions in the same call:

&actn0=action1
&actl0=label1,,label3,,label5
&actn1=action2
&actl1=label1
&actn2=action3
&actl2=,,label3,,label5

Generic action tag · Web:

// --- Common parameters (see above) ---
&enopagedt=1
&actn<index>=[*NOM_ACTION]
&actl<index>=[label1,label2,label3,label4,label5]
&actp<index-action>n<index-param>=[CLÉ_PARAM]
&actp<index-action>v<index-param>=[VALEUR_PARAM]

Search engine action tag · Web:

// --- Common parameters (see above) ---
&enopagedt=1
&actn0=[*NOM_MOTEUR_RECHERCHE]
&actl0=[label1,label2,label3,label4,label5]
&actp0n0=[CHAMP_RECHERCHE_0]
&actp0v0=[VALEUR_RECHERCHE_0]
&actp0n1=[CHAMP_RECHERCHE_1]
&actp0v1=[VALEUR_RECHERCHE_1]

5 · Further technical information

5.1 · Cache busting

For GET calls, we recommend adding a cache-busting mechanism to stop collection requests from being cached.

There are two ways to do it:

  • add a random value as the last part of the path;
  • add the ea-rnd parameter with a unique or random value.

Example:

https://<tracking-domain>/collector/<site>/<random-value>

or

https://<tracking-domain>/collector/<site>?ea-rnd=<random-value>

5.2 · Request size limits

For POST calls, the body must contain a single URL-encoded payload. The maximum body size is 8192 bytes.

For GET calls, the full URL must not exceed 8000 bytes.

If you have a large amount of data to send, POST is recommended.

5.3 · Checking the payload before going live

Eulerian can return a 2xx code even if some parameters are missing, misnamed or badly formatted.

Before going live, check in particular:

  • the collection domain used;
  • the site name;
  • the required parameters;
  • the encoding of the values;
  • the presence of a user identifier where one is required;
  • the consistency of the consent parameters;
  • that the expected conversions, products and events come through correctly.

5.4 · Reference documentation

For advanced implementations or specific cases, refer to the full documentation of the Eulerian Measurement Protocol.