How to Dynamically Override Static Tool Constants in JENTIS Using Lookup Tables
When setting up server-side tracking connectors (such as Econda or Dymatrix) in JENTIS, tool constants defined at the connector settings level only accept fixed, static values per domain.
For countries with multiple official languages on the same domain (e.g., Belgium or Switzerland), a static tool constant cannot dynamically report whether a visitor is on the French, Dutch, or German version of your site.
This guide explains how to dynamically override a connector's site language constant using a Lookup Table Variable and Multi Tag Edit in the JENTIS Server Tag Manager.
Technical Overview
Instead of hardcoding the language at the connector level, you will:
Create a variable that reads the active language from the page (e.g., URL path prefix like
/fr/or/nl/).Replace the standard tool constant placeholder across all associated tags using JENTIS Multi Tag Edit.
Step-by-Step Implementation
Step 1: Create a Lookup Table Variable
Navigate to Server Tag Manager > Variables.
Click Add Variable and select Lookup Table.
Set the Input Variable to an element that identifies the active page language (e.g., URL Path, Page Language Data Layer variable, or HTML
langattribute).Configure the mapping rules:
/fr/FR/nl/NL/de/DE
Set a Default Value (e.g.,
ENorFR) for any edge cases or unmapped URL patterns.Save the variable (e.g., name it
econda_site_language).
Step 2: Replace Constant via Multi Tag Edit
To avoid manually updating every individual tag, use JENTIS Multi Tag Edit to bulk update all connector tags at once:
Navigate to Server Tag Manager > Tags.
Click Multi Tag Edit.
Select the target tool/connector (e.g., Econda / Dymatrix) and check all tags associated with it.
Locate the configuration setting/placeholder holding the default site language tool constant.
Replace the placeholder reference with your newly created Lookup Table Variable (
{{econda_site_language}}).Click Update Tags.
Step 3: Test and Publish
Open the JENTIS Preview / Debug Mode.
Navigate to different language versions of your website (e.g.,
example.be/fr/andexample.be/nl/).Verify in the tracking console that outgoing server-side requests transmit the correct dynamic language code (
FR,NL, etc.) corresponding to the active page.Publish the container workspace.
Last updated
Was this helpful?