Eulerian Tag Manager (Client-side)
You create a custom tag in the Eulerian Tag Management System (TMS) from Activate > Tag management system > Add a custom tag, in one of four types: Image, Iframe, Server-to-Server or JavaScript. The type depends on the form in which the partner delivered its tag to you. You then set the rules that govern when it fires, and you can save those rules in advance to reuse them on your other tags.
Create a custom tag
Where to go: Activate > Tag management system > Add a custom tag
Enter a unique name for the tag and choose its type from: Image, Iframe, Server-to-Server or JavaScript. Also assign it a category from Eulerian Privacy Manager, a module that is active on every site.

Image and Iframe tags
You provide a single call URL, enriched with dynamic parameters through TMPL variables.
In the Tag URL field, enter the URL directly, without the HTML tags (<img />, <iframe></iframe>) or their attributes (width, height…). Always specify the protocol (http:// or https://), then replace the dynamic values with <TMPL_VAR valeur /> tags.
Some partner tags come as a JavaScript script that creates an iframe or an image dynamically. In that case, use the URL the script generates.
Example of a partner’s JavaScript code:
var key = "123456789";
var param1 = "valeur1";
var param2 = "valeur2";
var _iframe = document.createElement("iframe");
_iframe.src = "https://t.partenaire.com/?key=" + key + "¶m1=" + param1 + "¶m2=" + param2;
document.body.appendChild(_iframe);
Equivalent URL to enter in the TMS:
https://t.partenaire.com/?key=123456789¶m1=valeur1¶m2=valeur2
Tip
If the partner tag has a noscript version (image or iframe), you can add it directly as an Image or Iframe tag in the TMS, with no JavaScript to manage.
JavaScript tag
A JavaScript tag is split into blocks to fill in in the TMS, which match the common structures of partner tags depending on how they are implemented:
| Block | Role | Typical content |
|---|---|---|
| Code before loading | Runs before the partner tag is called | Variable declarations beforehand |
| JavaScript source URL | URL of the partner’s library or call | Always with http:// or https:// |
| Code after loading | Runs after the library has loaded | Functions defined in the partner’s library |
| Noscript call | Fallback URL if JavaScript is disabled | Optional |
Important
In a custom JavaScript tag, the DOM must be manipulated with the browser’s native methods: you must not use jQuery, or any similar library, to add HTML tags directly.
// FORBIDDEN
jQuery(".righter").append("<div>");
// CORRECT
var div = document.createElement("div");
jQuery(".righter").append(div);
Call rules
Once you have confirmed the creation, you can configure a first level of conditions on the calls (trigger pages, conditions…). You can refine these rules at any time from the tag’s edit screen.

Important
By default, every newly created tag is inactive: it will not fire on your site until you activate it manually.
Rule library · TMS
The rule library lets you save in advance condition rules that you can reuse in your tags’ rule editor. It saves time when setting tags up and makes things easier for less experienced colleagues.
Where to go: Activate > Connector configuration > TMS rule library
Create a rule
Click Add a new rule. The editor that opens is the same as the one in your tags’ edit screen. Configure your rule, give it a name, then save.
Reuse a rule
In the rule editor of an existing tag, add a new clause and select the Rule library option, then choose the rule you want from the list.
To fill these tags with collected data, see TMPL variables · syntax and escaping.