Add data attribute to google analytics tag added by google tag manager

260 views Asked by At

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.

0

There are 0 answers