Stuck on Ga4 Analytics services issue #1339
|
I am setting up ga4 through GTM , currently using gcmanalyticsstorage service for this . so far i am able to fire the ga4 tag when the page reloads after user has given a consent. But for the case when the user denies the cookies at first , and then accepts the cookies. is there any way i can enable events to send to gtm for such case? to run my consent update tag that is based on custom event that the cookie banner should send. |
Replies: 2 comments
|
Hi tarteaucitron fire event when a service is allowed/disallowed: |
|
Thank you , i could use the events for the tasks. Had to add a script document.addEventListener('gcmanalyticsstorage_allowed', function () { |
Hi
tarteaucitron fire event when a service is allowed/disallowed:
https://github.com/AmauriC/tarteaucitron.js?tab=readme-ov-file#events