# Cookies and Matomo

**URL:** <https://community.sitejet.io/t/cookies-and-matomo/476>\
**Category:** Website Builder\
**Tags:** seo\_meta\
**Created:** [July 3, 2021, 5:34pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476 "2021-07-03T17:34:11Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roland\_Rossmanek](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@Roland\_Rossmanek](https://community.sitejet.io/u/Roland_Rossmanek)\
**Post date:** [July 3, 2021, 5:34pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/1 "2021-07-03T17:34:11Z")

</div>

In the preset for cookies, I can agree and disagree. What happens if I reject them? Is there an action behind it, or is that without effect?  
In the privacy policy there is a checkbox for Matomo web analytics. This is without function and I cannot uncheck it. Does the box have any function at all?

---

<div class="post-metadata">

**Author:** ![Ulf\_Siemen](https://avatars.discourse-cdn.com/v4/letter/u/df788c/32.png) [@Ulf\_Siemen](https://community.sitejet.io/u/Ulf_Siemen)\
**Post date:** [July 4, 2021, 10:22am UTC](https://community.sitejet.io/t/cookies-and-matomo/476/2 "2021-07-04T10:22:35Z")

</div>

This is a great question where I struggle with too. I also would like to have a preset or element, where the User can set cookies.

---

<div class="post-metadata">

**Author:** ![Roland\_Rossmanek](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@Roland\_Rossmanek](https://community.sitejet.io/u/Roland_Rossmanek)\
**Post date:** [July 4, 2021, 1:05pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/5 "2021-07-04T13:05:16Z")

</div>

I would have a solution as a premium customer of e-Recht24:  
“Usercentrics” provides such a tool to select and deselect cookies. The integration actually simple as follows:  
“Attention: The following elements must be inserted before all other scripts in the header and must not be loaded asynchronously!”.  
The question is how and where I have to insert this? The call works, but without function. Into the global HTML, into the header of the page, or into HTML element? Tried everything…

I can post the 3 lines of code.

```auto
<script type="application/javascript" src="https://app.usercentrics.eu/latest/main.js" id="XXXXXXXXX"></script>

```

```auto
<script type="application/javascript" src="https://privacy-proxy.usercentrics.eu/latest/uc-block.bundle.js"></script>

```

```auto
<link rel="preconnect" href="//privacy-proxy.usercentrics.eu">
<link rel="preload" href="//privacy-proxy.usercentrics.eu/latest/uc-block.bundle.js" as="script">

```

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [July 5, 2021, 2:25pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/6 "2021-07-05T14:25:31Z")

</div>

Hey there, we do actually work together with two partners regarding extended consent banners.

Have a look here:

> **[Consent Banner: ConsentManager - Sitejet Hilfe](https://hilfe.sitejet.io/article/925-consent-banner-consentmanager)**
>
> In diesem Artikel erfährst du alles wichtige zur Integration der Consent Management Lösung von ConsentManager. Inhaltsangabe Über ConsentManager Angebot für Sit

and here:

> **[Consent Banner: Usercentrics - Sitejet Hilfe](https://hilfe.sitejet.io/article/926-consent-banner-usercentrics)**
>
> In diesem Artikel erfährst du alles wichtige zur Integration der Consent Management Lösung von Usercentrics Inhaltsangabe Über Usercentrics Integration von User

Let me know if that helps! Is there anything else regarding Matomo / Statistics and Cookies you like to know?

---

<div class="post-metadata">

**Author:** ![Roland\_Rossmanek](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@Roland\_Rossmanek](https://community.sitejet.io/u/Roland_Rossmanek)\
**Post date:** [July 5, 2021, 3:58pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/7 "2021-07-05T15:58:34Z")

</div>

As I had already written at the beginning, the code was inserted into the Hader over the meta information. The popup also appears - but you can’t click anything with the mouse. On the part of the provider I did it according to instructions - copy three lines of code I manage. Any idea why it does not work would be appreciated. My browser allows scripts and cookies.

---

<div class="post-metadata">

**Author:** ![Roland\_Rossmanek](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@Roland\_Rossmanek](https://community.sitejet.io/u/Roland_Rossmanek)\
**Post date:** [July 5, 2021, 9:04pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/8 "2021-07-05T21:04:25Z")

</div>

After it does not work with the provider of the script in my Siteje page, I have to stay with the own presets. But there comes the next question directly.  
I want and need to offer the site visitor on each page that he can revoke the consent for cookies. Here I would like to offer a link that calls up the preset of the start page - or a new one. How do I achieve the call of this preset and how do I achieve that it is open on link call - so has all functions?

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [July 6, 2021, 12:14pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/9 "2021-07-06T12:14:37Z")

</div>

Hi Roland,

as this is a third-party tool, the support here is limited, unfortunately. If you like, we can check if the code has been added correctly in the website builder.

If the tool requires to be added to the header, than it should be added here:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/sitejet/original/1X/ea5fb191165db0ead6087019d836c95807c05471.jpeg)

> **[Use custom HTML, CSS, and JavaScript code - Sitejet Help](https://help.sitejet.io/article/440-use-custom-html-css-and-javascript-code)**
>
> With Sitejet templates and presets, you can master most design challenges in Sitejet without any knowledge of programming or design. It is also possible to inse

Do you Dev Tools show any error?

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [July 6, 2021, 12:15pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/10 "2021-07-06T12:15:47Z")

</div>

Maybe that thread helps to solve the second question? As a workaround?

> [@Cookie Bar only at the homepage?](https://community.sitejet.io/t/cookie-bar-only-at-the-homepage/115):
>
> Dear SiteJet, I have a cookie bar on the homepage. If I ignore the bar and click on a “blog” subpage, the bar should appear there again, right? I had the opinion that if you placed the cookie bar once on the start page, it would also appear automatically on other pages. For example, when somebody joins a subpage via Google. Why not this time? Does somebody has any idea? [https://www.centrohenrichenburg.de](https://www.centrohenrichenburg.de) (cookie bar appears) [Blog - Gesundheits- und Wellnesszentrum](https://www.centrohenrichenburg.de/blog) (no cookie bar)

---

<div class="post-metadata">

**Author:** ![Roland\_Rossmanek](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@Roland\_Rossmanek](https://community.sitejet.io/u/Roland_Rossmanek)\
**Post date:** [July 6, 2021, 3:35pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/11 "2021-07-06T15:35:24Z")

</div>

As already described, I have included the code in the Metatags field. You can see the result on the page

[www.vvb-biebrich.de](https://www.vvb-biebrich.de)  
Maybe an expert can see from the source code what the problem is. It would be a pity not to be able to use this tool, but I can’t imagine that, because many websites work with it.

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [July 6, 2021, 3:41pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/12 "2021-07-06T15:41:35Z")

</div>

I will have a look for you tomorrow morning, @Roland_Rossmanek . Did you try this out before on Sitejet? Do you have other third-party scripts active on the website?

---

<div class="post-metadata">

**Author:** ![Roland\_Rossmanek](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@Roland\_Rossmanek](https://community.sitejet.io/u/Roland_Rossmanek)\
**Post date:** [July 6, 2021, 4:14pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/13 "2021-07-06T16:14:39Z")

</div>

Not only I tried it in sitejet, but the page is created in sitejet. Project 240810 And I did not add any foreign code or scripts. I also disabled the preset from sitejet before.

---

<div class="post-metadata">

**Author:** ![Ulf\_Siemen](https://avatars.discourse-cdn.com/v4/letter/u/df788c/32.png) [@Ulf\_Siemen](https://community.sitejet.io/u/Ulf_Siemen)\
**Post date:** [July 6, 2021, 7:44pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/14 "2021-07-06T19:44:39Z")

</div>

3rd Party integrations might work, but again another subscription fee? It should be an preset integrated in sitejet as it is a Must for all Pages in the EU.….only my opinion of course 🙂

---

<div class="post-metadata">

**Author:** ![Franzi](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/franzi/32/12_2.png) [@Franzi](https://community.sitejet.io/u/Franzi)\
**Post date:** [July 7, 2021, 4:46pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/15 "2021-07-07T16:46:28Z")

</div>

> [@Roland\_Rossmanek](#):
>
> [www.vvb-biebrich.de](http://www.vvb-biebrich.de)

Hey @Roland_Rossmanek,

could you please delete all code snippets from Usercentrics that you added to your website and only add the first code you posted is the one that should be added to the meta tag field in Sitejet. Also, please make sure to change the ID “XXXXXXXXX” in this code line to the one you find in your Usercentrics’ admin panel.

```auto
<script type="application/javascript" src="https://app.usercentrics.eu/latest/main.js" id="XXXXXXXXX"></script>

```

Here is the link to Usercentrics’ implementation guide [Usercentrics Documentation](https://docs.usercentrics.com/#/direct-implementation-guide) and a screenshot of the most important part:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/sitejet/original/1X/fdc6d92b9c5a2084096ffbb3956ea213bb4bbc0b.png)

Please let me know if this worked 🙂

Hey @Ulf_Siemen, I added your request to our feature request list. At the moment we only offer the native cookie consent solution available as displayed in the CMS. There are also consent management tools that offer free versions 🙂

---

<div class="post-metadata">

**Author:** ![Roland\_Rossmanek](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@Roland\_Rossmanek](https://community.sitejet.io/u/Roland_Rossmanek)\
**Post date:** [July 8, 2021, 9:34am UTC](https://community.sitejet.io/t/cookies-and-matomo/476/16 "2021-07-08T09:34:44Z")

</div>

Hello Franzi. It works now. What is different? The integration of the code is the same as before. By your link to the documentation to “usercentrics” I have chosen a different version. This documentation was not available to me so, but via eRecht24 with almost identical content. The versions were missing there. Experts may certainly recognize the difference of the 3 versions. I do not and since it work, I am satisfied. Thanks for the link.

---

<div class="post-metadata">

**Author:** ![Franzi](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/franzi/32/12_2.png) [@Franzi](https://community.sitejet.io/u/Franzi)\
**Post date:** [July 8, 2021, 4:04pm UTC](https://community.sitejet.io/t/cookies-and-matomo/476/17 "2021-07-08T16:04:41Z")

</div>

Hey @Roland_Rossmanek, the link that we provide in our help article is the same one that I shared here, so I’m not quite sure what the difference is - it might be that eRecht24 presents the information in a different way and with all this information it wasn’t quite clear how to implement it? But I’m super happy to hear that everything is working now 🙂

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [May 17, 2024, 8:59am UTC](https://community.sitejet.io/t/cookies-and-matomo/476/18 "2024-05-17T08:59:05Z")

</div>


