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
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 Display Settings option in the campaign Builder.
In the Display Settings 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).
- 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).
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 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 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 do the session cookies work?
A: If you set the campaign cookie duration to 0, the campaign will still set session cookies. This allows for MonsterChain functionality as well as prevents the campaign from showing to the user continuously as they browse your site.
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!