By default, once Persosa is loaded on your web page, it will automatically render personalized content based on the experience the visitor is in.

Depending on how your site is built, you may need to tell Persosa explicitly when you want it to render elements in the interface. This is especially true if you rely on frameworks like Angular or React, where the DOM elements aren't actually loaded when the browser executes its DOM loaded event.

Disable Auto-Render

To disable auto-render, set autoRender to false when initializing the Persosa tracking code:

persosa('init', '<ACCOUNT ID>', { autoRender: false });

Manually trigger rendering

Now, on your page, whenever you want Persosa to render modifications, simply call persosa('render')

Did this answer your question?