google-analytics

Problem with a preloader and google analytics.

I'm using Google analytics in my flash app. It works perfectly, but the time to publich the app came and I'm using an external swf. as preloader, which only consists in an small progress bar and summons my Flash app once it's completely loaded. Now i'm getting this error: Error #1009: Error #1009: Cannot access a property or method of ...

Advanced filtering on Google Analytics to grab referrals and convert them to external links

Hi all, I've been segmenting my full referral path to the user defined value using advanced filters. I would like that data, which obvious is the form of an URL to be clickable. Would even be better if it could open in a new window. Anyone knows what I should feed the user defined value to get that behavior? I've put up an image ...

Google Analytics ga.js keeps changing for each request - why?

If you keep on refreshing https://ssl.google-analytics.com/ga.js you will notice that the contents keeps switching between two versions. One starting with: function(){var s=true,t=false,aa=window,u=undefined,v=Math,ba="push",fa="slice",ga="cookie",y="charAt",z="indexOf",A="gaGlobal",ha="getTime",ja="toString",B="window",D="length and t...

In Rails, is there a way to call request.request_uri in a class (not a controller)?

I'm building a pageview counter for my app using the Garb Ruby wrapper for the Google Analytics API. Doing so means creating a new Module in the 'lib' folder, in which I create a class like this: #lib/Analyze.rb ... class Report extend Garb::Resource metrics :pageviews dimensions :page_path filters :page_path.eql => '/' #the pa...

Certain Websites do not load!

I have FF3.5.13 and when I try to load certain websites it flashes the page real quick and at the bottom it gives me this "Transferring data from www.google-analytics.com" message. Is this a virus? or is there a setting on FF that I accidentally turned on? Need Help! Thanks ...

Is it possible to pass w3 xhtml strict validation and still use google analytic code on my webpage?

Is it possible to pass w3 xhtml strict validation and still use google analytic code on my webpage? ...

how to track traffic source for a Facebook iframe application

I have a facebook iframe application - let's call it apps.facebook.com/my-app. We currently use Google Analytics for our tracking, and I correctly have Google Analytics installed on my application (that is included via iframe to the FB app) & it is tracking any use of the application mentioned above. However, I would like to find out w...

get the last day' s visits google analytics

is possible to get last day's visits google analytics with jquery or ruby? thanks ...

Analytics custom variables

Hi, I'm trying to make a custom report. I've just put some test code on my main page: var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12323748-3']); _gaq.push(['_trackPageview']); _gaq.push(['_setCustomVar', 2, // This custom var is set to slot #1 'Test_var', // The name acts as a kind of categ...

suggestion for placing tracking cookie just like google adword

I have a contact us form in our website which would send out an email to the site admin when submitted. I would like to know from which site the user has landed onto this page and how many unique users have come here and such things... I have used Google Analytics but it sends out only information on the adword that the user has clicked....

regular expression for excluding IPs out of range

I am using google analytics and have a filter for one of the websites to exclude traffic that is not within an IP range, but I am creating a new profile, to track all that traffic within that IP range. This will allow me two different profiles, one to view all traffic that is on campus, and another to view all traffic excluding campus-tr...

Async Google Analytics [Javascript Golf]

Unfortunately, this may not be a valid Code-Golf question as it is likely Javascript only; however, since this is likely to be the only useful-in-the-real-world code-golf contest I'm going to go ahead and post it. The Google Analytics Asyncronous Tracking snippet is used by many websites. The script goes a little something like this:...

Is this a correct utm.gif query?

I was wondering if i build this google analytics query the right way. I am not sure about the 'utmcc'-Part. 0 => string 'http://www.google-analytics.com/__utm.gif?utmwv=4.5.7' (length=53) 1 => string 'utmn=738025229' (length=14) 2 => string 'utmhn=www.mydomain.de' (length=15) 3 => string 'utmcs=ISO-8859-1' (length=16) 4 => str...

connecting google analytics data api to dojo charts - php backend

I'm looking at feeding dojo charts with data from google analytics, within a Zend Framework app. Has anyone done this or have any overview as to how I would go about it? I see there is a dojox.data.GoogleSearchStore. Does it make sense to have a dojox.data.GoogleAnalyticsStore and is anyone working on something like this? ...

Where to place Google Analytics code in ASP.NET web application

I want to find a place to put my Google Analytics code in my ASP.NET web application. I would like to place it somewhere once and not have to copy and paste the code into multiple files. Is there somewhere that I could inject it that I would only have to include it once and all pages would be effected? I am not using MasterPages unfortun...

How google analytics' asynchronous api is able to track clicking links

If I have html like the following on my own site how come it is able to track the event? Is it possible that browser starts loading the http://google.com in the same window before the tracking request is made as it is asynchronous? <a href="http://google.com" onclick="_gaq.push(['_trackEvent', 'category', 'event']);">click</a> In case...

Google Analytics - how does it track clicks?

So I'd just like help understanding how exactly google analytics collects this info. I have a homepage and the statistics say that 46% of clicks are on the logo (which links to the homepage). Does google analytics just assume that if they've ended up on the homepage they have clicked there? How accurate is this measurement? I wonder be...

google analytics - multiple trackers on one page (traditional and asynchronous)

I'm writing a widget that will be embedded in other people's websites. I'm using Google Analytics to track all the people that visit all instances of my script on the embedding websites. I understand that the new asynchronous tracking code resolves this problem so that there's no interference with those websites' own Google Analytics acc...

Why does Google Analytics cross-domain tracking across an iframe require tracking snippets in both domains?

I'm creating a shareable widget, for anyone to copy onto their website. The shareable piece of code is an frame that points to the actual widget that lives on our hosted site (i.e. ourdomain.com). If we ever want to tweak the actual widget, we can do so in one place, with no effect on the iframes pointing to it from other sites we have n...

How does google analytics produce a PDF of the flash charts?

I am trying to add similar functionality to my website as Google Analytics's ability to export data as a PDF. Does Google produce PDFs using the Flash charts (perhaps by savings the charts as images)? Or does Google use a PDF creation plugin and Google sends the data to the PDF creator to make the images in the PDF? ...