Forum Support

Shape 5
March 29, 2024, 06:03:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Google analytics inside vertex  (Read 449 times)
lmorhac
Jr. Member
**
Offline Offline

Posts: 20



« on: February 10, 2012, 03:21:04 PM »

I was about to insert google analytics code into index.php when I noticed this can be done by specifying a script within the vertex admin area under general.

I'm not having much luck with it. I have tried two approaches:
1.
pasted the script into the field directly, but it got truncated.

2.
I created a scrip x4i_ganalytics.js and copied it into the same directory on the server as index.php (/templates/hexicon_gamer).

when I inspect the source of the main page, I see following:
<!-- Additional scripts to load just before closing body tag -->
   x4i_ganalytics.js    </div>
 
<!-- End pc version --> 
What is the correct procedure for doing this?

Thanks.
« Last Edit: February 10, 2012, 04:09:23 PM by lmorhac » Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: February 10, 2012, 05:27:15 PM »

Hello,

You should be able to just paste it right in the code box in the template configuration. If it's not working for you, then you can insert it directly into the template's index.php, that's all the code is doing anyway.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.