Note: On the root page or Index page, you have to add pixel code. You can copy it from the pixel page.



In traditional websites, when a user navigates from one page to another, the associated HTML, Javascript, CSS, etc is rendered each time new page loads. In SPAs, all of the necessary code is loaded once and changed when needed in response to user actions. The page does not reload during the entire user session. The URLs might change but that is to give the perception of logical pages.


For a single-page website, the page does not reload during the entire user session, so when your application loads content dynamically and updates the URL in the address bar, at that time, this line of code will reload pixel services.


Whenever a visitor routes from one screen to another screen,  the below line of code will reset/reload pixel code. So add it 

on route change events or trigger it when you change the address bar URLs.


Only for single page websites or client-side rendering website:

if (window.wiser) {
  window.wiser.resetNotif(window.location.href);
}





Still, if it is not working, please connect with us on support@wisernotify.com or message to our live chat support team. We will help you with this process.