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:
- Access your web console on your site and type localStorage.setItem('sdsat_stagingLibrary', true) .
- Press Enter .
- Type _satellite.setDebug(true) , then press Enter .
- 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.
- When finished, run localStorage.setItem('sdsat_stagingLibrary', false) , then press Enter .Step Result