Block a script AriConsent doesn't recognise

Add your own service, or mark a script tag by hand so it waits for consent.

  • How-to guide
  • AriConsent
  • 1 min read
  • Updated

AriConsent recognises 18 common trackers and embeds, from Google Analytics to Spotify. For anything else, there are two ways to make it wait for consent.

Option 1: Add your own service

Go to AriConsent→Services→Your own services and add it. It is then blocked until the visitor allows its category, and it appears in your cookie declaration.

Option 2: Change the script tag

Change the tag's type and add the category it belongs to:

<script type="text/plain" data-ariconsent="marketing">
  // your tracking code
</script>

Use preferences, statistics or marketing as the category.

Still stuck?

Our helpdesk answers on working days, Norwegian time. Include your WordPress version, PHP version and the page address.

Submit a ticketor email info@arihub.com