Results 1 to 4 of 4

Thread: tracking outbound clicks in fadeslideshow.js with Google Analytics

  1. #1
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default tracking outbound clicks in fadeslideshow.js with Google Analytics

    I would like to track outbound clicks to urls included in the code of fadeslideshow.js. I have a page with multiple slide shows running at http://wildwoodba.org/
    Does anyone know how to do this?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,030
    Thanks
    44
    Thanked 3,211 Times in 3,173 Posts
    Blog Entries
    12

    Default

    The code on that paged labeled:

    Code:
    //Code source http://www.carronmedia.com/extend-google-analytics-with-jquery/
    should do that, but it's not being executed due to the slideshow script's call to noConflict mode. First thing I would try is changing:

    Code:
    <script type="text/javascript">  
    //Code source http://www.carronmedia.com/extend-google-analytics-with-jquery/
    $(document).ready(function(){
    to:

    Code:
    <script type="text/javascript">  
    //Code source http://www.carronmedia.com/extend-google-analytics-with-jquery/
    jQuery(document).ready(function($){
    That should allow the tracking code to work in the noConflict environment.

    The browser cache may need to be cleared and/or the page refreshed to see changes.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks - code modified

    I have modified the code as you suggested and have clicked on a number of images. Will check the event tracking record tomorrow and get back to you. Thanks for your help

  4. #4
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The modified code worked. We are now tracking clicks to websites off the fadeslideshow images. Thanks again for helping.

Similar Threads

  1. Adding Google Analytics Click Tracking to Ultimate Fade-in slideshow (v2.4)
    By simonrigga in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 04-17-2013, 03:29 PM
  2. Iframe traffic in google analytics
    By davelf in forum HTML
    Replies: 3
    Last Post: 10-05-2012, 08:09 AM
  3. ie7 / ie8 error from google-analytics.com/ga.js
    By brainbuzzmedia in forum JavaScript
    Replies: 2
    Last Post: 12-03-2010, 02:24 PM
  4. ultimate slideshow - google analytics
    By jkanko in forum Dynamic Drive scripts help
    Replies: 10
    Last Post: 12-21-2008, 12:00 AM
  5. Tracking Clicks
    By Kayty in forum Looking for such a script or service
    Replies: 2
    Last Post: 04-04-2008, 03:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •