In one of our marketo landing page templates, we use 'AddThis', which is in fact dropping a cookie. We are in the process of integrating one trust in our marketo landing pages. We have tried the JS Type Rewrite method proposed by one trust for controlling the 'AddThis' cookie. But we are not able to control the same. Has anyone successfully tried the JS Type Rewrite of one trust to control cookies inserted by code. Could you check attached snapshot and suggest if anything more is to be done?
Need a link to your page.
That script isn't executing while the type is non-executable text/plain. It has to be getting reinjected by OneTrust erroneously, or else getting redundantly loaded somewhere else you haven't looked, like GTM.
Hi Sanford, Thanks for replying. Sorry, would not be able to share the link. The solution provided by one trust for controlling cookies inserted by client side code is JS Type Rewriting. This is the URL for the same, for your reference - https://community.cookiepro.com/s/article/UUID-730ad441-6c4d-7877-7f85-36f1e801e8ca
I'm aware of how it works... in fact I consulted with OneTrust when they were building out their code a few years ago.
Rest assured that if you have changed the MIME type in your markup, that code is not executing on its own. It can only be exec'd if your OneTrust config rewrites it back to an executable type. So the problem is in your config, which we can't see.
Thank you Sanford. Is there a specific one trust config file where this can be checked. Is it part of One Trust admin portal? If so, I can get this checked by our One Trust Admin.