0

I'm developing a rails application and I have created an introduction video that is about 10 minutes long.

I want to somehow push updates (poll?) to Google Analytics when users are watching the video because otherwise they're not displayed as active visitors after 4 minutes.

Any ideas?

2
  • Do you mean user activity at Google Analytics real-time reports? Oct 21, 2013 at 10:35
  • @buttersmai yes, exactly Oct 21, 2013 at 11:25

1 Answer 1

1

I think, you can use Google Analytics events-it will send hits to Google Analytics and show, that user do not leave the page. You can use setTimeOut or setInterval at JavaScrpt to send hits(for example, every 2 min), or you can even use Youtube API and link it with Google Analytics events.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.