+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / GA events in Sitefinity

GA events in Sitefinity

1 posts, 0 answered
  1. Clint
    Clint avatar
    7 posts
    Registered:
    14 Apr 2014
    21 May 2015
    Link to this post

    I am having a hard time getting SiteFinity to register an Events in Google Analytics. 

    I am wondering if somebody could supply me with some proven code that I can put into a content block on a webpage to test.

    I've actually added the two variants below but have not received any success in GA's Events view:

    <a onclick="var that=this;_gaq.push(['_trackEvent','I_would_like_to','Click',this.href]);setTimeout(function(){location.href=that.href;},400);return false;" href="#400">Click 400</a>

    <a href="#orig" onclick="_gaq.push(['_trackEvent', 'I_would_Like_To', 'Click', 'book']);">Original</a> 

     

     

     

1 posts, 0 answered