fix(analytics): Add cookie_flags to GA4 config for embedded contexts (#20627)
* fix(analytics): Add cookie_flags to GA4 config for embedded contexts (CAL-5446) Co-Authored-By: hariom@cal.com <hariom@cal.com> * fix(analytics): Fix JavaScript syntax for cookie_flags parameter Co-Authored-By: hariom@cal.com <hariom@cal.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: hariom@cal.com <hariom@cal.com>
This commit is contained in:
1 parent
b15060e306
commit
2b7a87a34c
1 file changed
+1
-1
@@ -19,7 +19,7 @@
|
||||
"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}', {'cookie_flags': 'SameSite=None;Secure'});"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user