Bing Offers Free Reverse IP Service Google Books Let You Preview the Books Then Decide to Buy or Not
Aug 08

I am not sure if exist Google Analytics module for Pligg,  but after search I found an easy way to add Google Analytics script to Pligg CMS.

Open footer.tpl, find:

{checkActionsTpl location="tpl_footer"}

insert the following code before it,

{literal}<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol)
? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost
+ "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-903858-7");
pageTracker._trackPageview();
} catch(err) {}</script>
{/literal}

Leave a Reply

preload preload preload