Support Forums

adding google anylitics gives smarty error

This is a discussion on adding google anylitics gives smarty error within the Technical Support forums, part of the Technical Support Forums category; hi when i try to add the google code at the bottom of my page, i get a smarty error. ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 02-06-2009, 07:59 AM   #1
Junior Member
 
Join Date: Feb 2008
Posts: 22
Rep Power: 12
gboy is on a distinguished road
Default adding google anylitics gives smarty error

hi

when i try to add the google code at the bottom of my page, i get a smarty error.

Error "var" does not exist, it is the code google gave me. placing it just before the </body> as instructed. on the layout.tpl file

any ideas,
gboy is offline  
Old 02-06-2009, 08:05 AM   #2
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,076
Rep Power: 62
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

If it is javascript, you need to put {literal}{/literal} tags around it.

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline  
Old 02-06-2009, 10:28 AM   #3
Junior Member
 
Join Date: Feb 2008
Posts: 22
Rep Power: 12
gboy is on a distinguished road
Default

ok will try it
gboy is offline  
Old 02-06-2009, 07:02 PM   #4
Senior Member
 
Join Date: Jul 2008
Location: Star, Idaho
Posts: 131
Rep Power: 13
tdisraeli is on a distinguished road
Default

Quote:
Originally Posted by gboy
ok will try it
gboy - If you want to try Traffic Tracker analytics let me know and I'll set you up with a free extended trial. GA is free but once you see how user friendly TT is you'll love it. Since TT is no longer my primary source of income I also offer special pricing if you want to stay on board.
__________________
Todd - v4.0.9 Hosted

Traffic Tracker - Website Performance Management
"Ask About Our Extended Full-Featured Trial for 68 Clients"

Jiffy Leads - Prescision Targeted Marketing Lists
tdisraeli is offline  
Closed Thread

Tags
javascript

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Google Analytics gabs Technical Support 10 01-27-2009 05:02 PM
Adding google search box to template sunshinemike Technical Support 2 01-13-2009 11:27 AM
problem with adding google search suresh Technical Support 2 08-25-2008 10:59 AM


All times are GMT -4. The time now is 11:15 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0