RSS Training

print E-mail RSS Bookmark us Share

Feed Training

Login to access more blogs

Add Google Analytics Easily to XLsuite Sites

Posted by Lee Down on 11-08-2008        Rating: rating rating rating rating rating

Tags: none

Google Analytics Liquid Tag

{% google_analytics agent: 'UA-123456-1' %}

Replace UA-123456-1 with the code Google gives you. This tag generates code similar to the following:

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-123456-1";
urchinTracker();
</script>

Available Parameters

  • agent: The code that identifies your website. Google will provide you with this number. The number follows this format: UA-123456-1.

Comments(0)

Make a comment