Re: [WebDNA] Record click-thrus

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101546
interpreted = N
texte = If only it was this easy... :) That would work fine -- and it was my very= first thought -- except=20 that the ad needs to link *directly* to the client's website. I can't lin= k to an intermediate page=20 that redirects, hence my dilemma. -Dan On Mon, 1 Dec 2008 09:19:07 +0000 Steve Craig wrote: > Hi >=20 > There used to be an ad server widget thingy on the webdna samples page= , not sure if it has made=20 >it across. Basically the ad linked to a redirect page with code like th= is on it... >=20 > Link from the ad... > AdsRedirect.html?AdvertID=3D1001 >=20 > Code on the redirect page... > [ReturnRaw]HTTP/1.0 302 Found > Location: [Lookup db=20 > =3DAdverts.db&lookInField=3DAdvertID&value=3D[AdvertID]&returnField=3DA= dvertURL] > [Replace db=3DAdverts.db&eqAdvertIDdatarq=3D[AdvertID]]AdvertNumClicks= =3D[math] [Lookup db=20 > =3D=20 > Adverts .db&lookInField=3DAdvertID&value=3D[AdvertID]&returnField=3DAdv= ertNumClicks]=20 >+1[/math][/Replace] > [/ReturnRaw] >=20 > Basically it looks up the db to find the actual url, then it adds 1 to = the "AdvertNumClicks"=20 >variable. >=20 > Hope it helps. >=20 > Cheers > PS: I had a look at the new site, you will find files called "Random B= anner Ad Example"=20 >here...http://dev.webdna.us/downloads.html > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steve Craig - Asylum Interactive Ltd > Tel +44 1330 860550 Fax +44 1330 860880 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 >=20 >=20 > On 1 Dec 2008, at 02:57, Dan Strong wrote: >=20 >> All, >> >> I have a situation where a client has purchased advertising on my =20 >> website and wants stats. They want the "link-juice" of having my =20 >> site link directly to them: >> >> --------------------------------- >> > text"> >> --------------------------------- >> >> Recording impressions is easy enough, but how to record click-thrus? =20 >> [ReturnRaw] comes to mind, and I've used it before for redirects, =20 >> but the concept of how to be able to record click-thrus while still =20 >> 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 =20 >> another page or something? >> >> --------------------------------- >> > onClick=3D"someMagicalCodeThatSendsVartoWebdnaPage()">> ad"... > >> --------------------------------- >> >> 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/ >=20 >=20 > --------------------------------------------------------- > 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)
If only it was this easy... :) That would work fine -- and it was my very= first thought -- except=20 that the ad needs to link *directly* to the client's website. I can't lin= k to an intermediate page=20 that redirects, hence my dilemma. -Dan On Mon, 1 Dec 2008 09:19:07 +0000 Steve Craig wrote: > Hi >=20 > There used to be an ad server widget thingy on the webdna samples page= , not sure if it has made=20 >it across. Basically the ad linked to a redirect page with code like th= is on it... >=20 > Link from the ad... > AdsRedirect.html?AdvertID=3D1001 >=20 > Code on the redirect page... > [returnraw]HTTP/1.0 302 Found > Location: [Lookup db=20 > =3DAdverts.db&lookInField=3DAdvertID&value=3D[AdvertID]&returnField=3DA= dvertURL] > [Replace db=3DAdverts.db&eqAdvertIDdatarq=3D[AdvertID]]AdvertNumClicks= =3D[math] [Lookup db=20 > =3D=20 > Adverts .db&lookInField=3DAdvertID&value=3D[AdvertID]&returnField=3DAdv= ertNumClicks]=20 >+1[/math][/Replace] > [/ReturnRaw] >=20 > Basically it looks up the db to find the actual url, then it adds 1 to = the "AdvertNumClicks"=20 >variable. >=20 > Hope it helps. >=20 > Cheers > PS: I had a look at the new site, you will find files called "Random B= anner Ad Example"=20 >here...http://dev.webdna.us/downloads.html > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steve Craig - Asylum Interactive Ltd > Tel +44 1330 860550 Fax +44 1330 860880 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 >=20 >=20 > On 1 Dec 2008, at 02:57, Dan Strong wrote: >=20 >> All, >> >> I have a situation where a client has purchased advertising on my =20 >> website and wants stats. They want the "link-juice" of having my =20 >> site link directly to them: >> >> --------------------------------- >> > text"> >> --------------------------------- >> >> Recording impressions is easy enough, but how to record click-thrus? =20 >> [returnraw] comes to mind, and I've used it before for redirects, =20 >> but the concept of how to be able to record click-thrus while still =20 >> 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 =20 >> another page or something? >> >> --------------------------------- >> > onClick=3D"someMagicalCodeThatSendsVartoWebdnaPage()">> ad"... > >> --------------------------------- >> >> 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/ >=20 >=20 > --------------------------------------------------------- > 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/ "Dan Strong"

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 - [format thousands] (1997) Grep to convert characters to html entities (2006) strip .0 off off IPaddress (1998) (2000) Problem displaying search result (1997) [WebDNA] WebDNA Roll Call (2013) WCS Newbie question (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) read and write you own cookies with webcat (1997) Exclamation point (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) [ConvertChars] problem (1997) Secure server question (1997) RE: [WebDNA] Minor error correction (2008) WebCat/CyberStudio Compatibility (1998) Text data with spaces in them... (1997) customer info (2001) [format 40s]text[/format] doesn't work (1997) Firesite and WebCat (1999) For those of you not on the WebCatalog Beta... (1997)