skip to Main Content

Note: This article is about Test and Production Environment. For an article about the Persoo Bar in the live page, see article about Persoo Bar.

Any changes made in Persoo Administration are running only in Test Environment by default. That means normal visitors cannot see the changes until they are Published.

Turn on Persoo Test Environment with URL parameter:

https://www.yoursite.com/?persooEnvironment=test

Or use the browser console (usually opened by F12):

persoo('setEnvironment','test')

Technical details on switching Persoo Environments

Note: Url parameters have higher preference than cookies, which have higher preference than config parameters.

If a developer need to see Persoo Test Environment on your test/devel domain/environment, use the same Persoo Snippet as in your production, but set up cookie persooEnviroment before Persoo Snippet is loaded.

This can be done by url params on the first page view (then the last setting is saved to cookies) — i.e. https://www.yoursite.com/?persooEnvironment=test

If your server does not support custom URL parameters, you have to use the console, Snippet or cookie approach.

Back To Top
×Close search
Search