Support » Plugin: Contact Form 7 » Track Event

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    You can get the name from HTML source of the page. Where can we see your site?

    Sure! http://www.wmw.com.br/contato this is the page! I use wordpress + contact form 7

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    This is the tracking code embedded in the HTML of the page.

    <script type="text/javascript">
    	(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    		(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    		m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    	})(window,document,'script','//www.google-analytics.com/analytics.js','__gaTracker');
    
    	__gaTracker('create', 'UA-********-1', 'auto');
    	__gaTracker('set', 'forceSSL', true);
    	__gaTracker('require', 'displayfeatures');
    	__gaTracker('send','pageview');
    
    </script>

    In this case, the tracker object is ‘__gaTracker’. Also note that this code uses the Universal Analytics so you need a different function and parameters to track submissions. See the External links section at the bottom of the page you referenced.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Track Event’ is closed to new replies.