Cookie Consent Usercentrics - Question | JoomShaper

Cookie Consent Usercentrics

AM

ASG - Anerkannte Schulgesellschaft mbH

Template 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?

0
6 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #18421

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Are you want to know that, where you should use the script? Please explain more details.

You can use our cookie consent plugin https://www.joomshaper.com/joomla-extensions/cookieconsent

-Thanks

0
AM
ASG - Anerkannte Schulgesellschaft mbH
Accepted Answer
4 years ago #18434

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.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #18454

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

0
AM
ASG - Anerkannte Schulgesellschaft mbH
Accepted Answer
4 years ago #18470

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.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #18480

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

1
SH
Stefan Hirschmann
Accepted Answer
4 years ago #49911

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

0