Initial commit
This commit is contained in:
272
skills/ga4-gtm-integration/assets/gtm-ga4-starter-container.json
Normal file
272
skills/ga4-gtm-integration/assets/gtm-ga4-starter-container.json
Normal file
@@ -0,0 +1,272 @@
|
||||
{
|
||||
"exportFormatVersion": 2,
|
||||
"exportTime": "2025-11-10 04:00:00",
|
||||
"containerVersion": {
|
||||
"path": "accounts/ACCOUNT_ID/containers/CONTAINER_ID/versions/VERSION_ID",
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"containerVersionId": "VERSION_ID",
|
||||
"name": "GA4 Starter Configuration",
|
||||
"description": "Basic GA4 tracking setup with Configuration tag, page view, and common event examples",
|
||||
"container": {
|
||||
"path": "accounts/ACCOUNT_ID/containers/CONTAINER_ID",
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"name": "GA4 Starter Container",
|
||||
"publicId": "GTM-XXXXXXX",
|
||||
"usageContext": ["WEB"],
|
||||
"fingerprint": "0000000000000",
|
||||
"tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/ACCOUNT_ID/containers/CONTAINER_ID/workspaces/WORKSPACE_ID"
|
||||
},
|
||||
"tag": [
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"tagId": "1",
|
||||
"name": "GA4 - Configuration",
|
||||
"type": "googtag",
|
||||
"parameter": [
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "tagId",
|
||||
"value": "G-XXXXXXXXXX"
|
||||
}
|
||||
],
|
||||
"firingTriggerId": ["2147479553"],
|
||||
"tagFiringOption": "ONCE_PER_EVENT",
|
||||
"monitoringMetadata": {
|
||||
"type": "MAP"
|
||||
}
|
||||
},
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"tagId": "2",
|
||||
"name": "GA4 - Button Click - Subscribe",
|
||||
"type": "googtag",
|
||||
"parameter": [
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "tagId",
|
||||
"value": "G-XXXXXXXXXX"
|
||||
},
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "eventName",
|
||||
"value": "button_click"
|
||||
},
|
||||
{
|
||||
"type": "LIST",
|
||||
"key": "eventParameters",
|
||||
"list": [
|
||||
{
|
||||
"type": "MAP",
|
||||
"map": [
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "name",
|
||||
"value": "button_name"
|
||||
},
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "value",
|
||||
"value": "{{Click Text}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "MAP",
|
||||
"map": [
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "name",
|
||||
"value": "button_location"
|
||||
},
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "value",
|
||||
"value": "header"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"firingTriggerId": ["3"],
|
||||
"tagFiringOption": "ONCE_PER_EVENT"
|
||||
},
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"tagId": "4",
|
||||
"name": "GA4 - Form Submit - Contact",
|
||||
"type": "googtag",
|
||||
"parameter": [
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "tagId",
|
||||
"value": "G-XXXXXXXXXX"
|
||||
},
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "eventName",
|
||||
"value": "form_submit"
|
||||
},
|
||||
{
|
||||
"type": "LIST",
|
||||
"key": "eventParameters",
|
||||
"list": [
|
||||
{
|
||||
"type": "MAP",
|
||||
"map": [
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "name",
|
||||
"value": "form_name"
|
||||
},
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "value",
|
||||
"value": "contact_form"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "MAP",
|
||||
"map": [
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "name",
|
||||
"value": "form_id"
|
||||
},
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "value",
|
||||
"value": "{{Form ID}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"firingTriggerId": ["5"],
|
||||
"tagFiringOption": "ONCE_PER_EVENT"
|
||||
}
|
||||
],
|
||||
"trigger": [
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"triggerId": "3",
|
||||
"name": "Click - Subscribe Button",
|
||||
"type": "CLICK",
|
||||
"filter": [
|
||||
{
|
||||
"type": "EQUALS",
|
||||
"parameter": [
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "arg0",
|
||||
"value": "{{Click ID}}"
|
||||
},
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "arg1",
|
||||
"value": "subscribe-btn"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"triggerId": "5",
|
||||
"name": "Form - Contact Form Submit",
|
||||
"type": "FORM_SUBMIT",
|
||||
"filter": [
|
||||
{
|
||||
"type": "EQUALS",
|
||||
"parameter": [
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "arg0",
|
||||
"value": "{{Form ID}}"
|
||||
},
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "arg1",
|
||||
"value": "contact-form"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"variable": [
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"variableId": "6",
|
||||
"name": "DL - Product ID",
|
||||
"type": "v",
|
||||
"parameter": [
|
||||
{
|
||||
"type": "INTEGER",
|
||||
"key": "dataLayerVersion",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"type": "BOOLEAN",
|
||||
"key": "setDefaultValue",
|
||||
"value": "false"
|
||||
},
|
||||
{
|
||||
"type": "TEMPLATE",
|
||||
"key": "name",
|
||||
"value": "product_id"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"builtInVariable": [
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"type": "PAGE_URL",
|
||||
"name": "Page URL"
|
||||
},
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"type": "PAGE_PATH",
|
||||
"name": "Page Path"
|
||||
},
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"type": "CLICK_ELEMENT",
|
||||
"name": "Click Element"
|
||||
},
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"type": "CLICK_TEXT",
|
||||
"name": "Click Text"
|
||||
},
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"type": "CLICK_ID",
|
||||
"name": "Click ID"
|
||||
},
|
||||
{
|
||||
"accountId": "ACCOUNT_ID",
|
||||
"containerId": "CONTAINER_ID",
|
||||
"type": "FORM_ID",
|
||||
"name": "Form ID"
|
||||
}
|
||||
],
|
||||
"fingerprint": "0000000000001"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user