Change to correct Audience mode

Manual activation

You must use the third mode (Manual activation – sitegainer.newPage();) to be able to use Symplify on dynamic websites.

 

mceclip0.png

 

The ”On load & URL change” works great most of the time but sometimes it takes a while after the URL has changed until the new content is loaded. Then it might be better to make a callback to SiteGainer from the app when new content is loaded and Audience should be checked again. This is done by calling sitegainer.newPage(); on first load and then everytime content is changed on the site. This callback should be placed at the same spot you probably added the event push for Google Analytics that tracks Page Visits.

 

 

On load & URL change

mceclip1.png

 

If you aren't able to add this callback you can try to use our second mode and see if that works for your website. This might work well if your URL changes when the visitor navigates, however audience might be evaluated to fast (before the content has loaded) or to late (which can cause "flickering")

Please make sure to open up a preview for your project and check that your changes work on navigation between pages where Audience should be true and pages where Audience should be false, and vice versa. If this doesn't work well, please use Manual mode (see above).

 

 

Doing changes on dynamic websites

 

 

Was this article helpful?
0 out of 0 found this helpful