OneTrust implementation question | Community
Skip to main content
June 15, 2023
Solved

OneTrust implementation question

  • June 15, 2023
  • 1 reply
  • 1739 views

We have the devs implemented the one trust script in the source code as they are worried that it could be blocked because of adblocker i.e below script

 

<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="INSERT DATA DOMAIN ID FOR DOMAIN HERE" ></script><script type="text/javascript"> function OptanonWrapper() { } </script> <script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="INSERT DATA DOMAIN ID FOR DOMAIN HERE" ></script><script type="text/javascript"> function OptanonWrapper() { } </script>

 Now, my question is I have the oneTrust extension implemented through Adobe Launch. We have opt-in meaning all the cookies are blocked from get go and only essential cookies fire. What settings do I need to do for firing Adobe Analytics as I understand, all the logic is handled in OneTrust admin settings. Not sure what to implement it in Adobe Launch for OneTrust. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by mrgupta

@xcode2295You need to set up ECID extension and write custom code based on your scenario to control cookies in Adobe Launch.

https://experienceleague.adobe.com/docs/id-service/using/implementation/opt-in-service/getting-started.html?lang=en#section-9ab0492ab4414f0ca16dc08d3a905f47

1 reply

mrguptaAccepted solution
June 15, 2023

@xcode2295You need to set up ECID extension and write custom code based on your scenario to control cookies in Adobe Launch.

https://experienceleague.adobe.com/docs/id-service/using/implementation/opt-in-service/getting-started.html?lang=en#section-9ab0492ab4414f0ca16dc08d3a905f47

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 15, 2023

Just to add to this re the comment about the AdBlocker... while it's possible that the script could be blocked it seems unlikely.. The rules to block scripts are designed to prevent tracking from happening / setting cookies... I'm not sure what benefit anyone would get by blocking the "allow me to opt-out" script... that would seem counter-productive.....

 

But yes, there is Opt-In/Out integrations through the ECID extension.