Inactive User
4 years agoOneTrust Cookies Consent
Hi, has anyone yet used OneTrust to add Cookie Consent to a Khoros Community ? If yes, what was the process to make that work ?
OneTrust has test & production environments and uses different scripts for each. Any guidance on how that can be implemented in Khoros - i.e. using one script on Khoros staging and a different one in Production?
We are planning on injecting the script objects into the HTML <head> using the "wrapper" of the skin we are using on our site.
abeshey_bpc , that's no problem. There are a couple of different ways that you can differentiate between stage and prod and ensure that the correct code snippet is used in each case.
The simplest approach would be something like this:
<#if config.getString("phase", "prod") == "stage">
... YOUR STAGE ONE TRUST SNIPPET HERE ...
<#else>
... YOUR PROD ONE TRUST SNIPPET HERE ...
</#if>