# Is there a \_pk\_ref cookie like in Matomo

**URL:** <https://community.piwik.pro/t/is-there-a-pk-ref-cookie-like-in-matomo/5299>\
**Category:** Data collection and tags\
**Created:** [August 12, 2025, 7:34am UTC](https://community.piwik.pro/t/is-there-a-pk-ref-cookie-like-in-matomo/5299 "2025-08-12T07:34:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Martin](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Martin](https://community.piwik.pro/u/Martin)\
**Post date:** [August 21, 2025, 7:43am UTC](https://community.piwik.pro/t/is-there-a-pk-ref-cookie-like-in-matomo/5299/4 "2025-08-21T07:43:00Z")

</div>

Hi @jfidala , I am using a custom setting due to the unauthorised setting of piwik cookies, see one of my posts here [Piwik sets Cookies without consent stg\_ - Privacy - Piwik PRO Community](https://community.piwik.pro/t/piwik-sets-cookies-without-consent-stg/3507/8)

There is no double tracking etc. The meta data gets lost in our commerce SPA due its loading the sales application. Thats why I asked if there is a Piwik data I can reuse to clear the ref data when its empty vs a known source.

---

_[View the full topic](https://community.piwik.pro/t/is-there-a-pk-ref-cookie-like-in-matomo/5299)._
