Jump to content

HTML-Editor won't accept "Script"-Link


Tobias

Recommended Posts

Hello everybody,

For an adaptation to the GDPR, I wanted to include an opt-out cookie link in my privacy policy that allows Google Analytics to be disabled on mobile devices by the user. However, the editor does not seem to accept the necessary link:

 

<a href="javascript:gaOptout()"> Disable Google Analytics </a>


I think it's beause of the javascript, but I don't know how to deactiviate this "feature". Does anyone have any idea how to make it work?

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...