Ability to control how many times an interaction will trigger on page load

I’m wanting to create an interaction that happens once a page is loaded and not again for the remainder of the session. In other words, if the user returns to the page the interaction won’t happen again. Is there a way to do this?

Hi @APayne, to do this, you would need to use some custom code. Here is an article how to add custom code:

You could perhaps create some kind of flag and use the sessionstorage object, otherwise the page (all of the dom elements and head and footer code) get reloaded on page refresh. Here is a stackoverflow article, maybe this would help :slight_smile:

http://stackoverflow.com/questions/25070877/jquery-run-once-per-session

2 Likes