[Troubleshooting] How to avoid being assigned to a test – the optout method
Last updated
Was this helpful?
Last updated
Was this helpful?
The opt-out method enables you to know if a running AB Tasty campaign is causing an issue on your website.
You should use the opt-out method if you encounter a problem on your website (infinite loop, blank page, internal errors, etc.) and you need to understand quickly to correct it. Using the opt-out method allows you to deactivate AB Tasty momentarily only on your browser to analyze whether a campaign is causing the issue.
To use this method, add the #abtastyoptout=1 code to the end of the URL of the page you have identified as having an issue. For example:
For the parameter to be taken into account, don’t forget to refresh the page once you have added this to the URL.
This parameter creates a cookie in your browser to store the opt-out information.
This cookie will block the AB Tasty tag and make all campaigns inactive. This can be verified by checking the ABTasty.results value in the console.
Undefined means that the AB Tasty tag is deactivated, and you are not assigned to any campaigns at the moment.
To unblock the tag, you should delete your cookies (or at least the ABTastyOptout cookie). Once deleted, you’ll be able to see your campaigns again.