🛠️ [Troubleshooting] How to avoid being assigned to a test – the optout method

The opt-out method enables you to know if a running AB Tasty campaign is causing an issue on your website.




When should you use it?


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.

How to use it


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: http://www.abtasty.com/#abtastyoptout=1


For the parameter to be taken into account, don’t forget to refresh the page once you have added this to the URL. 

How does it work?


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.

Was this article helpful?