Cookie Consent Usercentrics - Forum | JoomShaper
Awaiting an answer Templates

Cookie Consent Usercentrics

Asked by ASG - Anerkannte Schulgesellschaft mbH 5 years ago Last activity 4 years ago

I use the Usercentrics tool for cookie consent. In order for Usercentrics to work properly, "text/javascript" must be changed to "text/plain" in the corresponding scripts. In addition, a user-defined data attribute must be inserted, such as "data-usercentrics=Consentname".

I use helixultimate Template.

How can I do that?

6 replies

ASG - Anerkannte Schulgesellschaft mbH Asked this

Below is an explanation, translated from German.

Step 3: Adapt existing scripts

After the Usercentrics script has been integrated into your website, all existing scripts must be adapted by the above-mentioned services that you use in your website. This step is necessary so that scripts are only executed with the explicit consent of your visitors.

In order to adapt your scripts, two small adjustments are necessary.
Change script type - "text / javascript" becomes "text / plain"

The first adjustment relates to the script type. Change the type="text / javascript" to type="text / plain" in your scripts. This initially prevents the JavaScript code from being executed.

If your script has not explicitly specified the type="text / javascript", you still have to adjust it to type="text / plain", since the browser interprets and executes it as standard JavaScript without being mentioned.
Assign data attributes

In order to establish the connection to the UserCentrics Consent Management Platform and to be able to query the consent status on a script basis, your scripts require a user-defined data attribute.

This data attribute is structured according to the principle data-usercentrics="Consentname", whereby "Consentname" corresponds to the exact name of the service, as you can find it in the selection list in the generator.

Toufiq Senior Staff

You need to put your script here

https://prnt.sc/13e40zu

Note: If your script conflict with helix ultimate, then we are not responsible for your script. Cause, this script is not compatible with the Helix Ultimate

-Thanks

ASG - Anerkannte Schulgesellschaft mbH Asked this

Unfortunately, that doesn't help. The changes must be made to the scripts that were incorporated by the Helix Ultimate and SP Page Builder Pro. So as a kind of override.

Toufiq Senior Staff

Thanks for your feedback. Maybe you are not clear my previous reply. Will you please contact your cookie conset provider & i hope they will help you.

Note: Cookie Consent Usercentrics is not compatible with Helix Ultimate.

-Thanks

Stefan Hirschmann

Hello,
is there a solution to this problem in the meantime?
I am also happy to receive an answer

Log in to reply.