Frequently Asked Questions
How do I access the Freshpaint Cookie?
Freshpaint stores data in a cookie that can be retrieved, parsed, and used as needed for your use case. Some of the data stored includes attribution parameters such as UTMs or click identifiers, device_id
, and more.
The data lives on the freshpaint
object in the browser window, and is accessible via freshpaint.cookie
, where you can get specific properties through the freshpaint.cookie.props
.
Accessing the raw cookie, such as through the document.cookie
method is not supported, since the cookie is compressed on page load in order to streamline performance and prevent issues with the size of the cookie. This is why we suggest accessing the data directly through freshpaint.cookie
.
Last updated
Was this helpful?