Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Ingenious Technologies offers multiple GTM tag templates, that can be used to add Ingenious tracking to your pages using the Google Tag Manager.

They simplify the tracking implementation process, making it more user-friendly than traditional coding methods. Besides ease of use, these Google Tag Manager Community Templates come with advanced features like defaults and fallbacks for enhanced accuracy.

Read on to implement and use the Ingenious Google Tag Manager Community Templates:

Before you start

First, you should be aware of what events you would like to track with conversion tracking. Usually it is leads or sales. Just make sure, the set up of your advertiser is complete (e.g. your conversion targets and other configurations are done).

Information needed in the process

Two important pieces of information are needed in the process later on:

  • advertiser id

  • tracking domain

You can find both either in your advertiser’s configuration settings or under Trail > Tracking Tags

Example:

Basics: Good to know

A tracking implementation usually means implementing two tags:

  1. the onpage tag

  2. the conversion tag

We offer GTM tags that can replace the Onpage Tag and the eCommerce Conversion Tag. These can be implemented on the client side as well as on the server side.

Downloading the template

While our GTM community templates are still in the review process and not yet in the Google Template Gallery, you can easily access and download them from our public Github repository. Once downloaded, you can seamlessly install them into your Google Tag Manager account.

Download the templates:

Do a right click with your mouse and save the template files on your computer. All are called temlate.tpl (required by GTM)

For sGTM:

Importing the template into GTM

Now import your template.tpl file to GTM.

First, go to “Templates” and click “New”

Then go to the Menue and select “Import” → now you can choose your template.tpl file to be imported.

Configuration & setup of the client-side GTM tags

Now you can configure your tags just like with any other GTM template.

All tags process data from different sources to create the tracking calls.
The sources from which the tag data is used are:

  • Variables from the tag configuration

  • First party cookies

  • DataLayer/Event data

Furthermore, default values for some variables are stored in the tag.

Setting up a variable is pretty straightforward. Here's how it works:

  • If you've already given a value in the tag settings, that's what gets used.

  • Didn't set one? No worries! The tag then checks the DataLayer for any value.

  • Still nothing? The tag simply uses its default value.

This system allows for more intricate setups and makes testing specific features a breeze.

Onpage Tracking Tag

This tag replaces the Onpage tag. If it is a click-in with a clickId parameter, this is stored in a cookie. In addition, tsc and tsv cookies are written and used in tracking requests.

Fields

Description

Default

Tracking Domain

The tracking domain can be a Third-Party Ingenious Tracking Domain, a First-Party Ingenious Tracking Domain or a GTM Serverside Domain. You can find it on the platform under "Partnerships -> Advertiser -> Settings".

Advertiser Id

You can find the advertiser ID on the platform under "Partnerships -> Advertiser -> Settings". Do not use the internal ID (mid).

Redirect Mode

Overwrites the corresponding partner-specific default setting. It controls the way in which forwardings are set up.

0

Customer Id

This specifies the internal customer ID from your system.

User Value 1

These fields are for free additional information. All formats are accepted.

User Value 2

These fields are for free additional information. All formats are accepted.

Site Id

A short description of the page.

Product Id

The unique identifier of the product. Use this, if this is a page that displays a specific product.

Timestamp

Usage for cache invalidation.

A timestamp is generated when the tag is executed.

Session Id

A session Id. The data type is string.

HTTP Referrer

The complete Browser-URL on which the user comes from.

The referrer header is used.

HTTP Location

The complete Browser-URL on which the tag was fired.

The current full URL is used.

Gdpr

Activates the general data protection regulation according to TCFv2.0

Gdpr Consent

The actual tcfv2.0 string

ECommerce Conversion Tracking Tag

This tag replaces the Ecommerce Conversion tag.

Fields

Description

Default

Tracking Domain

The tracking domain can be a Third-Party Ingenious Tracking Domain, a First-Party Ingenious Tracking Domain or a GTM Serverside Domain. You can find it on the platform under "Partnerships -> Advertiser -> Settings".

proxy.ingenious.cloud

Advertiser Id

You can find the advertiser ID on the platform under "Partnerships -> Advertiser -> Settings". Do not use the internal ID (mid).

Conversion Id

Unique conversion identifier from your system

gtmss_{currentTimestampMillis}

Conversion Target

Defines an event and its type, for example Sale, Appinstall, Newslettersignup.

sale

Tracking Currency

Determines the currency for all amounts.

Unique Id

The unique ID is used to identify conversions during the validation process.

Discount Value

This is the total net discount value. '0.00' is allowed.

Discount Code

This is the applied discount code.

Basket

The contents of the shopping cart consist of items containing the following values in JSON format

Session Id

A session Id. The data type is string.

Click Ids

A comma-separated list of click IDs.

uses _iclid Cookie

Gdpr

Activates the general data protection regulation according to TCFv2.0

Gdpr Consent

The actual tcfv2.0 string

Site Id

A short description of the conversion page.

Timestamp

Usage for cache invalidation.

Current Timestamp in Millis

HTTP Location

The complete Browser-URL on which the tag was fired.

Customer Id

This specifies the internal customer ID from your system.

Customer New

This specifies a new or existing customer. Use value 'true' for new customer or 'false' for existing customer.

Pay Method

Customer payment method, for example 'credit card' or 'paypal'.

User Value 1

These fields are for free additional information. All formats are accepted.

User Value 2

These fields are for free additional information. All formats are accepted.

Example

The picture shows an exemplary implementation of the Ingenious Tags. The Onpage Tag and the ECommerce Conversion Tag are installed on the client side. These are configured in such a way that they send their tracking requests to a server-side GTM container, which is accessible via a first party subdomain. The server-side Ingenious client receives the tracking requests and converts the requests into events. Third-party tags can be triggered by the Ingenious events. Furthermore, the Ecommerce Conversion Tag fires server-side and the Onpage Tag fires server-side and forwards the requests to the Ingenious infrastructure.

  • No labels