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:
Webcat2, WebCommerce, Mod 10 etc. (1997)
WebCat2 - storing unformatted date data? (1997)
Help! WebCat2 bug (1997)
[WebDNA] [BULK] which of these tags exist in 7.0 (2011)
Uh...can someone help me out with the b10? (1997)
Re:no [search] with NT (1997)
RE: protect tag on NT (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Great product and great job ! (1997)
Upgrade probems (2000)
path hierarchy notation (1998)
WebCatalog-NT?'s (1996)
[ShowIf] and empty fields (1997)
Applying discounts as more items are added... (1997)
apparently to problem isolated (1997)
Multiple servers and Webcat (1998)
Format of Required fields error message (1997)
Protect (1997)
unsubscribe (2000)