Re: [WebDNA] Record click-thrus
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101547
interpreted = N
texte = Any particular reason why, the reason I ask is that the page I use would never be seen by client, it responds very quickly at the server side then redirects to the client page. Just wondering.Cheers========================================Steve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880========================================http://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig========================================On 1 Dec 2008, at 17:14, Dan Strong wrote:> If only it was this easy... :) That would work fine -- and it was my > very first thought -- except that the ad needs to link *directly* to > the client's website. I can't link to an intermediate page that > redirects, hence my dilemma.> -Dan>>> On Mon, 1 Dec 2008 09:19:07 +0000> Steve Craig
wrote:>> 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?>>>>>> --------------------------------->>> >> src ="their 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/>> --------------------------------------------------------->> 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/>> ---------------------------------------------------------> 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:
Any particular reason why, the reason I ask is that the page I use would never be seen by client, it responds very quickly at the server side then redirects to the client page. Just wondering.Cheers========================================Steve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880========================================http://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig========================================On 1 Dec 2008, at 17:14, Dan Strong wrote:> If only it was this easy... :) That would work fine -- and it was my > very first thought -- except that the ad needs to link *directly* to > the client's website. I can't link to an intermediate page that > redirects, hence my dilemma.> -Dan>>> On Mon, 1 Dec 2008 09:19:07 +0000> Steve Craig wrote:>> 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?>>>>>> --------------------------------->>> >> src ="their 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/>> --------------------------------------------------------->> 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/>> ---------------------------------------------------------> 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:
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
what run level should S90WebCatalog be at? (2003)
[WebDNA] paypal (2009)
Date Calulation (1997)
300% usage - Clint (2007)
Re:no [search] with NT (1997)
Adding discount to cart (2000)
Error Lob.db records error message not name (1997)
[WebDNA] WebDNA 7 multiple fcgid processes (2012)
Summing a field full of numbers ... (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
Sendmail doesn't (was Queertrons?) (1997)
Format question WC Mac f3 (1997)
PCS Frames (1997)
[returnraw] and form variables (1998)
2.0.1: Shopping Carts deleted after 1 hour (1997)
WebCat2_Mac RETURNs in .db (1997)
Searchable WebCat (etc.) Docs ? (1997)
WebCatalog for NT (1999)
Introduction/Tutorial/QuickStart (1997)