This guide will help explain how both cookies work and how you can use them together to get the most conversions.
- How campaign Specific Cookies Work in an Campaign
- How Global Cookies Work
- How to Use Campaign Cookies in Conjunction with the Global Cookie
- Frequently Asked Questions
How Campaign Specific Cookies Work in an Campaign
Individually, campaigns can be configured to set cookies in the browser based on the visitor’s actions. To configure the individual cookie settings for your campaign, select the Setup tab in the campaign builder.
In the Setup panel you’ll see the Cookie Duration and Success Cookie Duration options.
- Cookie Duration – The length of time before the campaign will display again to the user once they exit your campaign (defaults to 30 days). Set to 0 to prevent cookies from being set.
- Success Cookie Duration – The length of time before the campaign will display again to the user once they successfully opt in to your campaign (defaults to value of exit cookie). Set to 0 to prevent cookies from being set.
These cookie settings are for this particular campaign ONLY.
You have the option of setting one cookie value that controls how often the campaign loads whether the user exits or opts into your campaign, and a second option with the Optin Success Cookie Duration to control how often the campaign appears again after the visitor has opted into your campaign.
Also, if they sign up on your first campaign they could still see your other campaigns you’ve set to load across your site.
How the Global Cookies Work
Global Cookies work across all of the campaigns on your site. You can find it by selecting the User Icon on your dashboard.
Next, select Sites.
Find the domain, and click its Edit button.
On the next page, you can then set the Global Interaction Cookie and the Global Success Cookie.
- Global Interaction Cookie: Entering a number of days (e.g. 30) will set a global cookie once any campaign has been closed by the user. This global cookie will prevent any other campaigns from loading on your site for that visitor until the cookie expires. Defaults to 0 (no global interaction cookie).
- Global Success Cookie: Entering a number of days (e.g. 30) will set a global cookie once any campaign has resulted in a successful conversion. This global cookie will prevent any other campaigns from loading on your site for that visitor until the cookie expires. Defaults to 0 (no global success cookie).
Global Cookies allow you to prevent ANY campaigns from being seen based on the visitor’s actions. Even if you have 150 different campaigns across your site.
How to Use Campaign Cookies in Conjunction with the Global Cookie
Now you may be wondering: “How can I use the individual and global cookie options successfully?” Since the goal is to convert leads, then once you have a lead, you probably don’t need to interrupt their experience with popup campaigns anymore. Therefore, you could do the following:
- Campaign Cookie: 7 Days
- Global Success Cookie option (for the site): 90 days.
In this setup, you give the user opportunities to sign-up via an campaign once-a-week. But once they do sign-up, they won’t see any popup campaigns for 3 months! During this time, you can begin drip marketing strategies, etc.
Do you have subdomains that use the same campaigns? Check out our article on how to make campaign cookies persist across subdomains!
Frequently Asked Questions
Q: How the Session Cookies Work
A: Session Cookies are utilized to determine new visitors from returning visitors. You can target new and returning visitors in the Visitors who are new vs. returning display rule.
The OptinMonster user can not manually set or remove these cookies for your web visitors.
Session cookies are deleted when the browser is quit, except if the settings contradict that in Chrome or Firefox.
For more information, see the following links:
Most of the time, if you quit your browser, the session cookie goes away. But if you change your Chrome settings, as described in the StackOverflow link above, then the session cookie could stay around after your close Chrome, etc.
Q: Can I make campaign cookies persist across subdomains? If someone closes a campaign on ‘blog.domain.com’ can I also hide that campaign from ‘shop.domain.com’?
A: Yes, you can do this with our cross subdomain cookies feature!