Show Menu

Test unpublished rules for Akamai hosting

Test unpublished rules from your console if you use Akamai hosting.
The Switcher plug-in is often the easiest way to test. See Search Discovery plug-ins in the Dynamic Tag Management Product Documentation for more information.
The following steps show how to test without using the Switcher plug-in:
  1. Access your web console on your site and type localStorage.setItem('sdsat_stagingLibrary', true) .
  2. Press Enter .
  3. Type _satellite.setDebug(true) , then press Enter .
  4. Refresh the page.
    This action loads your staging library and sets the debugger, so that you can see details of all available (published / unpublished) rules firing on the page.
  5. When finished, run localStorage.setItem('sdsat_stagingLibrary', false) , then press Enter .
    Step Result