Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Google Analytics Tutorial - wrong code?


Reply


342 Views

Avatar
Lemonie

Community Member, 70 Posts

23 May 2012 at 8:57pm

I have been following this tutorial ...

http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/

After following all the instructions I get the following error after flushing.

Parse error: syntax error, unexpected $end in /var/sites/h/homelesshounds.org.uk/public_html/GoogleAnalytics/Code/GoogleAnalyticsExtender.php on line 28

I removed the last '}' and it said the same but 'on line 27'.

Is the code wrong?