The WorksForWeb Community Forums
Welcome to the WorksForWeb community forums. Here you can discuss WorksForWeb products with others and contribute to the rapidly growing WorksForWeb community. Please note that while WorksForWeb staff try to maintain presence on the forums, this is not the most reliable way to contact WorksForWeb staff. In case you require a timely response from WorksForWeb on an issue, please open a support ticket here. For pre-sales questions, please open a sales ticket here.

Welcome, Guest. Please login or register.
May 22, 2012, 05:31:01 PM

Login with username, password and session length
Search:     Advanced search
Added the iLister-related Boards

Rate My Site Boards Added

Merged iAuto and iRealty Support Forums together

Several new tips in the Tips and Tricks section
1,604 Posts in 625 Topics by 1,179 Members
Latest Member: bobsteam
* Home Help Search Login Register
+  The iAuto/iRealty/iLister Support Forum
|-+  iAuto, iRealty and iLister v.4.x
| |-+  General iAuto Discussions
| | |-+  Google analytics
« previous next »
Pages: [1] Print
Author Topic: Google analytics  (Read 1275 times)
bavarac
Newbie
*

Karma: 0
Posts: 2


View Profile
« on: November 25, 2008, 06:20:35 PM »

Hi,

how can i add google analytic in my iAUTO site?

When i add code to the main, index and blank.tpl ... my site dont work Sad
Logged
paulthe1
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #1 on: December 02, 2008, 03:29:44 AM »

hi,man do like this:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
  <head>
!---(here the code begin)---)
<meta name="verify-v1" content="83zTjibeswt4GOmuxD3NBHfGR4+o8I0E7sLTHqXT8Yo=" />
   <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-6427275-1");
pageTracker._trackPageview();
</script>
!---(here the code ends)---!
    <title>
        exemple{if $TITLE ne ""}:&nbsp;&nbsp;{$TITLE} {/if}
    </title>


the code for google analytics must be in main.tpl!
Logged
iron
Global Moderator
Jr. Member
*****

Karma: 0
Posts: 90


iAuto\iRealty\iLister support


View Profile
« Reply #2 on: December 04, 2008, 03:20:06 PM »

Also you should insert the Google tracker code into the {literal}{/literal} tag if you want to use it inside templates.
Logged

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Classified Software by Worksforweb Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!