Este documento descreve os parâmetros que podem ser definidos para as tags do Gerenciador de tags do Google.
Introdução
Cada tag do Gerenciador de tags do Google tem um código type
para identificação.
Além disso, a maioria das tags tem parâmetros (pares key
e type
) que podem ser definidos como parte de um "objeto de parâmetro" durante a criação ou atualização delas. Para saber mais sobre como definir esses parâmetros usando um objeto, consulte a Referência de parâmetros.
Este documento também inclui os detalhes de todas as tags compatíveis para a Web e os dispositivos móveis.
Tags da Web
Tag HTML personalizada
Código de tipo
html
Parâmetros
Chave | Tipo |
---|---|
html |
template |
convertJsValuesToExpressions |
boolean |
usePostscribe |
boolean |
Exemplo
{ "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" }
Tag de imagem personalizada
Código de tipo
img
Parâmetros
Chave | Tipo |
---|---|
useCacheBuster |
boolean |
url |
template |
cacheBusterQueryParam |
template |
Exemplo
{ "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" }
Listeners de eventos
Listener de cliques em links
Código de tipo
lcl
Parâmetros
Chave | Tipo | Notas |
---|---|---|
checkValidation |
boolean |
|
waitForTags |
boolean |
|
waitForTagsTimeout |
template |
Número de milissegundos. Especifique quando waitForTags=true .
|
Exemplo
{ "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", }
Listener de envio de formulário
Código de tipo
fsl
Parâmetros
Chave | Tipo | Notas |
---|---|---|
waitForTags |
boolean |
|
checkValidation |
boolean |
|
waitForTagsTimeout |
template |
Número de milissegundos. Especificar quando waitForTags=true . |
Exemplo
{ "liveOnly": false, "name": "Sample Form Submit Listener", "parameter": [ { "key": "waitForTags", "type": "boolean", "value": "false" }, { "key": "checkValidation", "type": "boolean", "value": "false" } ], "type": "fsl" }
Listener de cliques
Código de tipo
cl
Parâmetros
N/D
Exemplo
{ "liveOnly": false, "name": "Sample Click Listener", "type": "cl" }
Listener de timer
Código de tipo
tl
Parâmetros
Chave | Tipo | Notas |
---|---|---|
eventName |
template |
|
interval |
template |
Total de milissegundos. |
limit |
template |
Número máximo de disparos. |
Exemplo
{ "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 de erro JavaScript
Código de tipo
jel
Parâmetros
N/D
Exemplo
{ "liveOnly": false, "name": "Sample JavaScript Error Listener", "type": "jel" }
Listener do histórico
Código de tipo
hl
Parâmetros
N/D
Exemplo
{ "liveOnly": false, "name": "Sample History Listener", "type": "hl" }
Acompanhamento de anúncios gráficos
Contador do Floodlight
Código de tipo
flc
Parâmetros
Chave | Tipo | Notas |
---|---|---|
ordinalType |
template |
Uma destas opções: STANDARD , UNIQUE e SESSION . |
advertiserId |
template |
|
groupTag |
template |
|
activityTag |
template |
|
useImageTag |
boolean |
|
customVariable |
list |
Pares (key e value ) |
userVariable |
template |
A variável u= da tag. |
transactionVariable |
template |
A variável tran= da tag. |
sessionId |
template |
Especifique se ordinalType for SESSION . |
Exemplo
{ "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" }
Vendas do Floodlight
Código de tipo
fls
Parâmetros
Chave | Tipo | Notas |
---|---|---|
countingMethod |
template |
Uma destas opções: TRANSACTIONS e ITEM_SOLD . |
advertiserId |
template |
|
groupTag |
template |
|
activityTag |
template |
|
revenue |
template |
|
orderId |
template |
|
useImageTag |
boolean |
|
customVariable |
map |
Uma lista de mapas, cada um com um único par (key e value ). |
userVariable |
template |
A variável u= da tag. |
transactionVariable |
template |
A variável tran= da tag. |
quantity |
template |
Especifique se countingMethod for ITEM_SOLD . |
Exemplo
{ "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 – tag MCT de IFRAME
Código de tipo
mpm
Parâmetros
Chave | Tipo | Notas |
---|---|---|
placementId |
template |
|
roiName |
template |
|
pageName |
template |
|
uniqueUserId |
template |
Opcional |
Exemplo
{ "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 – tag padrão ROI de IMG
Código de tipo
mpr
Parâmetros
Chave | Tipo | Notas |
---|---|---|
placementId |
template |
|
roiName |
template |
|
uniqueUserId |
template |
Opcional |
Exemplo
{ "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" }
Acompanhamento de conversões da Turn
Código de tipo
tc
Parâmetros
Chave | Tipo | Notas |
---|---|---|
customerId |
template |
Código do contrato de dados. |
orderId |
template |
Opcional |
orderValue |
template |
Opcional. |
optOut |
template |
Opcional |
Exemplo
{ "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
AdRoll Smart Pixel
Código de tipo
asp
Parâmetros
Chave | Tipo | Notas |
---|---|---|
customerId |
template |
adroll_adv_id |
pixelId |
template |
adroll_pix_id |
conversionValueInDollars |
template |
Opcional |
customData |
map |
Opcional Uma lista de mapas, cada um com um único par (key e value ). |
segmentName |
template |
Opcional |
Exemplo
{ "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" }
Remarketing do Google Ads
Código de tipo
sp
Parâmetros
Chave | Tipo | Notas |
---|---|---|
googleConversionId |
template |
|
googleConversionLabel |
template |
Opcional |
customParamsFormat |
template |
Uma destas opções: DATA_LAYER e USER_SPECIFIED . |
dataLayerVariable |
template |
Para customParamsFormat = DATA_LAYER |
googleCustomParams |
list |
Para customParamsFormat = USER_SPECIFIED |
googleScreenName |
template |
Opcional |
Exemplo
Em que 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" }
Em que 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" }
Coleta de dados da Turn
Código de tipo
tdc
Parâmetros
Chave | Tipo | Notas |
---|---|---|
customerId |
template |
|
categoryId |
template |
Opcional |
keyword |
template |
Opcional. |
dataProviderId |
template |
Opcional. |
optOut |
template |
Opcional |
Exemplo
{ "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" }
Rede de pesquisa
Acompanhamento de conversões do Google Ads
Veja o acompanhamento de conversões do Google Ads em tags para dispositivos móveis.
Marin Software
Código de tipo
ms
Parâmetros
Chave | Tipo | Notas |
---|---|---|
type |
template |
Uma destas opções: TRACK_PAGEVIEW , TRACK_TRANSACTION . |
clientId |
template |
|
anonymizeIp |
boolean |
Opcional |
conversionType |
template |
Para type = TRACK_TRANSACTION |
useDataLayer |
boolean |
Para type = TRACK_TRANSACTION |
orderId |
template |
Para useDataLayer = false |
product |
template |
Para useDataLayer = false |
price |
template |
Para useDataLayer = false |
category |
template |
Para useDataLayer = false |
quantity |
template |
Para useDataLayer = false |
currencyCode |
template |
Para useDataLayer = false |
Exemplo
Em que 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" }
Em que type = TRACK_TRANSACTION
e 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" }
Em que type = TRACK_TRANSACTION
e 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" }
Público-alvo
AdAdvisor
Código de tipo
_ta
Parâmetros
Chave | Tipo |
---|---|
subscriberId |
template |
Exemplo
{ "name": "Sample AdAdvisor Tag", "liveOnly": false, "parameter": [ { "type": "template", "key": "subscriberId", "value": "{{a}}" } ], "type": "_ta", }
Bizo Insight
Código de tipo
bzi
Parâmetros
Exemplo
{ "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" }
Pixel universal da Dstillery
Código de tipo
m6d
Parâmetros
Chave | Tipo | Notas |
---|---|---|
id |
template |
|
title |
template |
Opcional |
domain |
template |
Opcional. |
company |
template |
Opcional. |
location |
template |
Opcional. |
employeeRange |
template |
Opcional. |
standardIndustrialClassification |
template |
Opcional. |
email |
template |
Opcional. |
Chave | Tipo | Notas |
---|---|---|
pixelId |
template |
|
pixelCheckValue |
template |
|
orderId |
template |
Opcional |
revenue |
template |
Opcional |
namespaceId |
template |
|
namespaceCheckValue |
template |
|
namespaceCode |
template |
Exemplo
{ "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" }
Tag de conversão da VisualDNA
Código de tipo
vdc
Parâmetros
Chave | Tipo | Notas |
---|---|---|
apiAccountKey |
template |
|
conversionId |
template |
|
identitySyncPlatformCode |
template |
Opcional |
Exemplo
{ "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
Google Analytics clássico
Código de tipo
ga
Parâmetros
Chave | Tipo | Notas |
---|---|---|
webPropertyId |
template |
|
type |
template |
Uma destas opções: TRACK_PAGEVIEW , TRACK_EVENT e LINK |
siteSpeedSampleRate |
template |
É preciso avaliar um valor percentual numérico (0...100). |
cookiePath |
template |
|
page |
template |
|
domainName |
template |
|
allowLinker |
boolean |
|
sampleRate |
integer |
Intervalo de 0 a 100. |
campaignCookieTimeout |
template |
Precisa avaliar o valor numérico que representa o tempo limite em milissegundos. |
allowAnchor |
boolean |
|
sessionCookieTimeout |
template |
Precisa avaliar o valor numérico que representa o tempo limite em milissegundos. |
doubleClick |
boolean |
|
hitCallback |
template |
|
ignoredRef |
list |
Lista de referenciadores a serem ignorados. |
ignoredRef[].value |
template |
Nome do referenciador. |
customVar |
list |
Lista de mapas. Um mapa por variável personalizada. |
customVar[].slot |
integer |
|
customVar[].name |
template |
|
customVar[].value |
template |
|
customVar[].scope |
integer |
1 para o escopo do hit, 2 para o escopo da sessão e 3 para o escopo do usuário. |
organic |
list |
|
organic[].searchEngine |
template |
|
organic[].queryParamName |
template |
|
organic[].prepend |
boolean |
|
ignoredOrganic |
list |
Lista de palavras-chave a serem ignoradas. |
ignoredOrganic[].value |
template |
Palavras-chave a serem ignoradas. |
title |
template |
|
campaignSourceOverride |
template |
|
campaignMediumOverride |
template |
|
campaignTermOverride |
template |
|
campaignContentOverride |
template |
|
campaignNameOverride |
template |
|
anonymizeIp |
boolean |
|
linkId |
boolean |
Opcional Ativar a Atribuição melhorada de link. |
contentGroup |
list |
Lista de mapas. |
contentGroup[].index |
template |
Precisa ser avaliado como números inteiros. |
contentGroup[].group |
template |
Nome do grupo. |
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 |
Total de milissegundos. |
trackerName |
template |
|
cookiePathCopy |
list |
Lista de caminhos dos cookies. |
cookiePathCopy[].value |
template |
Caminho do cookie. |
useDebugVersion |
boolean |
|
forceSsl |
boolean |
|
setTrackerName |
boolean |
|
eventCategory |
template |
Para trackType=TRACK_EVENT |
eventAction |
template |
Para trackType=TRACK_EVENT |
eventLabel |
template |
Para trackType=TRACK_EVENT |
eventValue |
template |
Para trackType=TRACK_EVENT |
nonInteraction |
boolean |
Para trackType=TRACK_EVENT |
targetUrl |
template |
Para trackType=LINK |
useHashLink |
boolean |
Para trackType=LINK |
formObject |
template |
Para trackType=LINK_BY_POST |
useHashLinkByPost |
boolean |
Para trackType=LINK_BY_POST |
currencyCode |
template |
Opcional Para trackType=TRACK_TRANSACTION |
socialUseDataLayer |
boolean |
Opcional Para trackType=TRACK_SOCIAL |
socialNetwork |
template |
Para trackType=TRACK_SOCIAL e socialUseDataLayer=false |
socialAction |
template |
Para trackType=TRACK_SOCIAL e socialUseDataLayer=false |
socialPagePath |
template |
Opcional Para trackType=TRACK_SOCIAL |
socialTarget |
template |
Para trackType=TRACK_SOCIAL e socialUseDataLayer=false |
timingCategory |
template |
Para trackType=TRACK_TIMING |
timingVariable |
template |
Para trackType=TRACK_TIMING |
timingTime |
template |
Para trackType=TRACK_TIMING |
timingLabel |
template |
Para trackType=TRACK_TIMING |
timingSampleRate |
template |
Para trackType=TRACK_TIMING |
useHashDecorateLink |
boolean |
Para trackType=DECORATE_LINK |
useHashDecorateForm |
boolean |
Para trackType=DECORATE_FORM |
Exemplo
Em que 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" }
Em que 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" }
Em que 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" }
Em que 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" }
Em que 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" }
Em que 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" }
Em que 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" }
Em que 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" }
Em que 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
Código de tipo
cts
Parâmetros
Chave | Tipo |
---|---|
projectId |
template |
sampleRate |
template |
partition |
template |
Exemplo
{ "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
Código de tipo
csm
Parâmetros
Chave | Tipo |
---|---|
clientId |
template |
Exemplo
{ "name": "Sample comScore Unified Digital Measurement", "liveOnly": false, "parameter": [ { "type": "template", "key": "clientId", "value": "{{a}}" } ], "type": "csm" }
Tags para dispositivos móveis
Acompanhamento de conversões do Google Ads
Código de tipo
awct
Parâmetros
Chave | Tipo |
---|---|
googleConversionId |
template |
googleConversionLabel |
template |
googleConversionValue |
template |
Exemplo
{ "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" }
Remarketing do Google Ads
Código de tipo
sp
Parâmetros
Chave | Tipo | Notas |
---|---|---|
googleConversionId |
template |
|
googleConversionLabel |
template |
|
customParamsFormat |
template |
Uma destas opções: DATA_LAYER , USER_SPECIFIED . |
googleScreenName |
template |
Opcional |
dataLayerVariable |
template |
Para customParamsFormat=DATA_LAYER : é preciso se referir a uma macro de variável da camada de dados. |
googleCustomParams |
list |
Uma lista de mapas, cada um com uma única entrada (key e value ).
Para customParamsFormat=USER_SPECIFIED |
googleCustomParams[].key |
template |
|
googleCustomParams[].value |
template |
Exemplo
Em que 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" }
Em que 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" }
Contador do Floodlight
Código de tipo
flc
Parâmetros
Chave | Tipo | Notas |
---|---|---|
ordinalType |
template |
Uma destas opções: STANDARD , UNIQUE e SESSION . |
advertiserId |
template |
|
groupTag |
template |
|
activityTag |
template |
|
customVariable |
list |
Pares (key e value ) |
userVariable |
template |
A variável u= da tag. |
transactionVariable |
template |
A variável tran= da tag. |
sessionId |
template |
Especifique se ordinalType for SESSION . |
useImageTag |
boolean |
|
unrepeatable |
boolean |
Opcional |
Exemplo
Em que 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" }
Em que 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" }
Vendas do Floodlight
Código de tipo
fls
Parâmetros
Chave | Tipo | Notas |
---|---|---|
countingMethod |
template |
Uma destas opções: TRANSACTIONS e ITEM_SOLD . |
advertiserId |
template |
|
groupTag |
template |
|
activityTag |
template |
|
revenue |
template |
|
orderId |
template |
Especifique se countingMethod for ITEM_SOLD . |
customVariable |
map |
Uma lista de mapas, cada um com um único par (key e value ).
As chaves do item de mapa são u1 a u20 . O tipo de item do mapa é modelo. |
userVariable |
template |
A variável u= da tag. |
transactionVariable |
template |
A variável tran= da tag. |
quantity |
template |
Especifique se countingMethod for ITEM_SOLD . |
useImageTag |
boolean |
|
unrepeatable |
boolean |
Opcional |
Exemplo
Em que 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" }
Em que 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" }
Chamada de função
Código de tipo
_fc
Parâmetros
Chave | Tipo | Notas |
---|---|---|
functionName |
template |
|
functionArgument |
map |
Uma lista de mapas, cada um com um único par (key e value ). |
Exemplo
{ "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" }
Tag de imagem personalizada
Código de tipo
img
Parâmetros
Chave | Tipo | Notas |
---|---|---|
useCacheBuster |
boolean |
Macros não permitidas. |
url |
template |
|
cacheBusterQueryParam |
template |
Exemplo
{ "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" }