Cookies and local storage
The Sender.net JavaScript SDK stores a small amount of data on your visitors’ devices so that forms, popups and campaign attribution work correctly. All cookies are first-party: they’re set on your own domain with the path /.
Use this list to describe Sender.net in your cookie policy and to set up your consent banner.
Cookies
Section titled “Cookies”| Cookie | Purpose | Duration | Suggested category |
|---|---|---|---|
sender_subscriber_id | Identifies the contact, so visits, carts and orders are credited to them and their campaign. Set when the visitor clicks a Sender.net campaign link, submits a form or is identified by the SDK. | 30 days | Marketing |
sender_popup_shown_{form ID} | Records when a popup was last shown, to respect its display frequency. | 30 days | Functional |
sender_subscribed_{form ID} | Stops a popup from showing again after the visitor subscribed through it. | 30 days | Functional |
sender_country | Stores the visitor’s country, to preselect the country code in phone fields and show date pickers in the visitor’s language. Set when a form with a phone or date field loads. | 30 days | Functional |
{form ID} is replaced with the ID of each popup.
Local storage
Section titled “Local storage”| Key | Purpose | Duration | Suggested category |
|---|---|---|---|
sender_ecommerce_params | Stores the contact ID, campaign ID and campaign type, so visits, carts and orders are credited to the right campaign. Set at the same times as sender_subscriber_id. | No expiry; removed when an order is completed | Marketing |
Third-party services
Section titled “Third-party services”Depending on your forms and platform, the SDK may also use these services:
- Google reCAPTCHA: if a form has reCAPTCHA turned on, the SDK loads Google’s reCAPTCHA script, which may set its own cookies. See Google’s privacy policy.
- Cloudflare: to look up the visitor’s country for phone number and date fields, the SDK sends a request to Cloudflare. Cloudflare doesn’t set a cookie; the result is saved in the
sender_countrycookie. - npmcdn.com: for date fields, the date picker’s translation for the visitor’s country is loaded from npmcdn.com. No cookie is set.
- Shopify: on Shopify stores, campaign parameters from Sender.net campaign links are saved to the visitor’s Shopify cart, unless attribution is disabled.
The suggested categories are a starting point. Check them against your own cookie policy and local laws.