How to Clear Adobe Target Previews
Apr 26, 2018The Adobe Target preview links are a great way to QA your test to make sure they’re set up correctly before going live. The persistence feature is also helpful because it keeps you in the test on refreshes and subsequent pages.
And while it does have its benefits, at times, it has also caused me much frustration. This often happens when I have had to set up two different Target tests on the same day.
For the first test, I have used the preview link and it works great. But when I go to set up the second test, sometimes it seems like the preview link for the second test doesn’t work properly. I have sat there pulling my hair out wondering why its not working.
You would think that using the preview link for the second test would always overwrite the first, but it doesn’t seem to work that way. Its like you are stuck in the first preview, even though you have used the preview link and moved on to the second test.
The solution is to clear yourself out of all previews. To do this, you need to add the parameter at_preview_token= to the url. To avoid having to type this over an over again, because I use it so frequently, I have created a bookmark with some JavaScript. Simply add the following JS to a bookmark in your browser. After you are done previewing a test and before starting another, click the bookmark. You will be cleared from all Adobe Target previews.