Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-27-2004 04:03:03

phunter121
Member
From: UK
Registered: 03-22-2004
Posts: 101
Website

Referring Site Url

The 'referring site URL' field appears to be being truncated.

I have tried changing the the field length in the config_tracking.csv file but to no avail. The field size was 60 and I increased it to 100. From what I can see, the field is not even allowing 60 charactors.

I find this field particularly useful as it indicates which search criteria was applied in the search engin that the customer came from. Unfortunately in most cases, this info is being truncated off.

Any thoughts ?


Peter Hunter

Offline

 

#2 09-09-2004 10:35:35

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Referring Site Url

To change, look in the file ./cgi-bin/library/modules/ste_usr.pl.  In the routine 'ste_usr_create' you'll see:

Code:


$fd_cref = vars_truncate($fd_cref,'40');

Change the '40' in there to a higher number.


Nick Hendler

Offline

 

#3 09-09-2004 17:08:11

theblade24
Member
From: Tampa, Florida
Registered: 11-19-2003
Posts: 384
Website

Re: Referring Site Url

For some reason I've never gotten a referring url in my emails........am I supposed to be getting information there?


CCP 5.1
CCP 5.1
CCP 5.1

Offline

 

#4 09-09-2004 18:51:09

TheThinker
Member
From: Salt Lake City, Utah
Registered: 06-16-2004
Posts: 535
Website

Re: Referring Site Url

I believe that the referring site url is often lost or blocked (for privacy reasons) before people get to the first CCP site page.  Can anyone confirm this?


Regards,
Eric

Offline

 

#5 09-24-2004 13:30:10

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Referring Site Url

Correct.  The referring URL relies on the presence of the environment variable  $ENV{'HTTP_REFERER'}.  If that environment variable is not populated, it's unknown to CCP.  Things that can cause that variable to be unpopulated include Firewall Software on the client side, bad browser, variable is not defined in server config, user clicking Favorite or Bookmark link, user typing in URL, etc.


Nick Hendler

Offline

 

#6 09-27-2005 09:59:15

doubledome
Member
Registered: 09-24-2003
Posts: 83
Website

Re: Referring Site Url

Will the referring URL be passed if the link is using https? We thought of using the link we give out to have =sitename like suggested in another post.

thanks in advance,


cab713

Offline

 

#7 08-28-2008 14:57:28

pollywog
Member
From: Seattle, WA
Registered: 05-20-2005
Posts: 50
Website

Re: Referring Site Url

I made the change from 40 to 100 and it worked for a few days but now it's truncating again.  I just went in and checked that it is still set to 100 characters.  Any ideas why it would have suddenly started truncating again?

Thanks,
Annette


http://www.PollywogBaby.com - Advice and solutions for infant reflux and colic

Offline

 

#8 08-28-2008 15:02:28

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Referring Site Url

Did you change database types?  Like CSV to MySQL or vice versa?


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#9 08-28-2008 15:25:36

pollywog
Member
From: Seattle, WA
Registered: 05-20-2005
Posts: 50
Website

Re: Referring Site Url

I did not.  I did change the template though.


http://www.PollywogBaby.com - Advice and solutions for infant reflux and colic

Offline

 

#10 08-28-2008 15:35:31

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Referring Site Url

And you've made the change to usr.pl as well as increasing the length of the database field?  Perhaps you accidentally overwrote one or the other during your template change?


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#11 08-28-2008 17:39:42

pollywog
Member
From: Seattle, WA
Registered: 05-20-2005
Posts: 50
Website

Re: Referring Site Url

I made the change in usr.pl but how do you increase the length of the database field?  I simply went into the ste_usr.pl file and changed the 40 to 100.


http://www.PollywogBaby.com - Advice and solutions for infant reflux and colic

Offline

 

#12 08-28-2008 19:26:31

pollywog
Member
From: Seattle, WA
Registered: 05-20-2005
Posts: 50
Website

Re: Referring Site Url

Now I just got an order that it worked on.  Maybe the other orders today were people with previous sessions and stored cookies?  Would that matter?


http://www.PollywogBaby.com - Advice and solutions for infant reflux and colic

Offline

 

#13 08-29-2008 10:24:20

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Referring Site Url

Could very well be.  The value is stored in the cookie, afaik, so that would certainly explain it.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

Board footer