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.




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 the Audience should be checked again. This is done by calling sitegainer.newPage(); on the first load and then every time 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



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 too fast (before the content has loaded) or too 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