Created
December 18, 2024 14:47
-
-
Save tylerzey/749a67ebe655649c4e3bf2c18a48552e to your computer and use it in GitHub Desktop.
Calendly GTM Embed Listener and Triggers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"exportFormatVersion": 2, | |
"exportTime": "2024-12-18 14:44:29", | |
"containerVersion": { | |
"path": "accounts/6260567265/containers/202414991/versions/0", | |
"accountId": "6260567265", | |
"containerId": "202414991", | |
"containerVersionId": "0", | |
"container": { | |
"path": "accounts/6260567265/containers/202414991", | |
"accountId": "6260567265", | |
"containerId": "202414991", | |
"name": "Test Container", | |
"publicId": "GTM-5Z7JMZCR", | |
"usageContext": [ | |
"WEB" | |
], | |
"fingerprint": "1734532501245", | |
"tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/6260567265/containers/202414991/workspaces?apiLink=container", | |
"features": { | |
"supportUserPermissions": true, | |
"supportEnvironments": true, | |
"supportWorkspaces": true, | |
"supportGtagConfigs": false, | |
"supportBuiltInVariables": true, | |
"supportClients": false, | |
"supportFolders": true, | |
"supportTags": true, | |
"supportTemplates": true, | |
"supportTriggers": true, | |
"supportVariables": true, | |
"supportVersions": true, | |
"supportZones": true, | |
"supportTransformations": false | |
}, | |
"tagIds": [ | |
"GTM-5Z7JMZCR" | |
] | |
}, | |
"tag": [ | |
{ | |
"accountId": "6260567265", | |
"containerId": "202414991", | |
"tagId": "3", | |
"name": "Calendly Listener", | |
"type": "html", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "html", | |
"value": "<script>\nwindow.dataLayer = window.dataLayer ||[];\nwindow.addEventListener('message',\n function(e) {\n if (e.data.event && e.data.event.indexOf('calendly') === 0 && !e.data.event.includes('page_height')) {\n window.dataLayer.push({\n 'event': e.data.event,\n 'data': e.data.payload\n });\n }\n }\n);\n</script>" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "supportDocumentWrite", | |
"value": "false" | |
} | |
], | |
"fingerprint": "1734533035855", | |
"firingTriggerId": [ | |
"2147479553" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT", | |
"monitoringMetadata": { | |
"type": "MAP" | |
}, | |
"consentSettings": { | |
"consentStatus": "NOT_SET" | |
} | |
} | |
], | |
"trigger": [ | |
{ | |
"accountId": "6260567265", | |
"containerId": "202414991", | |
"triggerId": "4", | |
"name": "Calendly | Date & Time Selected", | |
"type": "CUSTOM_EVENT", | |
"customEventFilter": [ | |
{ | |
"type": "EQUALS", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "arg0", | |
"value": "{{_event}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "arg1", | |
"value": "calendly.date_and_time_selected" | |
} | |
] | |
} | |
], | |
"fingerprint": "1734532692582" | |
}, | |
{ | |
"accountId": "6260567265", | |
"containerId": "202414991", | |
"triggerId": "5", | |
"name": "Calendly | Event Scheduled", | |
"type": "CUSTOM_EVENT", | |
"customEventFilter": [ | |
{ | |
"type": "EQUALS", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "arg0", | |
"value": "{{_event}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "arg1", | |
"value": "calendly.event_scheduled" | |
} | |
] | |
} | |
], | |
"fingerprint": "1734532718124" | |
}, | |
{ | |
"accountId": "6260567265", | |
"containerId": "202414991", | |
"triggerId": "6", | |
"name": "Calendly | Viewed", | |
"type": "CUSTOM_EVENT", | |
"customEventFilter": [ | |
{ | |
"type": "EQUALS", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "arg0", | |
"value": "{{_event}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "arg1", | |
"value": "calendly.event_type_viewed" | |
} | |
] | |
} | |
], | |
"fingerprint": "1734532737590" | |
} | |
], | |
"fingerprint": "1734533069831", | |
"tagManagerUrl": "https://tagmanager.google.com/#/versions/accounts/6260567265/containers/202414991/versions/0?apiLink=version" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment