|Help Centre

Using the Javascript in test or dev environments

If you are extensively using the Javascript in your test and/or development environment, you will most likely run into issues where our backend is blocking requests.

The correct way to use our Javascript, when the site is not in production, is to set test mode to true:

__fs_conf.push(['setTestMode', true]);

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(['setTestMode', true]);
</script>
<script src="//analytics.freespee.com/js/external/fs.js"type="text/javascript"></script>

Can't find what you're looking for?

Powered by Zendesk