Google Analytics

Hi folks,

I need to know where I have to insert the code from Google Analytics to check my trafic site?

<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">
var pageTracker = _gat._getTracker("UA-1575434-4");
pageTracker._initData();
pageTracker._trackPageview();
</script>

Thanks for all!!!

Quote · 21 May 2008

Open the file "templates/base/_footer.html"

Place the code in that file before "</body>"

Regards,

Praveen

----
Quote · 21 May 2008

Good tip.

Quote · 3 Jun 2008

Bill -  did this work for you?  When I do this and "check status" in Google, it says "The Google Analytics tracking code has not been detected on your website's home page. "

Quote · 3 Jun 2008

Yes, I can to do this. I just made as our friend told us.

 

"Open the file "templates/base/_footer.html

 

Place the code in that file before </body>"

 

That's it! Enjoy!!!

Quote · 3 Jun 2008

Dear LHAdmin,

It will work.

If you do it in the footer of a template then it may not work if you cange the template.

But the above solution will work even if you chnage the template.

----
Quote · 4 Jun 2008

Thanks.  Yes.  I had other code it there for another affiliate program.  I found the order made a difference.  With Google first, it works.

Quote · 4 Jun 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.