3rd Party Analytics Code

I have a third party code I am attempting to add to my Wix site. It is a form that pops up after a 3 seconds and on each page (or should) the problem is when the code is added the form does pop up however it only pops up once and when the user closes the form via the available “X” on the pop up the form should pop back up after a certain interval in my case 5 seconds and it should pop up on each page when a new page is navigated to, however it only does it on the initial onload of the main page. In order to get the pop up again I have to clear cache and history. Any help would be greatly appreciated. You can see the code I am attempting to add below:

The code is from Zenreach I have read that accessing the DOM is not really an option with Wix? Should I change this to onready?

In order to add HTML code (the script tag is basically HTML code), you would need to add HTML component . Another option is simply adding a lightbox and creating your own form by adding the editor user inputs.

This is not html code…I know how to add html components. This code…pops up a form after a set amount of time…and again after a second interval onload…definitely not an html issue or resolution needed. Did you read my post? Zenreach is an analytics tool and in order to and do it I use the tools section and add it to the header this is not again an html issue.

You can test by typing what I have into an html component. Doesn’t work add it to the header in the tools section it works onload ONCE onload then doesn’t pop up again which it should based on interval set in zenreach…it will only pop up again upon clearing history and cache.