Fix Ga4 tracking (#6630)

6637-cal-868-deel-engage-app
Hariom Balhara 2023-01-23 14:39:16 +05:30 committed by GitHub
parent 5714471b9a
commit 9602ac29fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 18 deletions

View File

@ -12,16 +12,18 @@
"email": "support@cal.com", "email": "support@cal.com",
"description": "Google Analytics is a web analytics service offered by Google that tracks and reports website traffic, currently as a platform inside the Google Marketing Platform brand.", "description": "Google Analytics is a web analytics service offered by Google that tracks and reports website traffic, currently as a platform inside the Google Marketing Platform brand.",
"extendsFeature": "EventType", "extendsFeature": "EventType",
"tag": { "appData": {
"scripts": [ "tag": {
{ "scripts": [
"src": "https://www.googletagmanager.com/gtag/js?id={TRACKING_ID}", {
"attrs": {} "src": "https://www.googletagmanager.com/gtag/js?id={TRACKING_ID}",
}, "attrs": {}
{ },
"content": "window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '{TRACKING_ID}');" {
} "content": "window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '{TRACKING_ID}');"
] }
]
}
}, },
"__createdUsingCli": true "__createdUsingCli": true
} }

View File

@ -11,15 +11,17 @@
"publisher": "Cal.com, Inc.", "publisher": "Cal.com, Inc.",
"email": "help@cal.com", "email": "help@cal.com",
"extendsFeature": "EventType", "extendsFeature": "EventType",
"tag": { "appData": {
"scripts": [ "tag": {
{ "scripts": [
"src": "https://plausible.io/js/script.js", {
"attrs": { "src": "https://plausible.io/js/script.js",
"data-domain": "{TRACKED_DOMAIN}" "attrs": {
"data-domain": "{TRACKED_DOMAIN}"
}
} }
} ]
] }
}, },
"description": "Simple, privacy-friendly Google Analytics alternative.", "description": "Simple, privacy-friendly Google Analytics alternative.",
"__createdUsingCli": true "__createdUsingCli": true