SMF Support > SMF 1.1.x Support

Google Analytics

<< < (2/5) > >>

efbl:
Hello,

I have problem with Google Analytics tracker, the forum returns me an error when I reload it.

I use SMF 1.1.4 and Blue Blaze theme.

--- Code: --- // The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>

<script type="text/javascript">
[ * * * Google script * * * ]
</script>


</body></html>';


--- End code ---

Harro:
Make sure that all singles quote (') in the google script part have a \ before them.
Should work fine then :)

efbl:
Tracking code installed. Thank you, Harro!

foge:

--- 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 ---

What a coincidence - I desperately needed this information just when SMF server got this meltdown. I found numbers of solutions which weren't working. I even searched pages where I couldn't read anything else than these scripts, Arabic, Asian languages, what ever. Internal search is still not working here, but I found this with google search and after trying to do this three days and then see how simple solution there is, makes me wanna scream :) Thx Harro!

jarhaa:
I tried this solution too but it didn't help. I am using "SlickPro" theme from metalcore.
Should I put that slash before EVERY (')   ?

Edit. I got it working... Needs to be JUST before </body>   :-\

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version