简体   繁体   中英

Time of stay on webpage

I want to know the time a user spends to fill a particular field in the page and want to trigger an event if the user spends more than 5 minutes to answer a question on that page.

I've looking at various Web Analytical tools like Crazyegg, Lucky Orange. Google Analytics for my website and i did not find any of them have this feature.

Is there any way that i can get this feature in my website.

I've been researching to get the perfect fit but in vain.

Any advice would help. Thank you.

With the help of the Google Tag Manager you should be able to do this with Google Analytics:

  1. Add a Datalayer to your page, which fires if a User starts filling your form/field.
  2. Build a Event, Listening on this Datalayer and send a Timestep (for example: Category = Form, Action = Start, Label = {{Timestamp}}) Now you know then a User started interacting with your form.
  3. Build a second Datalayer, fireing when the User sends your form. Build a Event for this and send your second Timestamp to GA (for example: Category = Form, Action = End, Label = {{Timestamp}}) - now you know how long a user needs for your form.

Trigger the Event

  1. Here we can use the same Datalayer, we used with the Event-Tracking.
  2. Build a Triger for your Event, listening on the Datalayer and then starts a Countdown (Timer-Trigger in GTM)
  3. In the Timer-Trigger rules you have to specify, that the Trigger should not fire if the second Datalayer (Datalayer-End) fired allready.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM