Enters Viewport event in Adobe Launch

sonalid36952742

26-06-2019

I'm new to Adobe Launch. I have to track the first occurence of an element of a page. So when user refreshes or comes back to that page again, the rule should not trigger.

viewport.PNGviewport1.PNG

Can someone explain me where I'm going wrong. The event is triggered everytime  instead of first occurrence.

View Entire Topic

thomas_amsler

26-06-2019

When you refresh the page or navigate back to it from an other page, the rules are loaded anew. Launch doesn't store this for longer than one page load. The easiest way to achieve this, is to add a custom code action where you store a flag in the sessionStorage object of the browser and to check for it in a condition if the rule should be triggered.