accountvars
accountvars Property
accountvars PropertyThe accountvars property contains all constants defined in the JENTIS Tag Manager (JTM).
Purpose
These constants represent the configured values for the selected container and environment. They are predefined and maintained in the JTM and can be accessed at runtime for use in your data collection setup.
Accessing Constants
Each constant is stored under a property key that corresponds to its JENTIS internal ID, which can be found directly in the JENTIS Tag Manager interface.
Example
If a constant with the internal ID company_id has been defined in the JTM, it can be accessed like this:
const companyId = accountvars['company_id'];This allows for flexible and environment-specific variable handling within your client- or server-side tracking setup.
Last updated
Was this helpful?