RE: [WebDNA] Record click-thrus
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101550
interpreted = N
texte = Makes sense. They want the direct link for their SEO. How about you useJquery.com? I haven't tested this but this should work1. Load jquery2. Post function on page3. Create link and call to function
client urlThis should work. The keepempty div is where jquery will "push" the resultsof the call to your server. It may not be needed.If it works, you can extend the pinger function to pass a variable from thelink so you can use one generic webdna page for tracking all urls.Hope this helps.-----Original Message-----From: Steve Craig [mailto:steve@asylumweb.com] Sent: Monday, December 01, 2008 7:25 AMTo: talk@webdna.usSubject: Re: [WebDNA] Record click-thrusAny 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/---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
Makes sense. They want the direct link for their SEO. How about you useJquery.com? I haven't tested this but this should work1. Load jquery2. Post function on page3. Create link and call to functionclient urlThis should work. The keepempty div is where jquery will "push" the resultsof the call to your server. It may not be needed.If it works, you can extend the pinger function to pass a variable from thelink so you can use one generic webdna page for tracking all urls.Hope this helps.-----Original Message-----From: Steve Craig [mailto:steve@asylumweb.com] Sent: Monday, December 01, 2008 7:25 AMTo: talk@webdna.usSubject: Re: [WebDNA] Record click-thrusAny 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/---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/
"Olin Lagon"
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:
Image Upload and Auto Resize? (2003)
emailer w/F2 (1997)
Upgrade Pricing? (2003)
autosensing lanague selection (1997)
Removing [showif] makes a big difference in speed (1997)
SubCategorizing (2000)
Fwd: 502 Bad Gateway (1998)
Setting up WebCatalog with Retail Pro data (1996)
Reselecting popup menu (2002)
shipcost (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Bug Report, maybe (1997)
[WebDNA] Listwords and newline (2011)
Date Sorting (1997)
[WebDNA] Screen Resolution - detection & redirect (2012)
carriage returns in data (1997)
RE: Missing contexts on NT (1997)
idear about how to get SMSI to speak. (2006)
I need Typhoon Pro Tonight! (1999)
New WebDNA Forum Solution (in development) (2003)