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 use Jquery.com? I haven't tested this but this should work 1. Load jquery 2. Post function on page 3. Create link and call to function
client url This should work. The keepempty div is where jquery will "push" the results of the call to your server. It may not be needed. If it works, you can extend the pinger function to pass a variable from the link 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 AM To: talk@webdna.us Subject: Re: [WebDNA] Record click-thrus 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 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 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 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)
Makes sense. They want the direct link for their SEO. How about you use Jquery.com? I haven't tested this but this should work 1. Load jquery 2. Post function on page 3. Create link and call to function
client url This should work. The keepempty div is where jquery will "push" the results of the call to your server. It may not be needed. If it works, you can extend the pinger function to pass a variable from the link 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 AM To: talk@webdna.us Subject: Re: [WebDNA] Record click-thrus 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 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 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 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/ "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)