I was thinking that I could use some javascript on the page and pass the time on page into a parameter eveytime they click on a new page.
My problem is how can I then create a trigger that says if they stayed on the page longer than 3 seconds then trigger an email?
Thanks!
Solved! Go to Solution.
Use the Munchkin API and send a synthetic Click Link or Visit Web Page event. Then a Visit/Click trigger constrained by your custom query param.
Note that using a simple timer, while useful, is quick-and-dirty and falls down if someone opens a tab in the background, etc. You need to use the Page Visibility API, where supported, to be more exact.
Use the Munchkin API and send a synthetic Click Link or Visit Web Page event. Then a Visit/Click trigger constrained by your custom query param.
Note that using a simple timer, while useful, is quick-and-dirty and falls down if someone opens a tab in the background, etc. You need to use the Page Visibility API, where supported, to be more exact.
Thanks that is very helpful, I will look into it
Can you tell us more about the use case? I hope you wouldn't send me an email after looking at the page within the next 3 seconds.
Hi Josh:
The use case is regarding tracking time on page and time on site and using that information to drive engagement and scoring models. Maybe 60 seconds or 180 seconds could potentially be used as a trigger