Re: [WebDNA] Record click-thrus

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101564
interpreted = N
texte = The following code no-worky as expected. The link to Yahoo opens up in ne= w window, but code on=20 test2.html does not fire. =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 Untitled Document
Test Link to Yahoo! =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 I have verified the following: 1) No javascript errors 2) jquery is on server at "js/jquery-1.2.6.pack.js" and loading into page 3) test2.html is on server 4) when hit directly, http://www.mydomain.com/test2.html, code fires (it'= s a sendmail, just for=20 testing purposes) I'll keep banging away at it and also looking for alternatives, but I wan= ted to throw this out=20 there in case someone can see an obvious error or for archive sake if thi= s ends up not working at=20 all. TIA, -Dan On Mon, 01 Dec 2008 10:28:06 -0800 "Dan Strong" wrote: > Awesome guys, thanks. I will test this tonight when I get home and post= results. > -Dan >=20 >=20 > On Mon, 1 Dec 2008 18:21:19 +0000 > Toby Cox wrote: >> Nice. I would suggest >>=20 >>=20 >> function pinger() { >> $('#keepempty').get("http://www.yourserver.com/yourscript.tpl", =20 >> function(data){ >> return true; >> }); >> } >>=20 >> onClick=3D"return pinger();" >>=20 >>=20 >>=20 >>=20 >> On 1 Dec 2008, at 18:17, Olin Lagon wrote: >>=20 >>> Makes sense. They want the direct link for their SEO. How about you =20 >>> 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 =20 >>> 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 =20 >>> from the >>> link so you can use one generic webdna page for tracking all urls. >>> >>> Hope this helps. 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)
The following code no-worky as expected. The link to Yahoo opens up in ne= w window, but code on=20 test2.html does not fire. =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 Untitled Document
Test Link to Yahoo! =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 I have verified the following: 1) No javascript errors 2) jquery is on server at "js/jquery-1.2.6.pack.js" and loading into page 3) test2.html is on server 4) when hit directly, http://www.mydomain.com/test2.html, code fires (it'= s a sendmail, just for=20 testing purposes) I'll keep banging away at it and also looking for alternatives, but I wan= ted to throw this out=20 there in case someone can see an obvious error or for archive sake if thi= s ends up not working at=20 all. TIA, -Dan On Mon, 01 Dec 2008 10:28:06 -0800 "Dan Strong" wrote: > Awesome guys, thanks. I will test this tonight when I get home and post= results. > -Dan >=20 >=20 > On Mon, 1 Dec 2008 18:21:19 +0000 > Toby Cox wrote: >> Nice. I would suggest >>=20 >>=20 >> function pinger() { >> $('#keepempty').get("http://www.yourserver.com/yourscript.tpl", =20 >> function(data){ >> return true; >> }); >> } >>=20 >> onClick=3D"return pinger();" >>=20 >>=20 >>=20 >>=20 >> On 1 Dec 2008, at 18:17, Olin Lagon wrote: >>=20 >>> Makes sense. They want the direct link for their SEO. How about you =20 >>> 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 =20 >>> 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 =20 >>> from the >>> link so you can use one generic webdna page for tracking all urls. >>> >>> Hope this helps. "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:

Nesting format tags (1997) Moment of Thanks (1997) Uniqueness of Cart number (2000) WebCatalog Features (1997) problems with 2 tags (1997) RE: OK, here goes... (1997) WebCat2.0 [format thousands .0f] no go (1997) when is date system date or order date? (1997) WebCatalog vs. Cold Fusion (1998) Relay link (2002) is [shell] working? (1999) RE: Clearing orders and database help! (1997) [WebDNA] Listwords and newline (2011) Show if time tags (1997) [off] Promotions/ECRC (1997) Frames and WebCat (1997) Sample Tea Room Search Error (1997) webmerchant - Crediting Back (2000) [Capitalize] (1998) Security Hole - NetCloak Update (1998)