﻿jQuery(
    function(){
        $('a[href$=".pdf"]').click(
            function(){
                // Track as event instead of page view                                                            
                _gaq.push(['_trackEvent', 'Download', 'Pdf', this.href]);                                
                
                // Add a delay to give GA the best chance to record it
                setTimeout(function() { var x = 1; }, 200);
            }
        )
        $('a.pdf').click(
            function() {
                // Track as event instead of page view                                                            
                _gaq.push(['_trackEvent', 'Download', 'Pdf', this.href]);    
                
                // Add a delay to give GA the best chance to record it
                setTimeout(function() { var x = 1; }, 200);
            }
        )

    }
);


