Re: [WebDNA] Record click-thrus

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101544
interpreted = N
texte = Hi There used to be an ad server widget thingy on the webdna samples page, not sure if it has made it across. Basically the ad linked to a redirect page with code like this on it... Link from the ad... AdsRedirect.html?AdvertID=1001 Code on the redirect page... [ReturnRaw]HTTP/1.0 302 Found Location: [Lookup db =Adverts.db&lookInField=AdvertID&value=[AdvertID]&returnField=AdvertURL] [Replace db=Adverts.db&eqAdvertIDdatarq=[AdvertID]]AdvertNumClicks=[math] [Lookup db = Adverts .db&lookInField=AdvertID&value=[AdvertID]&returnField=AdvertNumClicks] +1[/math][/Replace] [/ReturnRaw] Basically it looks up the db to find the actual url, then it adds 1 to the "AdvertNumClicks" variable. Hope it helps. Cheers PS: I had a look at the new site, you will find files called "Random Banner Ad Example" here...http://dev.webdna.us/downloads.html ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== On 1 Dec 2008, at 02:57, Dan Strong wrote: > All, > > I have a situation where a client has purchased advertising on my > website and wants stats. They want the "link-juice" of having my > site link directly to them: > > --------------------------------- > > --------------------------------- > > Recording impressions is easy enough, but how to record click-thrus? > [ReturnRaw] comes to mind, and I've used it before for redirects, > but the concept of how to be able to record click-thrus while still > linking directly to client's site is escaping me at the moment. > > Would I do an javascript onClick event in the link and send a var to > another page or something? > > --------------------------------- > onClick="someMagicalCodeThatSendsVartoWebdnaPage()"> > --------------------------------- > > Any clarification is appreciated. > > Hope everybody who celebrates it had a great Thanksgiving holiday. > > -Dan > > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Record click-thrus (Donovan Brooke 2008)
  2. Re: [WebDNA] Record click-thrus (Charles Kline 2008)
  3. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  4. RE: [WebDNA] Record click-thrus ("Olin Lagon" 2008)
  5. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  6. Re: [WebDNA] Record click-thrus (Gary Krockover 2008)
  7. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  8. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  9. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  10. Re: [WebDNA] Record click-thrus (Toby Cox 2008)
  11. RE: [WebDNA] Record click-thrus ("Olin Lagon" 2008)
  12. Re: [WebDNA] Record click-thrus (Toby Cox 2008)
  13. Re: [WebDNA] Record click-thrus (Steve Craig 2008)
  14. Re: [WebDNA] Record click-thrus ("Dan Strong" 2008)
  15. Re: [WebDNA] Record click-thrus (Steve Craig 2008)
  16. [WebDNA] Record click-thrus ("Dan Strong" 2008)
Hi There used to be an ad server widget thingy on the webdna samples page, not sure if it has made it across. Basically the ad linked to a redirect page with code like this on it... Link from the ad... AdsRedirect.html?AdvertID=1001 Code on the redirect page... [returnraw]HTTP/1.0 302 Found Location: [Lookup db =Adverts.db&lookInField=AdvertID&value=[AdvertID]&returnField=AdvertURL] [Replace db=Adverts.db&eqAdvertIDdatarq=[AdvertID]]AdvertNumClicks=[math] [Lookup db = Adverts .db&lookInField=AdvertID&value=[AdvertID]&returnField=AdvertNumClicks] +1[/math][/Replace] [/ReturnRaw] Basically it looks up the db to find the actual url, then it adds 1 to the "AdvertNumClicks" variable. Hope it helps. Cheers PS: I had a look at the new site, you will find files called "Random Banner Ad Example" here...http://dev.webdna.us/downloads.html ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== On 1 Dec 2008, at 02:57, Dan Strong wrote: > All, > > I have a situation where a client has purchased advertising on my > website and wants stats. They want the "link-juice" of having my > site link directly to them: > > --------------------------------- > > --------------------------------- > > Recording impressions is easy enough, but how to record click-thrus? > [returnraw] comes to mind, and I've used it before for redirects, > but the concept of how to be able to record click-thrus while still > linking directly to client's site is escaping me at the moment. > > Would I do an javascript onClick event in the link and send a var to > another page or something? > > --------------------------------- > onClick="someMagicalCodeThatSendsVartoWebdnaPage()"> > --------------------------------- > > Any clarification is appreciated. > > Hope everybody who celebrates it had a great Thanksgiving holiday. > > -Dan > > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Steve Craig

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:

Variables not being passed *back* (2000) RE: Fishing: anyone on this group willing to do support? (1998) I figured it out (1999) RE: question on [delete] (1998) Searching a field and returning the highest value (1997) WebCat2b13MacPlugIn - [include] (1997) Where's Cart Created ? (1997) Newbie Tax Question (1997) Firesite and [referrer] atg broke (1997) PCS Frames (1997) Protect vs Authenicate (1997) Files not moved to EmailCompleted (2002) Orderfile Info is Dissappearing (1998) WebDNA Windows 5.0 sendmail bug (2003) Pull Down Search (2000) HELP WITH DATES (1997) WebCat2final1 crashes (1997) Help! WebCat2 bug (1997) Re:Signal Raised (1997) Cart/Cookie question (2005)