Tag Manager API – Tag-Wörterbuch-Referenz

In diesem Dokument werden die Parameter beschrieben, die für Google Tag Manager-Tags festgelegt werden können.

Einführung

Jedes Google Tag Manager-Tag hat einen type-Code zur Identifizierung des Tags. Außerdem haben die meisten Tags Parameter (key-, type-Paare), die Sie beim Erstellen oder Aktualisieren eines Tags als Teil eines „Parameterobjekts“ festlegen können. Weitere Informationen zum Festlegen dieser Parameter mit einem Parameterobjekt finden Sie in der Parameterreferenz.

Im Rest dieses Dokuments finden Sie Details zu allen unterstützten Tags für Web und Mobilgeräte.

Web-Tags

Benutzerdefiniertes HTML-Tag

Code eingeben

html

Parameter
Schlüssel Typ
html template
convertJsValuesToExpressions boolean
usePostscribe boolean
Beispiel
{
  "liveOnly": false,
  "name": "Sample Custom HTML",
  "parameter": [
    {
      "key": "html",
      "type": "template",
      "value": "<script>alert('hello world')</script>"
    },
    {
      "key": "convertJsValuesToExpressions",
      "type": "boolean",
      "value": "true"
    },
    {
      "key": "usePostscribe",
      "type": "boolean",
      "value": "false"
    }
  ],
  "type": "html"
}

Benutzerdefiniertes Bild-Tag

Code eingeben

img

Parameter
Schlüssel Typ
useCacheBuster boolean
url template
cacheBusterQueryParam template
Beispiel
{
  "liveOnly": false,
  "name": "Sample Custom Image Tag",
  "parameter": [
    {
      "key": "useCacheBuster",
      "type": "boolean",
      "value": "true"
    },
    {
      "key": "url",
      "type": "template",
      "value": "//{{a}}"
    },
    {
      "key": "cacheBusterQueryParam",
      "type": "template",
      "value": "gtmcb"
    }
  ],
  "type": "img"
}

Ereignis-Listener

Link-Klick-Listener

Code eingeben

lcl

Parameter
Schlüssel Typ Hinweise
checkValidation boolean
waitForTags boolean
waitForTagsTimeout template Anzahl der Millisekunden.
Geben Sie an, wann waitForTags=true.
Beispiel
{
   "name": "Sample Link Click Listener",
   "liveOnly": false,
   "parameter": [
    {
     "type": "boolean",
     "key": "waitForTags",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "checkValidation",
     "value": "true"
    },
    {
     "type": "template",
     "key": "waitForTagsTimeout",
     "value": "2000"
    }
   ],
   "type": "lcl",
  }

Formularübermittlungs-Listener

Code eingeben

fsl

Parameter
Schlüssel Typ Hinweise
waitForTags boolean
checkValidation boolean
waitForTagsTimeout template Anzahl der Millisekunden.
Geben Sie an, wann waitForTags=true.
Beispiel
{
  "liveOnly": false,
  "name": "Sample Form Submit Listener",
  "parameter": [
    {
      "key": "waitForTags",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "checkValidation",
      "type": "boolean",
      "value": "false"
    }
  ],
  "type": "fsl"
}

Klick-Listener

Code eingeben

cl

Parameter

Beispiel
{
  "liveOnly": false,
  "name": "Sample Click Listener",
  "type": "cl"
}

Timer-Listener

Code eingeben

tl

Parameter
Schlüssel Typ Hinweise
eventName template
interval template Anzahl der Millisekunden
limit template Maximale Anzahl der Auslösevorgänge
Beispiel
{
  "liveOnly": false,
  "name": "Sample Timer Listener",
  "parameter": [
    {
      "key": "eventName",
      "type": "template",
      "value": "gtm.timer"
    },
    {
      "key": "interval",
      "type": "template",
      "value": "{{a}}"
    },
    {
      "key": "limit",
      "type": "template",
      "value": "5"
    }
  ],
  "type": "tl"
}

Listener für JavaScript-Fehler

Code eingeben

jel

Parameter

Beispiel
{
  "liveOnly": false,
  "name": "Sample JavaScript Error Listener",
  "type": "jel"
}

Verlauf-Listener

Code eingeben

hl

Parameter

Beispiel
{
  "liveOnly": false,
  "name": "Sample History Listener",
  "type": "hl"
}

Tracking von Displayanzeigen

Floodlight-Zähler

Code eingeben

flc

Parameter
Schlüssel Typ Hinweise
ordinalType template Eine der folgenden Möglichkeiten: STANDARD, UNIQUE, SESSION
advertiserId template
groupTag template
activityTag template
useImageTag boolean
customVariable list [key, value]-Paare
userVariable template Die Variable u= des Tags.
transactionVariable template Die Variable tran= des Tags.
sessionId template Geben Sie an, ob ordinalType den Wert SESSION hat.
Beispiel
{
  "liveOnly": false,
  "name": "Sample Floodlight Counter",
  "parameter": [
    {
      "key": "ordinalType",
      "type": "template",
      "value": "STANDARD"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "{{a}}"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "{{b}}"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "{{c}}"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "type": "list"
 "list": [
     {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "key",
         "value": "u2"
        },
        {
         "type": "template",
         "key": "value",
         "value": "u2_custom_var"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "key",
         "value": "u1"
        },
        {
         "type": "template",
         "key": "value",
         "value": "u1_custom_var"
        }
     ]
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": ""
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": ""
    },
    {
     "type": "template",
     "key": "sessionId",
     "value": "MySessionId"
    }
  ],
  "type": "flc"
}

Floodlight-Verkäufe

Code eingeben

fls

Parameter
Schlüssel Typ Hinweise
countingMethod template Eine der folgenden Möglichkeiten: TRANSACTIONS, ITEM_SOLD
advertiserId template
groupTag template
activityTag template
revenue template
orderId template
useImageTag boolean
customVariable map Eine Liste von Karten mit jeweils einem einzelnen [key, value]-Paar.
userVariable template Die Variable u= des Tags.
transactionVariable template Die Variable tran= des Tags.
quantity template Angeben, ob countingMethod gleich ITEM_SOLD ist
Beispiel
{
   "name": "Sample Floodlight Sales Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "countingMethod",
     "value": "TRANSACTIONS"
    },
    {
     "type": "template",
     "key": "advertiserId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "groupTag",
     "value": "{{b}}"
    },
    {
     "type": "template",
     "key": "activityTag",
     "value": "{{c}}"
    },
    {
     "type": "template",
     "key": "revenue",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "orderId",
     "value": "{{b}}"
    },
    {
     "type": "boolean",
     "key": "useImageTag",
     "value": "false"
    },
    {
     "type": "map",
     "key": "customVariable",
     "map": [
      {
       "type": "template",
       "key": "u2",
       "value": "u2_custom_var"
      },
      {
       "type": "template",
       "key": "u1",
       "value": "u1_custom_var"
      }
     ]
    },
    {
     "type": "template",
     "key": "userVariable",
     "value": "u_var"
    },
    {
     "type": "template",
     "key": "transactionVariable",
     "value": "tran_var"
    }
   ],
   "type": "fls"
  }

Mediaplex – IFRAME MCT

Code eingeben

mpm

Parameter
Schlüssel Typ Hinweise
placementId template
roiName template
pageName template
uniqueUserId template Optional.
Beispiel
{
   "name": "Sample Mediaplex IFRAME MCT Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "placementId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "roiName",
     "value": "1"
    },
    {
     "type": "template",
     "key": "pageName",
     "value": "{{a}}"
    }
   ],
   "type": "mpm"
  }

Mediaplex – Standard-IMG-ROI-Tag

Code eingeben

mpr

Parameter
Schlüssel Typ Hinweise
placementId template
roiName template
uniqueUserId template Optional.
Beispiel
{
   "name": "Sample Mediaplex Standard IMG ROI Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "placementId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "roiName",
     "value": "1"
    },
    {
     "type": "template",
     "key": "uniqueUserId",
     "value": "MyUniqueId"
    }
   ],
   "type": "mpr"
  }

Turn-Conversion-Tracking

Code eingeben

tc

Parameter
Schlüssel Typ Hinweise
customerId template Datenvertrags-ID
orderId template Optional.
orderValue template Optional.
optOut template Optional.
Beispiel
{
   "name": "Sample Turn Conversion Tracking",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "customerId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "orderId",
     "value": "MyOrderId"
    },
    {
     "type": "template",
     "key": "orderValue",
     "value": "MyOrderValue"
    },
    {
     "type": "template",
     "key": "optOut",
     "value": "MyOptOut"
    }
   ],
   "type": "tc"
  }

Remarketing

SmartPixel von AdRoll

Code eingeben

asp

Parameter
Schlüssel Typ Hinweise
customerId template adroll_adv_id
pixelId template adroll_pix_id
conversionValueInDollars template Optional.
customData map Optional. Eine Liste von Karten mit jeweils einem einzelnen [key,value]-Paar.
segmentName template Optional.
Beispiel
{
   "name": "Sample AdRoll Smart Pixel",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "customerId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "pixelId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "conversionValueInDollars",
     "value": "conversionValue"
    },
    {
     "type": "map",
     "key": "customData",
     "map": [
      {
       "type": "template",
       "key": "key2",
       "value": "World"
      },
      {
       "type": "template",
       "key": "key1",
       "value": "Hello"
      }
     ]
    },
    {
     "type": "template",
     "key": "segmentName",
     "value": "SegmentName"
    }
   ],
   "type": "asp"
  }

Google Ads-Remarketing

Code eingeben

sp

Parameter
Schlüssel Typ Hinweise
googleConversionId template
googleConversionLabel template Optional.
customParamsFormat template Entweder DATA_LAYER oder USER_SPECIFIED
dataLayerVariable template Für customParamsFormat = DATA_LAYER
googleCustomParams list Für customParamsFormat = USER_SPECIFIED
googleScreenName template Optional.
Beispiel

Dabei gilt für customParamFormat = DATA_LAYER:

{
   "name": "Sample Google Ads Remarketing",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "googleConversionId",
     "value": "{{c}}"
    },
    {
     "type": "template",
     "key": "googleConversionLabel",
     "value": "MyLabel"
    },
    {
     "type": "template",
     "key": "customParamsFormat",
     "value": "DATA_LAYER"
    },
    {
     "type": "template",
     "key": "dataLayerVariable",
     "value": "{{e}}"
    }
   ],
   "type": "sp"
  }

Dabei gilt: customParamFormat = USER_SPECIFIED:

{
   "name": "Sample Google Ads Remarketing",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "googleConversionId",
     "value": "{{c}}"
    },
    {
     "type": "template",
     "key": "googleConversionLabel",
     "value": "MyLabel"
    },
    {
     "type": "template",
     "key": "customParamsFormat",
     "value": "USER_SPECIFIED"
    },
    {
     "type": "list",
     "key": "googleCustomParams",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "key",
         "value": "key2"
        },
        {
         "type": "template",
         "key": "value",
         "value": "World"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "key",
         "value": "key1"
        },
        {
         "type": "template",
         "key": "value",
         "value": "Hello"
        }
       ]
      }
     ]
    }
   ],
   "type": "sp"
  }

Datenerhebung für Abbiegevorgänge

Code eingeben

tdc

Parameter
Schlüssel Typ Hinweise
customerId template
categoryId template Optional.
keyword template Optional.
dataProviderId template Optional.
optOut template Optional.
Beispiel
{
   "name": "Sample Turn Data Collection Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "customerId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "categoryId",
     "value": "myCategoryId"
    },
    {
     "type": "template",
     "key": "keyword",
     "value": "myKeyword"
    },
    {
     "type": "template",
     "key": "dataProviderId",
     "value": "myDataProviderId"
    },
    {
     "type": "template",
     "key": "optOut",
     "value": "myOptOut"
    }
   ],
   "type": "tdc"
  }

Informationen zum Conversion-Tracking in Google Ads finden Sie unter Mobile Tags.

Marin Software

Code eingeben

ms

Parameter
Schlüssel Typ Hinweise
type template Eine der folgenden Möglichkeiten: TRACK_PAGEVIEW, TRACK_TRANSACTION
clientId template
anonymizeIp boolean Optional.
conversionType template Für type = TRACK_TRANSACTION.
useDataLayer boolean Für type = TRACK_TRANSACTION
orderId template Für useDataLayer = false
product template Für useDataLayer = false
price template Für useDataLayer = false
category template Für useDataLayer = false
quantity template Für useDataLayer = false
currencyCode template Für useDataLayer = false
Beispiel

Dabei gilt für type=TRACK_PAGEVIEW:

{
   "name": "Sample Marin Software Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "type",
     "value": "TRACK_PAGEVIEW"
    },
    {
     "type": "template",
     "key": "clientId",
     "value": "Client ID"
    },
    {
     "type": "boolean",
     "key": "anonymizeIp",
     "value": "false"
    }
   ],
   "type": "ms"
  }

Dabei gilt: type = TRACK_TRANSACTION und useDataLayer = true:

{
   "name": "Sample Marin Software Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "type",
     "value": "TRACK_TRANSACTION"
    },
    {
     "type": "template",
     "key": "clientId",
     "value": "Client ID"
    },
    {
     "type": "template",
     "key": "conversionType",
     "value": "myConversionType"
    },
    {
     "type": "boolean",
     "key": "anonymizeIp",
     "value": "false"
    },
    {
     "type": "boolean",
     "key": "useDataLayer",
     "value": "true"
    }
   ],
   "type": "ms"
  }

Dabei gilt: type = TRACK_TRANSACTION und useDataLayer = false:

{
   "name": "Sample Marin Software Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "type",
     "value": "TRACK_TRANSACTION"
    },
    {
     "type": "template",
     "key": "clientId",
     "value": "Client ID"
    },
    {
     "type": "template",
     "key": "conversionType",
     "value": "myConversionType"
    },
    {
     "type": "boolean",
     "key": "anonymizeIp",
     "value": "false"
    },
    {
     "type": "template",
     "key": "orderId",
     "value": "myOrderId"
    },
    {
     "type": "template",
     "key": "product",
     "value": "myProduct"
    },
    {
     "type": "template",
     "key": "price",
     "value": "myPrice"
    },
    {
     "type": "template",
     "key": "category",
     "value": "myCategory"
    },
    {
     "type": "template",
     "key": "quantity",
     "value": "myQuantity"
    },
    {
     "type": "template",
     "key": "currencyCode",
     "value": "myCurrencyCode"
    },
    {
     "type": "boolean",
     "key": "useDataLayer",
     "value": "false"
    }
   ],
   "type": "ms"
  }

Zielgruppe

AdAdvisor

Code eingeben

_ta

Parameter
Schlüssel Typ
subscriberId template
Beispiel
  {
   "name": "Sample AdAdvisor Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "subscriberId",
     "value": "{{a}}"
    }
   ],
   "type": "_ta",
  }

Bizo Insight

Code eingeben

bzi

Parameter
Beispiel
 {
   "name": "Sample Bizo Insight Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "id",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "title",
     "value": "myTitle"
    },
    {
     "type": "template",
     "key": "domain",
     "value": "myDomain"
    },
    {
     "type": "template",
     "key": "company",
     "value": "myCompany"
    },
    {
     "type": "template",
     "key": "location",
     "value": "myLocation"
    },
    {
     "type": "template",
     "key": "employeeRange",
     "value": "myEmployeeRange"
    },
    {
     "type": "template",
     "key": "standardIndustrialClassification",
     "value": "mySICS"
    },
    {
     "type": "template",
     "key": "email",
     "value": "myEmail"
    }
   ],
   "type": "bzi"
  }

Dstillery Universal Pixel

Code eingeben

m6d

Parameter
Schlüssel Typ Hinweise
id template
title template Optional.
domain template Optional.
company template Optional.
location template Optional.
employeeRange template Optional.
standardIndustrialClassification template Optional.
email template Optional.
Schlüssel Typ Hinweise
pixelId template
pixelCheckValue template
orderId template Optional.
revenue template Optional.
namespaceId template
namespaceCheckValue template
namespaceCode template
Beispiel
  {
   "name": "Sample Dstillery Pixel Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "pixelId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "pixelCheckValue",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "orderId",
     "value": "myOrderId"
    },
    {
     "type": "template",
     "key": "revenue",
     "value": "myRevenue"
    },
    {
     "type": "template",
     "key": "namespaceId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "namespaceCheckValue",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "namespaceCode",
     "value": "{{a}}"
    }
   ],
   "type": "m6d"
  }

VisualDNA-Conversion-Tag

Code eingeben

vdc

Parameter
Schlüssel Typ Hinweise
apiAccountKey template
conversionId template
identitySyncPlatformCode template Optional.
Beispiel
  {
   "name": "Sample Visual DNA Conversion Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "apiAccountKey",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "conversionId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "identitySyncPlatformCode",
     "value": "mySyncPlatformCode"
    }
   ],
   "type": "vdc"
  }

Analytics

Klassisches Google Analytics

Code eingeben

ga

Parameter
Schlüssel Typ Hinweise
webPropertyId template
type template Eine der folgenden Möglichkeiten: TRACK_PAGEVIEW, TRACK_EVENT, LINK, LINK_BY_POST, TRACK_TRANSACTION, TRACK_SOCIAL, TRACK_TIMING, DECORATE_LINK, DECORATE_FORM
siteSpeedSampleRate template Sollte einen numerischen Prozentwert (0–100) ergeben.
cookiePath template
page template
domainName template
allowLinker boolean
sampleRate integer Bereich von 0 bis 100
campaignCookieTimeout template Muss zu einem numerischen Wert führen, der das Zeitlimit in Millisekunden angibt.
allowAnchor boolean
sessionCookieTimeout template Muss zu einem numerischen Wert führen, der das Zeitlimit in Millisekunden angibt.
doubleClick boolean
hitCallback template
ignoredRef list Liste der Verweisquellen, die ignoriert werden sollen.
ignoredRef[].value template Name des Verweisgebers
customVar list Liste der Karten. Eine Karte pro benutzerdefinierter Variable.
customVar[].slot integer
customVar[].name template
customVar[].value template
customVar[].scope integer 1 für Trefferebene, 2 für Sitzungsebene und 3 für Nutzerebene.
organic list
organic[].searchEngine template
organic[].queryParamName template
organic[].prepend boolean
ignoredOrganic list Liste der zu ignorierenden Keywords.
ignoredOrganic[].value template Zu ignorierende Keywords.
title template
campaignSourceOverride template
campaignMediumOverride template
campaignTermOverride template
campaignContentOverride template
campaignNameOverride template
anonymizeIp boolean
linkId boolean Optional. Aktivieren Sie die erweiterte Linkzuordnung.
contentGroup list Liste der Karten.
contentGroup[].index template Muss eine Ganzzahl ergeben.
contentGroup[].group template Gruppenname.
campContentKey template
campMediumKey template
campNameKey template
campNoKey template
campSourceKey template
campTermKey template
campaignTrack boolean
clientInfo template
detectFlash template
detectTitle template
localGifPath template
sendHitstToGoogle template
referrerOverride template
visitorCookieTimeout template Anzahl der Millisekunden.
trackerName template
cookiePathCopy list Liste der Cookiepfade.
cookiePathCopy[].value template Cookie-Pfad.
useDebugVersion boolean
forceSsl boolean
setTrackerName boolean
eventCategory template Für trackType=TRACK_EVENT
eventAction template Für trackType=TRACK_EVENT
eventLabel template Für trackType=TRACK_EVENT
eventValue template Für trackType=TRACK_EVENT
nonInteraction boolean Für trackType=TRACK_EVENT
targetUrl template Für trackType=LINK
useHashLink boolean Für trackType=LINK
formObject template Für trackType=LINK_BY_POST
useHashLinkByPost boolean Für trackType=LINK_BY_POST
currencyCode template Optional. Für trackType=TRACK_TRANSACTION
socialUseDataLayer boolean Optional. Für trackType=TRACK_SOCIAL
socialNetwork template Für trackType=TRACK_SOCIAL und socialUseDataLayer=false
socialAction template Für trackType=TRACK_SOCIAL und socialUseDataLayer=false
socialPagePath template Optional. Für trackType=TRACK_SOCIAL
socialTarget template Für trackType=TRACK_SOCIAL und socialUseDataLayer=false
timingCategory template Für trackType=TRACK_TIMING
timingVariable template Für trackType=TRACK_TIMING
timingTime template Für trackType=TRACK_TIMING
timingLabel template Für trackType=TRACK_TIMING
timingSampleRate template Für trackType=TRACK_TIMING
useHashDecorateLink boolean Für trackType=DECORATE_LINK
useHashDecorateForm boolean Für trackType=DECORATE_FORM
Beispiel

Dabei gilt für trackType=TRACK_PAGEVIEW:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "G-1234567ABC"
    },
    {
     "type": "template",
     "key": "siteSpeedSampleRate",
     "value": "{{sampleRatePercent}}"
    },
    {
     "type": "template",
     "key": "cookiePath",
     "value": "myCookiePath"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_PAGEVIEW"
    },
    {
     "type": "template",
     "key": "page",
     "value": "myVirtualPagePath"
    },
    {
     "type": "template",
     "key": "domainName",
     "value": "myDomainName"
    },
    {
     "type": "boolean",
     "key": "allowLinker",
     "value": "true"
    },
    {
     "type": "integer",
     "key": "sampleRate",
     "value": "10"
    },
    {
     "type": "template",
     "key": "campaignCookieTimeout",
     "value": "{{timeoutInMilli}}"
    },
    {
     "type": "boolean",
     "key": "allowAnchor",
     "value": "true"
    },
    {
     "type": "template",
     "key": "sessionCookieTimeout",
     "value": "{{timeoutInMilli}}"
    },
    {
     "type": "boolean",
     "key": "doubleClick",
     "value": "true"
    },
    {
     "type": "list",
     "key": "ignoredRef",
     "list": [
      {
       "type": "template",
       "value": "referrer1Ignore"
      },
      {
       "type": "template",
       "value": "referrer2Ignore"
      }
     ]
    },
    {
     "type": "list",
     "key": "customVar",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "integer",
         "key": "slot",
         "value": "1"
        },
        {
         "type": "template",
         "key": "name",
         "value": "myCustomVar"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myCustomVarValue"
        },
        {
         "type": "integer",
         "key": "scope",
         "value": "3"
        }
       ]
      }
     ]
    },
    {
     "type": "list",
     "key": "organic",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "searchEngine",
         "value": "myOrganicSearchEngine"
        },
        {
         "type": "template",
         "key": "queryParamName",
         "value": "mySearchQueryParamName"
        },
        {
         "type": "boolean",
         "key": "prepend",
         "value": "true"
        }
       ]
      }
     ]
    },
    {
     "type": "list",
     "key": "ignoredOrganic",
     "list": [
      {
       "type": "template",
       "value": "keyword1Ignore"
      },
      {
       "type": "template",
       "value": "keyword2Ignore"
      }
     ]
    },
    {
     "type": "template",
     "key": "title",
     "value": "myPageTitle"
    },
    {
     "type": "template",
     "key": "campaignSourceOverride",
     "value": "mySourceOverride"
    },
    {
     "type": "template",
     "key": "campaignMediumOverride",
     "value": "myMediumOverride"
    },
    {
     "type": "template",
     "key": "campaignTermOverride",
     "value": "myTermOverride"
    },
    {
     "type": "template",
     "key": "campaignContentOverride",
     "value": "myContentOverride"
    },
    {
     "type": "template",
     "key": "campaignNameOverride",
     "value": "myNameOverride"
    },
    {
     "type": "boolean",
     "key": "anonymizeIp",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "linkId",
     "value": "false"
    },
    {
     "type": "list",
     "key": "contentGroup",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "index",
         "value": "1"
        },
        {
         "type": "template",
         "key": "group",
         "value": "myContentGroup1"
        }
       ]
      }
     ]
    },
    {
     "type": "template",
     "key": "campContentKey",
     "value": "myContentKey"
    },
    {
     "type": "template",
     "key": "campMediumKey",
     "value": "myMediumKey"
    },
    {
     "type": "template",
     "key": "campNameKey",
     "value": "myNameKey"
    },
    {
     "type": "template",
     "key": "campNoKey",
     "value": "myNoOverrideKey"
    },
    {
     "type": "template",
     "key": "campSourceKey",
     "value": "mySourceKey"
    },
    {
     "type": "template",
     "key": "campTermKey",
     "value": "myTermKey"
    },
    {
     "type": "boolean",
     "key": "campaignTrack",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "clientInfo",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "detectFlash",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "detectTitle",
     "value": "true"
    },
    {
     "type": "template",
     "key": "localGifPath",
     "value": "myLocalGIFPath"
    },
    {
     "type": "boolean",
     "key": "sendHitsToGoogle",
     "value": "true"
    },
    {
     "type": "template",
     "key": "referrerOverride",
     "value": "myReferrerOverride"
    },
    {
     "type": "template",
     "key": "visitorCookieTimeout",
     "value": "{{timeoutInMilli}}"
    },
    {
     "type": "template",
     "key": "trackerName",
     "value": "myTrackerName"
    },
    {
     "type": "list",
     "key": "cookiePathCopy",
     "list": [
      {
       "type": "template",
       "value": "/path/to/cookies1"
      },
      {
       "type": "template",
       "value": "/path/to/cookies2"
      }
     ]
    },
    {
     "type": "boolean",
     "key": "useDebugVersion",
     "value": "false"
    },
    {
     "type": "boolean",
     "key": "forceSsl",
     "value": "false"
    },
    {
     "type": "boolean",
     "key": "setTrackerName",
     "value": "true"
    }
   ],
   "type": "ga"
  }

Dabei gilt für trackType=TRACK_EVENT:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "G-1234567ABC"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_EVENT"
    },
    {
     "type": "template",
     "key": "eventCategory",
     "value": "myCategory"
    },
    {
     "type": "template",
     "key": "eventAction",
     "value": "myAction"
    },
    {
     "type": "template",
     "key": "eventLabel",
     "value": "myLabel"
    },
    {
     "type": "template",
     "key": "eventValue",
     "value": "myValue"
    },
    {
     "type": "boolean",
     "key": "nonInteraction",
     "value": "false"
    }
   ],
   "type": "ga"
  }

Dabei gilt für trackType=LINK:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "G-1234567ABC"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "LINK"
    },
    {
     "type": "template",
     "key": "targetUrl",
     "value": "TargetURL"
    },
    {
     "type": "boolean",
     "key": "useHashLink",
     "value": "false"
    }
   ],
   "type": "ga"
  }

Dabei gilt für trackType=LINK_BY_POST:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "G-1234567ABC"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "LINK_BY_POST"
    },
    {
     "type": "template",
     "key": "formObject",
     "value": "{{a}}"
    },
    {
     "type": "boolean",
     "key": "useHashLinkByPost",
     "value": "false"
    }
   ],
   "type": "ga"
  }

Dabei gilt: trackType=TRACK_TRANSACTION:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "G-1234567ABC"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_TRANSACTION"
    },
    {
     "type": "template",
     "key": "currencyCode",
     "value": "{{a}}"
    }
   ]
   "type": "ga"
  }

Dabei gilt für trackType=TRACK_SOCIAL:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "G-1234567ABC"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_SOCIAL"
    },
    {
     "type": "template",
     "key": "socialNetwork",
     "value": "mySocialNetwork"
    },
    {
     "type": "template",
     "key": "socialAction",
     "value": "mySocialAction"
    },
    {
     "type": "template",
     "key": "socialTarget",
     "value": "myTarget"
    },
    {
     "type": "template",
     "key": "socialPagePath",
     "value": "myPagePaht"
    }
   ],
   "type": "ga"
  }

Dabei gilt für trackType=TRACK_TIMING:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "G-1234567ABC"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_TIMING"
    },
    {
     "type": "template",
     "key": "timingCategory",
     "value": "myCategory"
    },
    {
     "type": "template",
     "key": "timingVariable",
     "value": "myVariable"
    },
    {
     "type": "template",
     "key": "timingTime",
     "value": "myTime"
    },
    {
     "type": "template",
     "key": "timingLabel",
     "value": "myLabel"
    },
    {
     "type": "template",
     "key": "timingSampleRate",
     "value": "{{sampleRatePercent}}"
    }
   ],
   "type": "ga"
  }

Dabei gilt für trackType=DECORATE_LINK:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "G-1234567ABC"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "DECORATE_LINK"
    },
    {
     "type": "boolean",
     "key": "useHashDecorateLink",
     "value": "false"
    }
   ],
   "type": "ga"
  }

Dabei gilt: trackType=DECORATE_FORM:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "G-1234567ABC"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "DECORATE_LINK"
    },
    {
     "type": "boolean",
     "key": "useHashDecorateForm",
     "value": "false"
    }
   ],
   "type": "ga"
  }

ClickTale Standard

Code eingeben

cts

Parameter
Schlüssel Typ
projectId template
sampleRate template
partition template
Beispiel
 {
   "name": "Sample ClickTale Standard Tracking",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "projectId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "sampleRate",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "partition",
     "value": "{{a}}"
    }
   ],
   "type": "cts"
  }

comScore Unified Digital Measurement

Code eingeben

csm

Parameter
Schlüssel Typ
clientId template
Beispiel
 {
   "name": "Sample comScore Unified Digital Measurement",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "clientId",
     "value": "{{a}}"
    }
   ],
   "type": "csm"
  }

Mobile Tags

Google Ads-Conversion-Tracking

Code eingeben

awct

Parameter
Schlüssel Typ
googleConversionId template
googleConversionLabel template
googleConversionValue template
Beispiel
{
  "liveOnly": false,
  "name": "Google Ads Conversion Tracking",
  "parameter": [
    {
      "key": "googleConversionId",
      "type": "template",
      "value": "{{a}}"
    },
    {
      "key": "googleConversionLabel",
      "type": "template",
      "value": "{{a}}"
    },
    {
      "key": "googleConversionValue",
      "type": "template",
      "value": "{{a}}"
    }
  ],
  "tagId": "1",
  "type": "awct"
}

Google Ads-Remarketing

Code eingeben

sp

Parameter
Schlüssel Typ Hinweise
googleConversionId template
googleConversionLabel template
customParamsFormat template Eine der folgenden Möglichkeiten: DATA_LAYER, USER_SPECIFIED
googleScreenName template Optional.
dataLayerVariable template Für customParamsFormat=DATA_LAYER; sollte ein Makro für eine Datenschichtvariable verwendet werden.
googleCustomParams list Eine Liste von Karten mit jeweils einem einzelnen [key, value]-Eintrag. Für customParamsFormat=USER_SPECIFIED.
googleCustomParams[].key template
googleCustomParams[].value template
Beispiel

Dabei gilt: customParamsFormat=USER_SPECIFIED:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Google Ads Remarketing",
  "parameter": [
    {
      "key": "conversionId",
      "type": "template",
      "value": "cvid"
    },
    {
      "key": "conversionLabel",
      "type": "template",
      "value": "cvl"
    },
    {
      "key": "customParamsFormat",
      "type": "template",
      "value": "USER_SPECIFIED"
    },
    {
      "key": "customParams",
      "list": [
        {
          "map": [
            {
              "key": "key",
              "type": "template",
              "value": "cpk1"
            },
            {
              "key": "value",
              "type": "template",
              "value": "cpv1"
            }
          ],
          "type": "map"
        }
      ],
      "type": "list"
    }
  ],
  "tagId": "2",
  "type": "sp"
}

Dabei gilt für customParamsFormat=DATA_LAYER:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Google Ads Remarketing DataLayer",
  "parameter": [
    {
      "key": "conversionId",
      "type": "template",
      "value": "cvid"
    },
    {
      "key": "conversionLabel",
      "type": "template",
      "value": "cvl"
    },
    {
      "key": "customParamsFormat",
      "type": "template",
      "value": "DATA_LAYER"
    },
    {
      "key": "dataLayerVariable",
      "type": "template",
      "value": "{{dlv}}"
    }
  ],
  "tagId": "3",
  "type": "sp"
}

Floodlight-Zähler

Code eingeben

flc

Parameter
Schlüssel Typ Hinweise
ordinalType template Eine der folgenden Möglichkeiten: STANDARD, UNIQUE, SESSION
advertiserId template
groupTag template
activityTag template
customVariable list [key, value]-Paare
userVariable template Die Variable u= des Tags.
transactionVariable template Die Variable tran= des Tags.
sessionId template Geben Sie an, ob ordinalType SESSION ist.
useImageTag boolean
unrepeatable boolean Optional.
Beispiel

Dabei gilt: ordinalType=STANDARD:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Floodlight Counter",
  "parameter": [
    {
      "key": "ordinalType",
      "type": "template",
      "value": "STANDARD"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "42"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "gts"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "ats"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "list": [
        {
          "map": [
            {
              "key": "key",
              "type": "template",
              "value": "u3"
            },
            {
              "key": "value",
              "type": "template",
              "value": "bar"
            }
          ],
          "type": "map"
        },
        {
          "map": [
            {
              "key": "key",
              "type": "template",
              "value": "u1"
            },
            {
              "key": "value",
              "type": "template",
              "value": "foo"
            }
          ],
          "type": "map"
        }
      ],
      "type": "list"
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": "u"
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": "tran"
    }
  ],
  "tagId": "4",
  "type": "flc"
}

Dabei gilt für ordinalType=SESSION:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Floodlight Counter Per Session",
  "parameter": [
    {
      "key": "ordinalType",
      "type": "template",
      "value": "SESSION"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "42"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "gts"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "ats"
    },
    {
      "key": "sessionId",
      "type": "template",
      "value": "session-id"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "type": "list"
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": "u"
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": "tran"
    }
  ],
  "tagId": "5",
  "type": "flc"
}

Floodlight-Verkäufe

Code eingeben

fls

Parameter
Schlüssel Typ Hinweise
countingMethod template Eine der folgenden Möglichkeiten: TRANSACTIONS, ITEM_SOLD
advertiserId template
groupTag template
activityTag template
revenue template
orderId template Geben Sie an, ob countingMethod ITEM_SOLD ist.
customVariable map Eine Liste von Karten mit jeweils einem einzelnen [key, value]-Paar. Schlüssel für Zuordnungselemente sind u1 bis u20; der Typ des Kartenelements ist „Vorlage“.
userVariable template Die Variable u= des Tags.
transactionVariable template Die Variable tran= des Tags.
quantity template Geben Sie an, ob countingMethod den Wert ITEM_SOLD hat.
useImageTag boolean
unrepeatable boolean Optional.
Beispiel

Dabei gilt für countingMethod=TRANSACTIONS:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Floodlight Sales",
  "parameter": [
    {
      "key": "countingMethod",
      "type": "template",
      "value": "TRANSACTIONS"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "42"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "gts"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "ats"
    },
    {
      "key": "revenue",
      "type": "template",
      "value": "{{revenue}}"
    },
    {
      "key": "orderId",
      "type": "template",
      "value": "oid"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "map": [
        {
          "key": "u1",
          "type": "template",
          "value": "jio"
        }
      ],
      "type": "map"
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": "u"
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": "tran"
    }
  ],
  "tagId": "6",
  "type": "fls"
}

Dabei gilt für countingMethod=ITEM_SOLD:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Floodlight Sales Item Sold",
  "parameter": [
    {
      "key": "countingMethod",
      "type": "template",
      "value": "ITEM_SOLD"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "42"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "gts"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "ats"
    },
    {
      "key": "quantity",
      "type": "template",
      "value": "1"
    },
    {
      "key": "revenue",
      "type": "template",
      "value": "{{revenue}}"
    },
    {
      "key": "orderId",
      "type": "template",
      "value": "oid"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "map": [
        {
          "key": "u1",
          "type": "template",
          "value": "ji"
        }
      ],
      "type": "map"
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": "u"
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": "tran"
    }
  ],
  "tagId": "7",
  "type": "fls"
}

Funktionsaufruf

Code eingeben

_fc

Parameter
Schlüssel Typ Hinweise
functionName template
functionArgument map Eine Liste von Karten mit jeweils einem einzelnen [key, value]-Paar.
Beispiel
{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Function Call",
  "parameter": [
    {
      "key": "functionName",
      "type": "template",
      "value": "fn"
    },
    {
      "key": "functionArgument",
      "map": [
        {
          "key": "argkey1",
          "type": "template",
          "value": "argval1"
        }
      ],
      "type": "map"
    }
  ],
  "tagId": "8",
  "type": "_fc"
}

Benutzerdefiniertes Bild-Tag

Code eingeben

img

Parameter
Schlüssel Typ Hinweise
useCacheBuster boolean Makros sind nicht zulässig.
url template
cacheBusterQueryParam template
Beispiel
{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Custom Image Tag",
  "parameter": [
    {
      "key": "useCacheBuster",
      "type": "boolean",
      "value": "true"
    },
    {
      "key": "url",
      "type": "template",
      "value": "http://www.example.com"
    },
    {
      "key": "cacheBusterQueryParam",
      "type": "template",
      "value": "gtmcb"
    }
  ],
  "tagId": "14",
  "type": "img"
}