|Help Centre

Using Freespee with multiple subdomains

If your site is using multiple subdomains, such as support.freespee.com, then you will need to change the way the domain is set in the cookie used by Freespee.

It can be easily done using setCookieDomain with the Freespee script.
Just add this to your Freespee script: (note the . preceding the domain name)

__fs_conf.push(['setCookieDomain','.your-domain.com']);

Here is an example of how it can look:

<script type="text/javascript"> var __fs_conf = __fs_conf || []; __fs_conf.push(['setAdv',{'id':'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx'}]);
__fs_conf.push(['setCookieDomain','.your-domain.com']);
</script>
<script src="//analytics.freespee.com/js/external/fs.js"type="text/javascript"></script>

Can't find what you're looking for?