Closed StudioZut closed 8 months ago
Added option to remove script so it doesn't load in Head, since some sites might continue to load via GTM. This also makes it easier to troubleshoot or change vendors. This code is in place and tested on "osanofix3" multidev for wri-brasil https://osanofix3-wri-brasil.pantheonsite.io/
This is up on develop for when we do our next deploy (so it shouldn't get lost) https://develop-wriflagship.pantheonsite.io/
looks good @mariacha
This is ready to test on Brasil's develop site: https://develop-wri-brasil.pantheonsite.io
When you view source for the page, you should see https://cmp.osano.com/AzyfddTRtqi1560Dk/68d76b4b-41d5-408a-8727-00456ae2d7c6/osano.js?variant=five just like on live
This is ready for review on the remaining IOs: China: https://develop-wri-china.pantheonsite.io/en/research/release-957 Indonesia: https://develop-wri-indonesia.pantheonsite.io/id/publikasi/957-melepaskan Espanol: https://develop-wri-espanol.pantheonsite.io/publicaciones/release-957-958
@mariacha @katieescoto i'm not seeing the script on these sites. can you verify?
Yep, as long as they match what's on their live sites (which also have no scripts) we're good!
Add the Osano script to the
section.Use a Snippet to set the script ID. Set machine name as "osano_id" (example ID for flagship = 2f1a8361-e0bc-41c3-b332-023fe627c0bb)
Add immediately AFTER Google Consent Mode script "ads_data_redaction" (~ line 49)
Note: we have been calling the script via GTM, but this is causing some issues and is not the preferred method (per Osano's docs).