Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Google Analytics for v2.3.1


kenkja

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

Link to comment
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

Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...