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 Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Referrer from multiple entry points (Mark Bergkvist 1998)
  2. Re: Referrer from multiple entry points (Rob Marquardt 1998)
  3. Re: Referrer from multiple entry points (PCS Technical Support 1998)
  4. Referrer from multiple entry points (Mark Bergkvist 1998)
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 Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

Strange intermittent WebDNA problems Workaround (2008) WebCat2 - [include] tags (1997) Summing fields (1997) Newbie Tax Question (1997) Summing fields (1997) Formulas.db not working (2006) For those of you not on the WebCatalog Beta... (1997) migrating from MacOS to unix (2000) Creating comums (1998) OT - royalty free images (2002) WebCatalog/Mac 2.1b2 - PIXO (1997) WC1.6 to WC2 date formatting (1997) Re:Merging databases (1997) WebCat2 as a chat server? (1997) [WebDNA] Still having problems (2008) WebMerchant & CC Response (2002) Re:2nd WebCatalog2 Feature Request (1996) Getting real time CC's out of Australia (1998) WCS Newbie question (1997) File Maker Pro Value List Field Export Proplem... (2000)