The query string parameters in the URL of a Pinterest tag network request contain data sent to Pinterest from advertiser websites.
HTTP cookies, or web cookies, are small pieces of data that work like receipts for websites you visit while browsing the internet. Domains create stored information on a person’s browser while the person browses the site. For example, cookies allow websites to keep track of the items in your cart as well as other pieces of information.
You can view these parameters to verify whether your tag is working correctly.
We recommend checking the following query string parameters for the Pinterest tag:
- loc: location URL
- ref: referrer URL
- if: (boolean) whether the tag fired from within an iframe
- sh: screen height
- sw: screen width
- em: hashed email address value
- tm: tag manager that was used, if any
The Pinterest tag reads the following cookies:
_pinterest_sess is the Pinterest login cookie. It contains user ID(s), authentication token(s) and timestamps. If the person is logged out, authentication tokens are deleted but we leave the cookie present. We use the logged out user ID(s) to optimize the person’s experience and measurement.
_pinterest_ct and _pinterest_ct_rt are identical. They contain a user ID and the timestamp at which the cookie was created.
_derived_epik is placed by the Pinterest tag when a match is identified when no cookies are present, such as enhanced match.
_pin_unauth is a first party cookie which groups actions for users who cannot be identified by Pinterest.
_pinterest_ct_ua is identical to _pin_unauth, but as a third party cookie.
_routing_id is a first party cookie that helps ensure that our website users are being directed to the latest version of Pinterest.com.
The Pinterest tag creates and accesses cookies in a first-party context on your site domain, providing better visibility into the Pinterest traffic on your site. You can always delete first-party cookies.
The Pinterest tag will redirect tag requests to a third-party cross-device graph. They will take the form of ct.pinterest.com, pinterest.adsymptotic.com, ct.pinterest.com. If you’d like to opt out of our cross-device feature, please
The cookies are persistent for one year from when you install the tag but can be deleted by the person at any time.
Learn how to