How to Make OptinMonster Cookies Cross Subdomains

Do you want to show the same campaign across multiple subdomains, but hide that campaign on all subdomains once a visitor has closed the campaign or converted once? Our new cross subdomain cookies feature makes this easy! Use this guide to learn how to make your OptinMonster cookies persist across subdomains.

This guide assumes you are already familiar with how campaign specific cookies work in OptinMonster.

How to Enable Cross Subdomain Cookies

To make your campaign cookies cross subdomains, select the Setup tab in the campaign builder.

Choose the Setup Tab when editing your campaign to setup your optin.

In the Setup panel enable Cross subdomain cookies.

cross-subdomain-cookies-enabled

Save your campaign and that’s it! Any campaign-specific cookies set on one subdomain will persist through to other subdomains.

This feature only allows cookies to persist across subdomains, like from ‘blog.domain.com’ to ‘store.domain.com’. Cookies will not persist from one domain to another, such as from ‘domain.com’ to ‘website.com’.

Want to hide your campaigns from people who are already subscribed? See our guide on how to hide OptinMonster from existing newsletter subscribers.


Frequently Asked Questions

Q: Can I make the cookies persist across other domains, not just subdomains?

A: No, this feature only allows cookies to persist across subdomains, like from ‘blog.domain.com’ to ‘store.domain.com’. Cookies will not persist from one domain to another, such as from ‘domain.com’ to ‘website.com’.