The optout method enables you to know if a running AB Tasty campaign is causing an issue on your website.
When to use it?
In case of a problem on your website (infinite loop, blank page, internal errors, etc.) that you want to understand quickly in order to correct it. Using the optout method allows you to deactivate AB Tasty momentarily only on your browser to better analyze whether or not a running campaign is causing the problem.
How to use it?
To use this method, you must add the #abtastyoptout=1 setting at the end of the URL of the page you have identified as having an issue. Example:
In order for the parameter to be taken into account, don’t forget to refresh the page once you have added it to the URL.
How does it work?
Using this parameter creates a cookie in your browser to store the optout information.
This cookie will block the AB Tasty tag and will 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 that you are not assigned to any campaigns for the moment.
To unblock the tag, you have to delete your cookies (or at least the “ABTastyOptout” cookie). Once this is done, the information will no longer exist and you will be able to see your campaigns again.