Sign in

Welcome.
How can we help?

Using the Javascript in test or dev environments

Topic: , Updated:

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

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

Comments


Not the answer to your question?

Powered by Zendesk