[jQuery] Re: Google Analytics Tracking with JQuery

2008-06-29 Thread Colin Guthrie
Gaudicia wrote: Hello, I just started looking into JQuery and I have a few questions. Mostly about how to make tagging my links with google analytics tracking faster. I want to be able to track my outgoing links, which I've read is possible, but I really haven't see anything about

[jQuery] Re: Google Analytics Tracking with JQuery

2008-06-29 Thread Dan G. Switzer, II
Gaudicia, I just started looking into JQuery and I have a few questions. Mostly about how to make tagging my links with google analytics tracking faster. I want to be able to track my outgoing links, which I've read is possible, but I really haven't see anything about tracking third party

[jQuery] Re: Google Analytics Tracking with JQuery

2008-06-29 Thread Gaudicia
Hello, Thanks you for the help. I noticed that you can select links by the value of the href and I believe this will be best. I will be applying the google analytics script to over 30 websites and I really don't want to be editing each link to add a class to them or the forms since it will

[jQuery] Re: Google Analytics Tracking With jQuery

2007-11-12 Thread jason
D'oh! That was it. I'm getting good data back now. I'll clean up the code a little bit and get it posted to the plugin repository as soon as I get a chance. Thanks again, Jason On Nov 11, 10:13 pm, jason [EMAIL PROTECTED] wrote: Thanks for taking a look, Craig. I certainly hope it turns out

[jQuery] Re: Google Analytics Tracking With jQuery

2007-11-11 Thread jason
Thanks for taking a look, Craig. I certainly hope it turns out to be something that simple. I'll post back if I see any results. - jason On Nov 9, 11:23 am, Craig [EMAIL PROTECTED] wrote: Bit more... turns out you can declare it in the function, just remove var. So instead of var

[jQuery] Re: Google Analytics Tracking With jQuery

2007-11-09 Thread Craig
Bit more... turns out you can declare it in the function, just remove var. So instead of var _uacct = code; // - local declaration Write: _uacct = code; // - global declaration On Nov 8, 4:13 pm, Craig [EMAIL PROTECTED] wrote: Hi Jason, I've been working on something very similar and

[jQuery] Re: Google Analytics Tracking With jQuery

2007-11-08 Thread Craig
Hi Jason, I've been working on something very similar and stumbled on your code. Not sure if you figured out your problem yet, but this is my guess for why it hasn't been logging your test accounts: snip // add tracking code to the current page function addTracking(){ var _uacct = code; //

[jQuery] Re: Google Analytics Tracking With jQuery

2007-10-26 Thread jason
Yep, that's my understanding as well, although: 1) I don't know how long it will be in beta -- what's there now is not recommended for production use and is subject to change. 2) I don't know how configurable it will be out of the box -- a lot of the things people do with urchin.js now are

[jQuery] Re: Google Analytics Tracking With jQuery

2007-10-26 Thread Mika Tuupola
On Oct 26, 2007, at 3:54 AM, jason wrote: - Examine all of the links on the page and attach onclick events to: - External links. - Mailto links. - Downloads. - Call urchinTracker() when these links are clicked, prefixing them appropriately. AFAIK new ga.js tracks outbound links

[jQuery] Re: Google Analytics Tracking With jQuery

2007-10-25 Thread John Resig
Very cool! This seems quite useful. Do you have any examples it in action? --John On 10/25/07, jason [EMAIL PROTECTED] wrote: I've been working on a jQuery plugin to simplify the process of adding Google Analytics tracking to a page. The bulk of the code came together pretty quickly, but

[jQuery] Re: Google Analytics Tracking With jQuery

2007-10-25 Thread jason
Hi John, I've been trying to get it to log something to GA for about a week now with no luck, on a different machine with a different tracking code. Just in case there is something odd about that particular setup, I grabbed a new tracking code for this dev server and am repeating the test there.