More in this section
Forums / General Discussions / GA events in Sitefinity

GA events in Sitefinity

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
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