Sometimes you want to measure the value of your content by triggering a conversion when someone spends a certain number of seconds on your page. This can be useful to fight fraudulent traffic, to measure the quality of your content, and create custom audiences.
You can accomplish that using the tracking snippet:
This code will trigger a
LongVisit conversion after 10 seconds the user has been on the page.
You can update the time clock as you see fit based on the following encoding.
- 10 seconds is encoded
- 120 seconds is encoded
Find out more about time encoding here.
Learn more about triggering custom events here.