- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
03-01-2019 03:49 PM
Hello,
How do I create an event to fire, when a visitor remains on the page for more than 5 seconds, 10 seconds?
I would like to fire a Google Analytics Event when a visitor is still on the page after 5 seconds and after 10 seconds. GA is implemented through Tealium.
Solved! Go to Solution.
03-03-2019 02:52 PM - edited 03-03-2019 02:52 PM
Hi,
We achieved by using Javascript extension and adding the following event to trigger after 10 seconds
window.setTimeout(function(e) {
utag.link({
"event_name": "page_lurker"
});
}, 10000);
Remember to choose the condition to trigger on a particular pathname. Hope it helps.
Thanks,
Charul
Copyright All Rights Reserved © 2008-2023