Skip to main content
Skip table of contents

Webgains

JENTIS - Webgains - Global Constants

Program IDThe Program ID is given by Webgains itself and should be inserted here.

JENTIS - Webgains Tag Types

Currently JENTIS Tag Manager supports the following tags with Webgains.

S2S (Twin-Server): CID Campaign Parameter Detection

DescriptionJENTIS Data Layer - Default Dependencies
This tag is searching for the URL-Parameter "cid" and is storing the value to internal JENTIS Server-Side storage for 30 days.This tag will create the following data storages (cookies, local or session client side browser storages):
  • no data is explicitly stored or read on a users device (client side) specifically with this tag
The following JENTIS Data Layer _jts push track calls are required for the default JENTIS implementation to work out of the box:
_jts.push track:
  • pageview
  • submit
Code example (do not execute or copy paste; for reference only).
function pageview() {
    _jts.push({
       "track" : "pageview"
    });
    _jts.push({
        "track" : "submit"
    });
}

S2S (Twin-Server): Conversion / Order

Webgains - Voucher Values
Webgains supports three different types of orders:
  • Orders without voucher usage
    • property vouchers will be an empty array
  • Orders with voucher usage from type percent
    • The order.brutto value must be reduced by the amount of the voucher
    • The used voucher must be given into the property vouchers on the order-tracking and must have the type percent
  • Orders with voucher usage from type coupon
    • The order.brutto value must be reduced by the amount of the voucher
    • The used voucher must be given into the property vouchers on the order-tracking and must have the type coupon

The invidivual product price will be automatically adapted, depending on the voucher tracked on the order-command!

Additionally, vouchers can be added to the product-level! See Examples below!



DescriptionJENTIS Data Layer - Default Dependencies
Sending a conversion/order to webgains including the previously extracted URL-Parameter cid.This tag will create the following data storages (cookies, local or session client side browser storages):
  • no data is explicitly stored or read on a users device (client side) specifically with this tag
The following JENTIS Data Layer _jts push track calls are required for the default JENTIS implementation to work out of the box:
_jts.push track:
  • pageview
  • product 1-n
  • order
  • submit 
Code example (do not execute or copy paste; for reference only).
Example for voucher with type percent:
_jts.push({
          "track" : "pageview"
      });

      _jts.push({
          "track"     :   "product",
          "type"        :   "order",
          "id"        :   "1111",
          "name"      :   "SOCKS",
          "group"     :   ["Small Sortiment","Baby"],
          "brutto"    :   10.00,
          "netto"     :   1.90,
          "oldbrutto" :   1.00,
          "oldnetto"  :   1.00,
          "brand"     :   "Milka",
          "quantity"  :   1,
          "position"  :   1
      });

    

      _jts.push({
          "track"     :   "product",
          "type"        :   "order",
          "id"        :   "2222222",
          "name"      :   "T-Shirt",
          "group"     :   ["Small Sortiment","Baby"],
          "brutto"    :   49.00,
          "netto"     :   110.90,
          "oldbrutto" :   150.00,
          "oldnetto"  :   140.00,
          "brand"     :   "Milka",
          "quantity"  :   1,
          "position"  :   2
      });

      _jts.push({
          "track" : "order",
          "orderid"   :   "12345666",
          "brutto"    :   53.10,
          "netto"     :   170.99,
          "tax"       :   40.00,
          "shipping"  :   20.00,
          "zip"       :   "2273",
          "city"      :   "Hohenau an der March",
          "country"   :   "Austria",
          "paytype"   :   "creditcard",
          "vouchers"  :   [
              {
                  "code":     "edc123",
                  "value":    10,
                  "type":     "percent",
                  "appliedAmount" : 5.90,
                  "name":     "Coupon-2018"
              }
          ]
      });

      _jts.push({
          "track" : "submit"
      });
Example for voucher type coupon:
_jts.push({
          "track" : "pageview"
      });

      _jts.push({
          "track"     :   "product",
          "type"        :   "order",
          "id"        :   "1111",
          "name"      :   "SOCKS",
          "group"     :   ["Small Sortiment","Baby"],
          "brutto"    :   10.00,
          "netto"     :   1.90,
          "oldbrutto" :   1.00,
          "oldnetto"  :   1.00,
          "brand"     :   "Milka",
          "quantity"  :   1,
          "position"  :   1
      });

    

      _jts.push({
          "track"     :   "product",
          "type"        :   "order",
          "id"        :   "2222222",
          "name"      :   "T-Shirt",
          "group"     :   ["Small Sortiment","Baby"],
          "brutto"    :   49.00,
          "netto"     :   110.90,
          "oldbrutto" :   150.00,
          "oldnetto"  :   140.00,
          "brand"     :   "Milka",
          "quantity"  :   1,
          "position"  :   2
      });

      _jts.push({
          "track" : "order",
          "orderid"   :   "12345666",
          "brutto"    :   56.50,
          "netto"     :   170.99,
          "tax"       :   40.00,
          "shipping"  :   20.00,
          "zip"       :   "2273",
          "city"      :   "Hohenau an der March",
          "country"   :   "Austria",
          "paytype"   :   "creditcard",
          "vouchers"  :   [
              {
                  "code":     "edc123",
                  "value":    2.50,
                  "type":     "coupon",
                  "appliedAmount" : 2.50,
                  "name":     "Coupon-2018"
              }
          ]
      });

      _jts.push({
          "track" : "submit"
      });
Example with product used voucher:
_jts.push({
          "track" : "pageview"
      });

      _jts.push({
          "track"     :   "product",
          "type"        :   "order",
          "id"        :   "1111",
          "name"      :   "SOCKS",
          "group"     :   ["Small Sortiment","Baby"],
          "brutto"    :   10.00,
          "netto"     :   1.90,
          "oldbrutto" :   1.00,
          "oldnetto"  :   1.00,
          "brand"     :   "Milka",
          "quantity"  :   1,
          "position"  :   1
      });

    

      _jts.push({
          "track"     :   "product",
          "type"        :   "order",
          "id"        :   "2222222",
          "name"      :   "T-Shirt",
          "group"     :   ["Small Sortiment","Baby"],
          "brutto"    :   46.50,
          "netto"     :   110.90,
          "oldbrutto" :   150.00,
          "oldnetto"  :   140.00,
          "brand"     :   "Milka",
          "quantity"  :   1,
          "position"  :   2,
          "vouchers" : [
            {
                  "code":     "PRODUCT123REDUCE250",
                  "value":    2.50,
                  "type":     "coupon",
                  "appliedAmount" : 2.50,
                  "name":     "Coupon-2018"
            }
          ]
      });

      _jts.push({
          "track" : "order",
          "orderid"   :   "12345666",
          "brutto"    :   56.50,
          "netto"     :   170.99,
          "tax"       :   40.00,
          "shipping"  :   20.00,
          "zip"       :   "2273",
          "city"      :   "Hohenau an der March",
          "country"   :   "Austria",
          "paytype"   :   "creditcard",
          "vouchers"  :   [
              {
                  "code":     "edc123",
                  "value":    2.50,
                  "type":     "coupon",
                  "appliedAmount" : 2.50,
                  "name":     "Coupon-2018"
              }
          ]
      });

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



JavaScript errors detected

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

If this problem persists, please contact our support.