FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » Google Analytics
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Google Analytics [message #163150] Sun, 03 October 2010 04:31 Go to previous message
Volvospeed is currently offline  Volvospeed   United States
Messages: 17
Registered: September 2010
Karma:
Junior Member
I just tried inserting my analytics code in the footer file and got the following error after rebuilding the theme:

T_CONSTANT_ENCAPSED_STRING on line 492

Line 492 of the index.php file is:

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

Everything looks ok to me. I tried breaking out the code but had the same issue. Anyone else seen this before I spend to much time looking into it?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Adding javascript code to a php doc
Next Topic: Problems getting LDAPS to work
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Apr 27 11:39:27 GMT 2024

Total time taken to generate the page: 0.05484 seconds