Jump to content
Sign in to follow this  
kenkja

Google Analytics for v2.3.1

Recommended Posts

HI All,

 

I've just tried adding http://addons.oscommerce.com/info/8175/v,23 Google Analytics for v2.3.1

 

It includes the following code alteration to includes/template_top.php

 

find </head>

 

and before add

 

<?php
 if (tep_not_null(GOOGLE_ANALYTICS)) {?>
<?php echo GOOGLE_ANALYTICS ;?>
<?php  }
?>

 

Having done the install, the google analytics key is "echo'd" on every page, which I'm guessing is not what the author expected, any clues how to resolve this.

 

thanks

 

ken


Os-commerce v2.3.3

Security Pro v11

Site Monitor

IP Trap

htaccess Protection

Bad Behaviour Block

Year Make Model

Document Manager

X Sell

Star Product

Modular Front Page

Modular Header Tags

Share this post


Link to post
Share on other sites

You don't need any addon for google analytics in version 2.3.1

 

In your admin panel go to modules>header tags, install the analytics module (same way as you do eg for boxes) and paste your code into the input field.

 

That's all

Share this post


Link to post
Share on other sites

Thanks George


Os-commerce v2.3.3

Security Pro v11

Site Monitor

IP Trap

htaccess Protection

Bad Behaviour Block

Year Make Model

Document Manager

X Sell

Star Product

Modular Front Page

Modular Header Tags

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×