How to Clear Adobe Target Previews

Apr 26, 2018

The 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.

javascript:(function (){var url=window.location.href;if (url.indexOf("?") > -1){if (url.indexOf("at_preview_token") > -1){window.location.href=url.split('at_preview_token',1)[0].concat('at_preview_token='); }else{window.location.href=url.concat('&at_preview_token='); }}else{window.location.href=url.concat('?at_preview_token=');}})();
From $0 to Independent
Learn to grow a business from the ground up.
Get the Newsletter






Most Recent

  1. Create Adobe Target Audience From A Cookie
  2. Adobe Target Consultant
  3. Prioritize Your Theories
  4. Generate Theories
  5. What a 50 mile bike ride taught me Energy and Efficiency
  6. Perpetual Optimization Process
  7. How to Clear Adobe Target Previews
  8. Stop Using Profile Scripts
  9. Exit Pops that Generate Revenue
  10. Adobe Target Premium Training

Before You Go!

Tell me one thing that you would like to learn more about. I'll write about it and email you when I'm done.

Email Address (Optional but recommended)