# Analytics without a cookie banner (EU GDPR compliant)

**URL:** <https://community.piwik.pro/t/analytics-without-a-cookie-banner-eu-gdpr-compliant/2429>\
**Category:** Privacy\
**Created:** [June 22, 2023, 8:54am UTC](https://community.piwik.pro/t/analytics-without-a-cookie-banner-eu-gdpr-compliant/2429 "2023-06-22T08:54:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nimi](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@nimi](https://community.piwik.pro/u/nimi)\
**Post date:** [June 22, 2023, 8:54am UTC](https://community.piwik.pro/t/analytics-without-a-cookie-banner-eu-gdpr-compliant/2429/1 "2023-06-22T08:54:38Z")

</div>

Hi,

my goal is to configurate the analytics running without cookie banner (EU GDPR compliant way). I have made the configuration based on the instructions here:

[Collect data in a privacy-friendly way | Piwik PRO help center](https://help.piwik.pro/support/privacy/collect-data-in-a-privacy-friendly-way/#don't-ask-visitors-for-consent) | **Collect data without using a session ID and visitor cookies**  
**Setting:** Administration \> Sites & apps \> Privacy \> Ask visitors for consent (off) + Use a session ID (off) + Use visitor cookies (off)

However when running cookiebot scan there is found 1 marketing cookie “stg\_externalReferrer”.  
Does anyone know can this cookie be deleted without interrupting the analytics? How to delete this cookie?

Thank you so much!

---

<div class="post-metadata">

**Author:** ![asinior](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/asinior/32/1905_2.png) [@asinior](https://community.piwik.pro/u/asinior)\
**Post date:** [June 26, 2023, 6:47am UTC](https://community.piwik.pro/t/analytics-without-a-cookie-banner-eu-gdpr-compliant/2429/2 "2023-06-26T06:47:04Z")

</div>

Hi,  
Here is an article on cookies that Piwik creates for visitors: [Cookies created for visitors by Piwik PRO | Data and cookies | Piwik PRO help center](https://help.piwik.pro/support/privacy/cookies-created-for-visitors-by-piwik-pro/)

Try looking for information on the **stg\_externalReferrer** cookie in the article and adjusting its conditions mentioned in the article in the **Administration** settings so that it does not appear anymore.

---

<div class="post-metadata">

**Author:** ![nimi](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@nimi](https://community.piwik.pro/u/nimi)\
**Post date:** [June 26, 2023, 7:58pm UTC](https://community.piwik.pro/t/analytics-without-a-cookie-banner-eu-gdpr-compliant/2429/3 "2023-06-26T19:58:14Z")

</div>

Thank you for the answer. I have read the document. It seems impossible to deactivate cookie stg\_externalReferrer when cookie banner is set off?

---

<div class="post-metadata">

**Author:** ![mbaersch](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/mbaersch/32/35_2.png) [@mbaersch](https://community.piwik.pro/u/mbaersch)\
**Post date:** [June 26, 2023, 8:37pm UTC](https://community.piwik.pro/t/analytics-without-a-cookie-banner-eu-gdpr-compliant/2429/4 "2023-06-26T20:37:02Z")

</div>

if you turn “Use visitor cookies” in privacy settings off this cookie should not appear anymore(?)

---

<div class="post-metadata">

**Author:** ![nimi](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@nimi](https://community.piwik.pro/u/nimi)\
**Post date:** [June 26, 2023, 9:24pm UTC](https://community.piwik.pro/t/analytics-without-a-cookie-banner-eu-gdpr-compliant/2429/5 "2023-06-26T21:24:52Z")

</div>

It is already off and the cookie still appears ☹

---

<div class="post-metadata">

**Author:** ![asinior](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/asinior/32/1905_2.png) [@asinior](https://community.piwik.pro/u/asinior)\
**Post date:** [June 27, 2023, 9:18am UTC](https://community.piwik.pro/t/analytics-without-a-cookie-banner-eu-gdpr-compliant/2429/6 "2023-06-27T09:18:22Z")

</div>

Could you please send me a URL of the website which it concerns? You can send it under this thread or via private message.

---

<div class="post-metadata">

**Author:** ![nimi](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@nimi](https://community.piwik.pro/u/nimi)\
**Post date:** [June 28, 2023, 6:29pm UTC](https://community.piwik.pro/t/analytics-without-a-cookie-banner-eu-gdpr-compliant/2429/7 "2023-06-28T18:29:59Z")

</div>

Thank you @asinior investigating the issue! 😄 Seems that there was a bug with the cookie scanner.
