1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Bug Video Tracking - howto or broken?

Discussion in 'Better Analytics' started by Tobias Conrad, Dec 23, 2015.

  1. #1
    hi i installed Better Analytics and do not see any charts for the youtube videos on my page.
    what to do?
     
    Tobias Conrad, Dec 23, 2015 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    What URL are you running Better Analytics that has a YouTube video?
     
    digitalpoint, Dec 23, 2015 IP
  3. Tobias Conrad

    Tobias Conrad Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    saleswonder.biz/blog-landing-page/
     
    Tobias Conrad, Dec 23, 2015 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    This JS file you have is overriding the YouTube IFrame API functions:

    http://saleswonder.biz/wp-content/themes/enfold/js/shortcodes.js?ver=3

    Specifically, this part of that file is basically taking over the YouTube Iframe API functions:

    window.onYouTubeIframeAPIReady = function(){ $('body').trigger('av-youtube-iframe-api-loaded'); };
    Code (JavaScript):
    Not sure why it's doing that... you would want to talk to the developer to ask them why they are taking over the YouTube API there (maybe they are doing their own stuff with YouTube events).
     
    digitalpoint, Dec 23, 2015 IP
  5. Tobias Conrad

    Tobias Conrad Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    thanks. i will ask the en fo ld theme developer.
    Please make some examples how i need to integrate youtube videos that better analytics could track them?
    i need have a responsive, auto playing video with rel=0 (no video suggesttions made after playing).
    just give a solution and we are finish this topic soon.
     
    Tobias Conrad, Dec 23, 2015 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    You just use the normal embed code from YouTube. The HTML isn't the issue. The issue is that script is taking over control of YouTube API for some reason.
     
    digitalpoint, Dec 24, 2015 IP
  7. Tobias Conrad

    Tobias Conrad Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #7
    santegra-international.com there is a youtube video with embed code but still no events in GA.
    does tracking changes when i change this options?
    When To Run Analytics Code
    Location For Analytics Code
     
    Tobias Conrad, Jan 8, 2016 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    That site has the exact same issue. It has a shortcodes.js file that is taking over the YouTube API.
     
    digitalpoint, Jan 8, 2016 IP