Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello,

I installed the User Tracking contribution, and everything works great except that the Originating URL is empty in all of the sessions.

 

The only thing I was not clear about in the installation instructions was this section:

 

 add to catalog/includes/application_top.php   Look for: 
  tep_session_start();
     add after:
     // user_tracking modifications 
   if (!$referer_url) { 
    $referer_url = $HTTP_SERVER_VARS['HTTP_REFERER']; 
        if ($referer_url) { 
            tep_session_register('referer_url'); 
        } 
    } This last bit allows us to track the originating URL (where the user came to your site from).

 

I found 3 instances of tep_session_start(); in the file, and so added the requisite code after each of the 3 instances.

 

Any ideas why I am not seeing the originating URL anyone?

  • 1 year later...
Posted

If you look in the application_top.php file that is part of the download you will see where the code should be inserted.

 

Note: the install instructions are misleading.

 

 

Also note that many entries will not have a referring URL. But the ones that do are valuable information. It's great to be able to see the keywords used in google and then how deeply they scan the website -- let's you know if those are good keywords to target.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...