Integrating Visitor Analytics with your OS Commerce site

After you have copied your Plumb5 scripts,

open this file on your oscommerce site:

\catalog\includes\footer.php

Scroll to the bottom of the file paste in your code from plumb5.

Save the file, upload to your live site and that’s it.

Visitor Analytics for OS Commerce

Customer Data Unification

You will have to manually add the text in your Footer’s file.

The path to the file is: \catalog\includes\footer.php

Add this below code snippet, as illustrated in the below screen

  $addresses_query = tep_db_query(“select customers_email_address from customers where customers_id = ‘” . (int)$customer_id . “‘”);

  while ($addresses = tep_db_fetch_array($addresses_query)) {

echo (‘<span id=”p5EmailId” style=”display:none;”>’.$addresses[‘customers_email_address’].'</span>’);

}
Visitor Analytics for OS Commerce

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s