I use google tag manager to add ga script to my page. I am using Cookie consent plugin https://github.com/orestbida/cookieconsent. To control scripts it is recommended to add data-cookiecategory="analytics" attribute to script link. Is this possible to do in google tag manager? There are no options to add any attribute. Thank you.
Add data attribute to google analytics tag added by google tag manager
317 views Asked by user1031743 At
0
There are 0 answers
Related Questions in GTAG.JS
- Remix App - Error: Minified React error #418 / #423 - on Google Analytics gtag script
- Load dataLayer Variables prior to gtag configuration in GTM
- GTM GA4 Custom HTML tag to new Google Tag - possible?
- How to perform multiple HTTP requests with unique IP addresses from my local
- (Google) Enhanced conversions aren't processed because your user email data field is incorrectly formatted
- SRI check always failing for gtag js script in browser
- How can I extract gtag( 'consent' ) values?
- Print the value fetched from javascript script in php
- How do I organize my event data to display desired metrics in one place?
- Google Tag shows up in Tag Manager and Analytics but not Google Ads
- Google Analytics event count data not accurate
- Gtag not defined when using inserted script
- Using GA4 server-side to get the client_id without an html file (server-side)
- Google Analytics with Next.Js, window.gtag is not a function
- Google tag assistant connects to domain but can't find tag
Related Questions in COOKIECONSENT
- Loading Google Analytics after the user consents to cookie usage
- Cookiebot via GTM / no conversions in Google ADS
- On-page consent update trigger in Google Tag Manager
- How can I extract gtag( 'consent' ) values?
- Change text in a javascript generated window with javascript
- In my Android project, Google Consent Mode V2 debug view The log printed by LogCat does not have ad_personalization related fields
- Google CMP/GDPR message don't show up
- How to minimize performance hit from cookie consent code?
- Duplicate GA4 Pageviews with Google Tag Manager Advanced Consent Mode
- Cross-Domain Cookie Consent with Subdomains
- ASP.NET Core/Razor Pages Cookie Consent, 'Context' Does not exist in current context
- Any better way to disable all the cookie consent checkboxes / sliders?
- Decoding euconsent-v2 cookie client side
- Cookie consent and Google Identity Services to log users in
- Segmentio destination BigQuery warehouse not displayed in consent manager window
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)