Skip to main content
Skip table of contents

Google Analytics - Universal Analytics

Google Universal Analytics is the third version of formerly known tool "Urchin Analytics" that is today provided by the Alphabet Inc. company - the parent of Google and several former Google subsidiaries.

WARNING: Deprecation Message

Universal Analytics support by Google will be terminated July 2023. No data will be processed from this day on. Google recommends to migrate to GA4.

Official website: Google Universal Analytics

JENTIS - Google Analytics - Global Constants

GA Property Tracking ID

Your Google Analytics (Universal) Property Tracking ID (found in GA property settings), ie. “UA-12345-6”.

JENTIS - Google Analytics Tag Types

Currently JENTIS Tag Manager supports the following tags with Google Analytics (Universal).

S2S: Pageview

Description

JENTIS Data Layer - Default Dependencies

Sending a hit of type "pageview" to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • pageview

  • submit

Code example (do not execute or copy paste; for reference only).

JS
function pageview() {
    _jts.push({
       "track" : "pageview"
    });

    _jts.push({
        "track" : "submit"
    });
}

JavaScript

Copy

S2S: Event

Description

JENTIS Data Layer - Default Dependencies

Sending a hit of type "event" to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • event

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function ga_event() {
    _jts.push({
      "track" : "event",
      "group" : "GROUP",
      "category" : "CATEGORY",
      "label" : "LABEL",
      "numvalue" : 123,
      "name" : "NAME",
      "value" : "VALUE"
    });
}

ActionScript

Copy

S2S: User-Timing

Description

JENTIS Data Layer - Default Dependencies

Sending a hit of type "timing" to Google Analytics (User-Timing) via Measurement Protocol v1. This is based on the browser timing API (window.performance.timing).

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

There are no default dependencies defined for this tag that are required with the JENTIS data layer. Please use a custom trigger and state or default triggers from JENTIS that match your requirements.

S2S: Page-Timing

Description

JENTIS Data Layer - Default Dependencies

Sending a hit of type "timing" to Google Analytics (Page-Timing) via Measurement Protocol v1. This is based on the browser timing API (window.performance.timing).

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values. 

There are no default dependencies defined for this tag that are required with the JENTIS data layer. Please use a custom trigger and state or default triggers from JENTIS that match your requirements.

S2S: Search Result List Impression

Description

JENTIS Data Layer - Default Dependencies

Sending search result (enhanced ecommerce list view) data to Google Analytics via Measurement Protocol v1 including product data.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • pageview

  • product

  • search

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function search() {
    _jts.push({
        "track" : "pageview"
    });

    //---------------------------

    _jts.push({
        "track"     :   "product",
        "type"		:	"search",
        "id"        :   "1111111",
        "quantity"  :   1,
        "name"      :   "Product 1",
        "brutto"    :   100.00,
        "brand"     :   "Brand X",
        "group"     :   ["group1","group2"],
        "position"  :   1,
        "variant"   :   "type a"
    });

    _jts.push({
        "track"     :   "product",
        "type"		:	"search",
        "id"        :   "2222222",
        "quantity"  :   1,
        "name"      :   "Product 2",
        "brutto"    :   200.00,
        "brand"     :   "Brand Y",
        "group"     :   ["group1","group2"],
        "position"  :   1,
        "variant"   :   "type b"
    });

    //---------------------------

    _jts.push({
        "track" : "search"
    });

    _jts.push({
        "track" : "submit""
    });
}

ActionScript

Copy

S2S: Promotion Impression

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce promotion impression data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • promotion 1-n

  • promotionimpression

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function promotionimpression() {

  _jts.push({
      "track"     : "promotion",
      "type"      : "promotionimpression"
      "id"        : "1234",
      "name"      : "Promotion A",
      "position"  : "1",
      "creative"  : ""
  });

  _jts.push({
      "track"     : "promotion",
      "type"      : "promotionimpression"
      "id"        : "5678",
      "name"      : "Promotion B",
      "position"  : "2",
      "creative"  : ""
  });

  _jts.push({
      "track" : "promotionimpression"
  }, true);
    //true parameter ->
    //In this case it is identical with _jts.push({"track":"submit"})
}

ActionScript

Copy

S2S: Promotion Click

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce promotion click data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • promotionclick

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
funciton promotionclick(){

  _jts.push({
      "track" : "promotionclick",
      "id"        : "5678",
      "name"      : "Promotion B",
      "position"  : "2",
      "creative"  : ""
  });

  _jts.push({
      "track" : "submit"
  }, true);
    //true parameter ->
    //In this case it is identical with _jts.push({"track":"submit"})
}

ActionScript

Copy

S2S: Product Impression (DEPRECATED)

Description

JENTIS Data Layer - Default Dependencies

This tag will be removed beginning 2023. Please use Productlist Impression tag instead. 

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

S2S: Productlist Impression

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce productlist impression data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • pageview

  • product 1-n

  • productlist

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function productlist() {
    _jts.push({
        "track" : "pageview"
    });

    //---------------------------

    _jts.push({
        "track"     :   "product",
        "type"		:	"productlist",
        "id"        :   "1111111",
        "quantity"  :   1,
        "name"      :   "Product 1",
        "brutto"    :   100.00,
        "brand"     :   "Brand X",
        "group"     :   ["group1","group2"],
        "position"  :   1,
        "variant"   :   "type a"
    });

    _jts.push({
        "track"     :   "product",
        "type"		:	"productlist",
        "id"        :   "2222222",
        "quantity"  :   1,
        "name"      :   "Product 2",
        "brutto"    :   200.00,
        "brand"     :   "Brand Y",
        "group"     :   ["group1","group2"],
        "position"  :   1,
        "variant"   :   "type b"
    });

    //---------------------------

    _jts.push({
        "track" : "productlist",
        "name"  : "PRODUCTLIST NAME"
    });

    _jts.push({
        "track" : "submit""
    });
}

ActionScript

Copy

S2S: Productlist Click

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce product (productlist) click data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • product

  • productlistclick

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function productlistclick() {

    _jts.push({
        "track"     :   "product",
        "type"		:	"productlistclick",
        "id"        :   "1111111",
        "quantity"  :   1,
        "name"      :   "Product 1",
        "brutto"    :   100.00,
        "brand"     :   "Brand X",
        "group"     :   ["group1","group2"],
        "position"  :   1,
        "variant"   :   "type a"
    });

    //---------------------------

    _jts.push({
        "track" : "productlistclick",
        "name"  : "PRODUCTLIST NAME"
    }, true);
    //true parameter ->
    //In this case it is identical with _jts.push({"track":"submit"})
}

ActionScript

Copy

S2S: Productview

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce product impression data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • pageview

  • product 1-n

  • productview

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function productview() {
    _jts.push({
        "track" : "pageview"
    });

    //---------------------------

    _jts.push({
        "track"     :   "product",
        "type"		:	"productview",
        "id"        :   "1111111",
        "quantity"  :   1,
        "name"      :   "Product 1",
        "brutto"    :   100.00,
        "brand"     :   "Brand Y",
        "group"     :   ["group1","group2"],
        "position"  :   1,
        "variant"   :   "type a"
    });

    _jts.push({
        "track"     :   "product",
        "type"		:	"productview",
        "id"        :   "2222222",
        "quantity"  :   1,
        "name"      :   "Product 2",
        "brutto"    :   200.00,
        "brand"     :   "Brand X",
        "group"     :   ["group1","group2"],
        "position"  :   1,
        "variant"   :   "type b"
    });

    //---------------------------

    _jts.push({
        "track" : "productview"
    });

    _jts.push({
        "track" : "submit""
    });
}

ActionScript

Copy

S2S: Add-To-Cart

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce product add-to-cart data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • product

  • addtocart

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function addtocart() {

    _jts.push({
        "track"     :   "product",
        "type"		:	"addtocart",
        "id"        :   "1111111",
        "quantity"  :   2,
        "name"      :   "Product 1",
        "brutto"    :   100.00,
        "group"     :   ["group1","group2"],
        "brand"     :   "Brand X",
        "position"  :   1,
        "variant"   :   "type a"
    });

    //---------------------------

    _jts.push({
        "track" : "addtocart"
    }, true);
    //true parameter ->
    //In this case it is identical with _jts.push({"track":"submit"})
}

ActionScript

Copy

S2S: Remove-From-Cart

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce product remove-from-cart data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

There are no default dependencies defined for this tag that are required with the JENTIS data layer. Please use a custom trigger and state or default triggers from JENTIS that match your requirements.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • product

  • removefromcart

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function removefromcart() {

    _jts.push({
        "track"     :   "product",
        "type"		:	"removefromcart",
        "id"        :   "1111111",
        "quantity"  :   2,
        "name"      :   "Product 1",
        "brutto"    :   100.00,
        "group"     :   ["group1","group2"],
        "brand"     :   "Brand X",
        "position"  :   1,
        "variant"   :   "type a"
    });

    //---------------------------

    _jts.push({
        "track" : "removefromcart"
    }, true);
    //true parameter ->
    //In this case it is identical with _jts.push({"track":"submit"})

}

ActionScript

Copy

S2S: Checkout Page

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce checkout data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • pageview

  • product 1-n

  • checkout

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function checkout() {
    _jts.push({
        "track" : "pageview"
    });

    //---------------------------

    _jts.push({
        "track"     :   "product",
        "type"		:	"checkout",
        "id"        :   "1111111",
        "name"      :   "Product 1",
        "group"     :   ["group1","group2"],
        "brutto"    :   100.00,
        "netto"     :   70.10,
        "variant"   : "type a",
        "brand"     :   "Brand X",
        "quantity"  :   3,
        "position"  :   1
    });

    _jts.push({
        "track"     :   "product",
        "type"		:	"checkout",
        "id"        :   "2222222",
        "name"      :   "Product 2",
        "group"     :   ["group1","group2"],
        "brutto"    :   150.00,
        "netto"     :   110.10,
        "variant"   :   "type b",
        "brand"     :   "Brand X",
        "quantity"  :   1,
        "position"  :   2
    });

    //---------------------------

    _jts.push({
        "track"     :   "checkout",
        "step"      :   2,
        "brutto"    :   450.00,
        "paytype"   :   "creditcard"
    });

    _jts.push({
        "track" : "submit"
    });
}

ActionScript

Copy

S2S: Selected Checkout Option

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce checkout option data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • checkoutoption

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function checkoutoption(){
    _jts.push({
        "track" :   "checkoutoption",
        "key"   : "paymentmethod",
        "value" : "<<NAME OF THE PAYMENT-METHOD>>"
    }, true);
    //true parameter ->
    //In this case it is identical with _jts.push({"track":"submit"})
}

ActionScript

Copy

S2S: Order / Purchase

Description

JENTIS Data Layer - Default Dependencies

Sending enhanced ecommerce purchase data to Google Analytics via Measurement Protocol v1.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

The following default _jts push track calls are required for the default JENTIS GA4 implementation to work out of the box:

_jts.push track:

  • pagview

  • product 1-n

  • order

  • submit

Code example (do not execute or copy paste; for reference only).

ACTIONSCRIPT3
function checkout() {
    _jts.push({
        "track" : "pageview"
    });

    //---------------------------

    _jts.push({
        "track"     :   "product",
        "type"		:	"order",
        "id"        :   "1111111",
        "name"      :   "Product 1",
        "group"     :   ["group1","group2"],
        "brutto"    :   100.00,
        "netto"     :   70.10,
        "variant"   : "type a",
        "brand"     :   "Brand X",
        "quantity"  :   3,
        "position"  :   1
    });

    _jts.push({
        "track"     :   "product",
        "type"		:	"order",
        "id"        :   "2222222",
        "name"      :   "Product 2",
        "group"     :   ["group1","group2"],
        "brutto"    :   150.00,
        "netto"     :   110.10,
        "variant"   :   "type b",
        "brand"     :   "Brand X",
        "quantity"  :   1,
        "position"  :   2
    });

    //---------------------------

    _jts.push({
        "track"     :   "order",
        "orderid"   :   "abcdef123456",
        "brutto"    :   450.00,
        "shipping"  :   20.00,
        "tax"       :   40.00,
        "affiliation":  "JENTIS",
        "vouchers"  :   [
            {
                "code":     "abc123",
                "value":    10.15
            },
            {
                "code":     "def456",
                "value":    15.80
            }
        ]
    });

    _jts.push({
        "track" : "submit"
    });
}

ActionScript

Copy

S2S: Google Optimize

Description

JENTIS Data Layer - Default Dependencies

Sending data to Google Analytics in order to connect the data with Google Optimize.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • jts-ga-fe-cid, jts-ga-fe-gid cookies on a users device (client side); if either not available JENTIS will access the _ga cookie for default values.

  • _gaexp cookie value will be read (this cookie is set by Google Optimize)

There are no default dependencies defined for this tag that are required with the JENTIS data layer. Please use a custom trigger and state or default triggers from JENTIS that match your requirements.

C2S: Google Analytics Remarketing Tag

Description

JENTIS Data Layer - Default Dependencies

Sending a hit of type "event" to Google Analytics via client side third party library. This activates an external application on a users device and hence impacts the data control of your website with according legal aspects.

This tag will create the following data storages (cookies, local or session client side browser storages):

  • gtag.js library internal cookies can be set (this tag executes original source code from the third party, which gives this third party permission to access and store data on the users device)

  • jts_ga cookie will be read and written

  • jts_ga_gid cookie will be read and written

When this tag is activated a Google Analytics event with the category "jentis_remarketing" is tracked.

There are no default dependencies defined for this tag that are required with the JENTIS data layer. Please use a custom trigger and state or default triggers from JENTIS that match your requirements.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.