Re: Referrer from multiple entry points
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20345
interpreted = N
texte = On 10/9/98 9:45 AM, Mark Bergkvist so noted...>I want to track where the users came from and I have put [SetHeader>cart=[cart]]header39=[referrer][/SetHeader] on my entry.tpl, but if I put >it on all>my pages then won't this change the [referrer] to my own site as a user >clicks from>page to page???>>How do I deal with multiple points of entry and set this up so once the >referrer is>set, it stays set, even if the user clicks to a page that has another >[SetHeader]>command?Just check to see if the header field contains a value before setting it:[orderfile cart=[cart]][hideif [header39]!][SetHeader cart=[cart]]header39=[referrer][/SetHeader][/hideif][/orderfile]I'd put that line in an include file and slap it at the top of any page you want to track.Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
On 10/9/98 9:45 AM, Mark Bergkvist so noted...>I want to track where the users came from and I have put [SetHeader>cart=
[cart]]header39=
[referrer][/SetHeader] on my entry.tpl, but if I put >it on all>my pages then won't this change the
[referrer] to my own site as a user >clicks from>page to page???>>How do I deal with multiple points of entry and set this up so once the >referrer is>set, it stays set, even if the user clicks to a page that has another >
[setheader]>command?Just check to see if the header field contains a value before setting it:[orderfile cart=
[cart]][hideif [header39]!][SetHeader cart=
[cart]]header39=
[referrer][/SetHeader][/hideif][/orderfile]I'd put that line in an include file and slap it at the top of any page you want to track.Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Rob Marquardt
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
W* 4.2 / WebCat (TPro) 3.0.5b / OS 8.5.1 / BW G3 (2000)
Bug or syntax error on my part? (1997)
searching with groups (1997)
WebCatalog/Mac 2.1b2 New Features (1997)
why is this line in GeneralStore? (1998)
insert graphic in email (2000)
Talk List Admin Page? (2000)
Database Updates (1997)
[SMSI] WebDNA is too good to go away! (2006)
Banner DNA (1997)
State DB & TIme Zones (2003)
Dummy Credit Card Number for debug? (1997)
WCS Newbie question (1997)
wierd crashes for multi-sendmails on NT (1997)
cookies and [returnraw] (1997)
[WebDNA] WebDNA 7 64bits for OSX (2012)
[search] in formulas.db (1997)
Request Time Out (1997)
Roundup function? (1997)
[REPLACE] inside [FOUNDITEMS] (1998)