Tag Manager

Exponea Tag Manager allows running custom JS codes on specific web pages without the need for accessing the source code of the webpages individually. It also allows using of Exponea personalization. One of the uses of the Tag manager can be specifying custom tracking.

Watch this short introductory video about this feature:

The tag manager supports both HTML and JS.

ūüöß

Limiting space consumption

The maximum total size of all active tags within a project is 700kb.
If your project gets over this limit, you will be not able to save/edit managed tags, because of tag error "Fail to save configuration".

To avoid getting over the maximum capacity try to avoid large number of managed tags and/or limit space consumption by avoiding the use of spaces and comments in your code.

In case you already reached this limit you will see warning in the list of managed tags.
In order to get under the limit, try to stop your largest active managed tags.

Creating a new tag

To create a new tag, go to Data & Assets > Tag manager > + Create new.

There are three steps when creating a new tag: presets, definition, and settings.

Presets

In this part, you either choose to use one of the JS templates already defined, or you can create your own code.

Presets include:

  • Change color¬†- Change the color of a button or other element in an AB test.
  • Button click -¬†Track clicks on buttons or other HTML elements as custom events.
  • Customer update -¬†Update or create new customer attribute.
  • Facebook Pixel - Track page views into FB pixel.
  • Google Ads -¬†Retarget audience in Google Ads directly on certain pages.
  • Google Analytics -¬†Track Google Analytics IDs for each customer as a customer attribute.
  • Identification -¬†Identify customers on the web page with validated email into customer ID.
  • Page element auto-track -¬†Automatically track all defined clickable elements on a web page
  • Product visit tracking -¬†Create view item event and track product visits on the web page.
  • Recommendations -¬†Implement Exponea recommendations on your web page.
  • dataLayer Helper.

Definitions

Now you can define the variables using the visual editor, or edit the JS code itself by clicking on the "edit source code" checkbox. You can also use personalization.

Settings

Here you define how the tags loaded.

Fire on

Defines URL or regex where the tag will be used. You can also select exceptions. Moreover, it is possible to load overlay, which will cause the web page selected not to be displayed until the tag is load properly.

Priority

Defines the order in which the tags will be loaded. Higher priority (bigger number) means earlier deployment. When a tag does not include any personalization or customer filter, it is sped up. When loading tags, first are loaded the sped up tags by order of priority, then the rest of the tags by order of priority.

Audience

This is a standard customer filter that allows you to specify for which customers the tags will be fired.

Updated about a month ago


Tag Manager


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.


We rely on cookies

to optimize our communication and to enhance your customer experience. By clicking on the Accept and Close button, you agree to the collection of cookies. You can also adjust your preferences by clicking on Manage Preferences. For more information please see our Privacy policy.

Manage cookies
Accept & close

Cookies preferences

Accept & close
Back