Sign in

Welcome.
How can we help?

Using Freespee with multiple subdomains

Topic: , Updated:

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.

This 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>
Was this article helpful?
0 out of 0 found this helpful

Comments


Not the answer to your question?

Powered by Zendesk