SMF Support > SMF 1.1.x Support

Google Analytics

<< < (3/5) > >>

ApplianceJunk:

--- Quote from: nite0859 on June 09, 2006, 05:18:25 PM ---Personally, I put the code inside a javascript / html block in Tiny portal. It's been working fine there. I also put it inside my 'shop' .

Analytics is cool.

--- End quote ---

Good idea with the TP block.

brygida:
Thank you Harro!

for me also \ before (') worked 
at second time  :) the first i have missed one O:)

Lautermilch:

I get this error code:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in .../Themes/BlackRainV2118/index.template.php on line 178
169:
170:             current_header_ic = mode;
171:          }
172:       // ]]></script>
173: </head>
174:
175:
176: <script type="text/javascript">
177: var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
178: document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
179: </script>
180: <script type="text/javascript">
181: try {
182: var pageTracker = _gat._getTracker("UA-9788839-1");

Arantor:
Can we have some lines before that too?

iamekim:

--- Quote from: Harro on December 16, 2007, 04:42:33 PM ---Make sure that all singles quote (') in the google script part have a \ before them.
Should work fine then :)

--- End quote ---

so much help. thank you Harro. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version