Skip to content

Instantly share code, notes, and snippets.

@hareno
Last active March 5, 2020 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hareno/ee25dd35f27703754bc00e18a83347d1 to your computer and use it in GitHub Desktop.
Save hareno/ee25dd35f27703754bc00e18a83347d1 to your computer and use it in GitHub Desktop.
GTMで除外するサンプルJSONです
{
"exportFormatVersion": 2,
"exportTime": "2020-03-05 13:10:05",
"containerVersion": {
"path": "accounts/2917479186/containers/8804047/versions/4",
"accountId": "2917479186",
"containerId": "8804047",
"containerVersionId": "4",
"name": "stakeholderパラメータによる除外設定",
"container": {
"path": "accounts/2917479186/containers/8804047",
"accountId": "2917479186",
"containerId": "8804047",
"name": "example.com",
"publicId": "GTM-KP52JBS",
"usageContext": [
"WEB"
],
"fingerprint": "1574169925810",
"tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/2917479186/containers/8804047/workspaces?apiLink=container"
},
"tag": [
{
"accountId": "2917479186",
"containerId": "8804047",
"tagId": "24",
"name": "Google アナリティクスのPVタグ",
"type": "ua",
"parameter": [
{
"type": "BOOLEAN",
"key": "overrideGaSettings",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "trackType",
"value": "TRACK_PAGEVIEW"
},
{
"type": "TEMPLATE",
"key": "gaSettings",
"value": "{{Googleアナリティクス設定}}"
}
],
"fingerprint": "1583412813640",
"firingTriggerId": [
"2147479553"
],
"tagFiringOption": "ONCE_PER_EVENT",
"monitoringMetadata": {
"type": "MAP"
}
},
{
"accountId": "2917479186",
"containerId": "8804047",
"tagId": "27",
"name": "アクセス解析ツールのタグ",
"type": "html",
"parameter": [
{
"type": "TEMPLATE",
"key": "html",
"value": "<script></script>"
},
{
"type": "BOOLEAN",
"key": "supportDocumentWrite",
"value": "false"
}
],
"fingerprint": "1583412900753",
"firingTriggerId": [
"2147479553"
],
"blockingTriggerId": [
"25",
"26"
],
"tagFiringOption": "ONCE_PER_EVENT",
"monitoringMetadata": {
"type": "MAP"
}
},
{
"accountId": "2917479186",
"containerId": "8804047",
"tagId": "28",
"name": "Cookieの設定",
"type": "html",
"parameter": [
{
"type": "TEMPLATE",
"key": "html",
"value": "<script>\n document.cookie = 'user=stakeholder; max-age=3600000';\n</script>"
},
{
"type": "BOOLEAN",
"key": "supportDocumentWrite",
"value": "false"
}
],
"fingerprint": "1583413046712",
"firingTriggerId": [
"25"
],
"tagFiringOption": "ONCE_PER_EVENT",
"monitoringMetadata": {
"type": "MAP"
}
}
],
"trigger": [
{
"accountId": "2917479186",
"containerId": "8804047",
"triggerId": "25",
"name": "関係者用パラメータ付きURL",
"type": "PAGEVIEW",
"filter": [
{
"type": "EQUALS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{userパラメータ}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "stakeholder"
}
]
}
],
"fingerprint": "1583412869004"
},
{
"accountId": "2917479186",
"containerId": "8804047",
"triggerId": "26",
"name": "関係者のアクセス",
"type": "PAGEVIEW",
"filter": [
{
"type": "EQUALS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{関係者情報}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "stakeholder"
}
]
}
],
"fingerprint": "1583412895468"
}
],
"variable": [
{
"accountId": "2917479186",
"containerId": "8804047",
"variableId": "21",
"name": "userパラメータ",
"type": "u",
"parameter": [
{
"type": "TEMPLATE",
"key": "component",
"value": "QUERY"
},
{
"type": "TEMPLATE",
"key": "queryKey",
"value": "user"
}
],
"fingerprint": "1583412695325",
"formatValue": {}
},
{
"accountId": "2917479186",
"containerId": "8804047",
"variableId": "22",
"name": "関係者情報",
"type": "k",
"parameter": [
{
"type": "BOOLEAN",
"key": "decodeCookie",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "name",
"value": "user"
}
],
"fingerprint": "1583413095769",
"formatValue": {
"convertUndefinedToValue": {
"type": "TEMPLATE",
"value": "{{userパラメータ}}"
}
}
},
{
"accountId": "2917479186",
"containerId": "8804047",
"variableId": "23",
"name": "Googleアナリティクス設定",
"type": "gas",
"parameter": [
{
"type": "TEMPLATE",
"key": "cookieDomain",
"value": "auto"
},
{
"type": "BOOLEAN",
"key": "doubleClick",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "setTrackerName",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "useDebugVersion",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "useHashAutoLink",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "decorateFormsAutoLink",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "enableLinkId",
"value": "false"
},
{
"type": "LIST",
"key": "dimension",
"list": [
{
"type": "MAP",
"map": [
{
"type": "TEMPLATE",
"key": "index",
"value": "1"
},
{
"type": "TEMPLATE",
"key": "dimension",
"value": "{{関係者情報}}"
}
]
}
]
},
{
"type": "BOOLEAN",
"key": "enableEcommerce",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "trackingId",
"value": "UA-000000-1"
}
],
"fingerprint": "1583412799445"
}
],
"fingerprint": "1583413140387",
"tagManagerUrl": "https://tagmanager.google.com/#/versions/accounts/2917479186/containers/8804047/versions/4?apiLink=version"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment