Hi, we have integrated Rudderstack with OneTrust o...
# support
n
Hi, we have integrated Rudderstack with OneTrust on our website as per the instructions on the SDK page. In Rudderstack we have set up a Google Tag Manager destination. When this
gtm.js
script is added to our website, it is added with a
class='optanon-category-CO0O2-C0OO4
. Is this something that Rudderstack is adding? If so, how can I stop this? We do not have any OneTrust Cookie Categories defined in the configuration section of that destination.
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
h
Hello @numerous-motorcycle-45013 RudderStack doesn't add any class attributes to the script tags. Can you please share the webpage URL where you are seeing this?
k
CC <!subteam^S04QT1G74Q3|@sdk-team>
n
@helpful-daybreak-79835 Thank you for the fast response. That makes sense. It must be OneTrust adding that class. Here is the URL with the issue: https://allplants.com
h
@numerous-motorcycle-45013, I just verified. Once the consent is provided, the script tags are added with the class attribute. It definitely must be OneTrust.
n
Thanks 🙂
🤝 1