Forum


HomeHomePublicPublicTips and TricksTips and TricksYouTube events and AnalyticsYouTube events and Analytics
Previous
 
Next
New Post
5/19/2015 5:17 AM
 

I have YouTube videos embedded onto a site. I want initially to know if they have been viewed.

I’ve searched and I believe this is possible using .js files and  / or Google Tag Manager

The later talks about adding code to the HTML straight after <body>, but I don’t know how to achieve this with DNN (aspx files)

Here is a link to a detailed blog post on how to achieve it on lunametrics.com

I believe that a whole host of things can be event tracked - easy, medium and hard. Here is a good article on Koozai

Links open in a new window

 
New Post
5/19/2015 5:45 AM
 

Hi Dave,

I think that Events Tracking of GA is the way to go, but I'm not sure about that in context with YouTube.

But to address the "after <body> tag" requirement, you could open up the Default.aspx file and put it there, but I don't recommend it as you will need to remember that after you do an upgrade so you can do it again.

I usually take the approach of ignoring the "straight" after <body> part of the requirement and I try to put the script as high as possible within the page. That usually means adding a simple HTML module to the highest pane on your page. Put the script inside the Module Headers under the module settings.

This is how I would go about it.

Give it a try and let us know.

Cheers,

Aderson

 
Previous
 
Next
HomeHomePublicPublicTips and TricksTips and TricksYouTube events and AnalyticsYouTube events and Analytics



Try FREE
30 days money back guaranteed