Skip to main content

How to test on your live site

Learn how to test a Promolayer display on your live site using the ?promolayer_test URL parameter, without showing it to real visitors.

You can test a display on your live site without visitors seeing it by adding ?promolayer_test to your URL and using display rules. The on-site preview ends when you navigate to another page, so use this method to test across page transitions.

Show the display only on your own device

  1. In the Rules tab, under Has viewed a specific page X or more times, add the following setting:

    • Match type: URL contains

    • String: ?promolayer_test

    • Count: 1 or more times

  2. Visit your site by adding ?promolayer_test to the end of your URL.
    Example: If your URL is https://example.com, go to https://example.com?promolayer_test

  3. Set the display to live mode and test. Only browsers that have visited the ?promolayer_test URL will see the display.

  4. Once testing is complete, turn off the Has viewed a specific page switch and save.

Hide the display only on your own device

  1. In the Rules tab, under Has not yet viewed a specific page, add the following setting:

    • Match type: URL contains

    • String: ?promolayer_test

  2. Visit your site by adding ?promolayer_test to the end of your URL. From that point on, your browser will no longer see the display.

Did this answer your question?