WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Plugin causing JS errors with Bluburry player (14 posts)

  1. ccolotti
    Member
    Posted 1 year ago #

    Hey yoast!

    I was surprised to fnd this but after working with the bluburry forums it seems the your plugin is causing a JS error with their flash player. If you look in FF the flash player is not working and the stream defaults to open in a new page.

    when I disabled the Google analytics plugin their player started working. Just curious if you have any thoughts :)

    Cheers!

    http://www.v-fit.us/podcasts/episode-9-open-discussion/

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  2. ccolotti
    Member
    Posted 1 year ago #

    it seems to be isolated to the Google analytics plugin for sure. I even disabled the caching to be sure, but the only fix is to disable your plugin. Obviously with your plugin quality I was surprised :)

  3. ccolotti
    Member
    Posted 1 year ago #

    I should note when I am logged in as an admin on that page the player works so whatever is disabled for tracking for logged in admins is removing the issue.

  4. ccolotti
    Member
    Posted 1 year ago #

    One of the bluburry forums guys said he fixed this very same issue with you last summer if that helps :)..

  5. swthomas55
    Member
    Posted 1 year ago #

    I ran into this tonight. Specifically, when the 'track outbound links & downloads' option is enabled, this onclick attribute is rewritten incorrectly from

    onclick="return powerpress_embed_html5a('1234','http://media.blubrry.com/.../foo.mp3'

    to

    onclick="javascript:_gaq.push(['_trackEvent','download','http://media.blubrry.com/.../foo.mp3']);
    return powerpress_embed_html5a("1234','http://media.blubrry.com/.../foo.mp3');"

    Note that the single quote in front of the first parameter to powerpress_embed_html5a has been changed to a double quote by the rewrite. (I added a newline and shortened URLs to make it easier to read.)

    Turning off download tracking works around the problem.

  6. ccolotti
    Member
    Posted 1 year ago #

    Where is this code? Is this a Powerpress file that needs updating? If so I can ask them to update it on their side so it's captured on their next push of the plugin.

  7. ccolotti
    Member
    Posted 1 year ago #

    So I am not sure still if this is a Yoast GA bug or a PowerPress bug, but neither side is commenting on the permanent fix :/

  8. swthomas55
    Member
    Posted 1 year ago #

    Powerpress is generating the correct onclick code (the first excerpt) in the function powerpressplayer_build_html5audio in the file powerpress-player.php. Something in the analytics plugin is changing it to the incorrect onclick code (the second excerpt). I do not believe that this is a fault in PowerPress -- their code works correctly if the 'track outbound links & downloads' option is turned off in the analytics plugin.

  9. ccolotti
    Member
    Posted 1 year ago #

    so we need Yoast to comment on this :/ I don't want to turn off track outbound.

  10. swthomas55
    Member
    Posted 1 year ago #

    The latest version of PowerPress does not have this problem.

  11. ccolotti
    Member
    Posted 1 year ago #

    Is there a new version that has been released?

  12. ccolotti
    Member
    Posted 1 year ago #

    Yep I see it!

    "Added logic to fix the play in new window and embed links if Joost de Valk's Google Analytics for WordPress plugin has "Track outbound clicks & downloads" enabled."

    WOOT!

  13. bhod
    Member
    Posted 1 year ago #

    even i have the same problem when Track outbound clicks & downloads is disable the flash player is working. but i don't want to disable that. i have wordpress 3.5.1. help

  14. ccolotti
    Member
    Posted 1 year ago #

    This was supposed to be fixed in the latest Bluburry update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.