AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
4.7K members online now
4.7K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Tracking Activity

MSL
Visitor ✭ ✭ ✭
# 1
MSL
Visitor ✭ ✭ ✭

Hello,

 

Once users go on to my web page, they must click on images that will pop up a third party video player. How can I determine their movement and what they have watched/clicked on?

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by Zee2 (Google Employee)
October 2016

Re: Tracking Activity

Top Contributor
# 2
Top Contributor

Hi,

 

You can fire virtual pageviews or events when the images are clicked.

 

Your html for the link will look like this for firing the virtual pageview:

<a href="popup.html" onclick="ga('send', 'pageview', '/video-name');">Video Popup</a>

Basically you'll see each click on a video link as a pageview in the reports.

 

Or for firing an event:

<a href="popup.html" onclick="ga('send', 'event', 'Videos', 'play', 'Video Name');">Video Popup</a>

Please check the document below about event tracking:

https://developers.google.com/analytics/devguides/collection/analyticsjs/events

 

Hope this helps, let me know if you have questions.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

View solution in original post

Marked as Best Answer.
Solution
Accepted by Zee2 (Google Employee)
October 2016

Re: Tracking Activity

Top Contributor
# 2
Top Contributor

Hi,

 

You can fire virtual pageviews or events when the images are clicked.

 

Your html for the link will look like this for firing the virtual pageview:

<a href="popup.html" onclick="ga('send', 'pageview', '/video-name');">Video Popup</a>

Basically you'll see each click on a video link as a pageview in the reports.

 

Or for firing an event:

<a href="popup.html" onclick="ga('send', 'event', 'Videos', 'play', 'Video Name');">Video Popup</a>

Please check the document below about event tracking:

https://developers.google.com/analytics/devguides/collection/analyticsjs/events

 

Hope this helps, let me know if you have questions.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital