Client-Side Variables (Frontend)

In JENTIS DCP, any values or properties that are accessed or received on the client-side (i.e. within the website or web browser environment) are referred to as Client Side Variables. The client-side, in this context, is defined as the web application as it runs on a client's web browser. JENTIS allows you to access all of these properties through client-side variables. Each variable has an evaluated (static) value per state. You can learn more about this concept in the following section.

The first step in working with frontend variables is to define and create the type of variable.

JENTIS offers various options for selecting the type of parameter. You can choose a simple form where you only need to define the parameter name to read the value from, or you can opt for writing your own JavaScript function to return a specific value.

Template
Use Case
Description

Get First Party Cookie

Will read a value from a defined cookie name.

Source is the document.cookie browser API.

Get GTM data layer value

Read a value from the Data Layer that is defined in context of many Google Tag Manager implementations

Where the default is a global window.dataLayer object and a value can be read in that array.

Get JTM data layer value

A value to be read from a certain document property that was pushed via _jts.push

API function call. Following the general data schema of JENTIS Data Layer, a property is always to be read from a certain object (pageview, product, order, etc).

Get JavaScript variable

Click Trigger Properties

Get URL Parameter

Client-Side Lookup Table

Contextual Product Property

Client-Side Javascript Code

More types will be defined in the future; thus, the list may vary.

As those types have all individual configurations, we will look in more detail at how to configure the most common types individually in the creation process.

Last updated

Was this helpful?