google-analytics

Google Analytics and the __utm.gif file

When using Google Analytics and using the newer ga.js file, is the __utm.gif file needed in your root directory of your web site? I do see a call being made from my browswer to the file on google-analytics.com (http://www.google-analytics.com/__utm.gif?...), but in the past I was told that it needed to exist in the root of the site. Do...

How does Google Analytics authenticate a website?

Just looking for some general information on how the Google Analytics javascript code placed on the bottom of each page authenicates a website. Obviously there is a tracking code which is paired to the domain name but is there more to it than that? Is it checking anything else to make sure its secure and not open to misuse? ...

google analytics - multiple trackers on one page (cookie conflict)

I'm writing a web application that's supposed to be embedded in other people's websites (kind of a widget). I'm using Google Analytics to track all the people that visit all instances of my script on the embedding websites. The problem is that I don't know how to use it so that it doesn't interfere with those websites' own Google Analyti...

When is Google Analytics not good enough?

I'm trying to determine why an enterprise wouldn't want to use Google Analytics. Here are the main reasons I've seen mentioned: Inability to track clients that have Javascript disabled. Lack of ownership of the statistics - Google owns the data. Most of the web clients with Javascript disabled will probably be bots/spiders. This ...

Is there a way to stop Google Analytics counting development work as hits?

I have added the JavaScript that I need to the bottom of my pages so that I can make use of Google Analytics. Only problem is that I am sure that it is counting all my development work as hits. Seeing as I probably see some of those pages a hundred times a day it will really skew my readings. Is there a way to turn it off from a particul...

Using Google Analytics with (Soap/XML/Json) Web service?

I am looking for a way to implement Google Analytics tracking in my web service. My app sends and receives XML from the server, so implementing the Google JavaScript tracking stuff is unfortunately no option. Any other alternatives? Someone must have done this before :-) ...

Google Analytics - Multiple Trackers for Several Accounts?

Maybe I'm going about this wrong, but I'm hoping I can get some insight. I develop for multiple clients nationwide. I track many of my sites using my personal/development Analytics account that tracks all the domains/profiles I work on. However, I now have marketing folks jumping into the fray, all wanting their own GA trackers install...

Tracking AJAX-based forms with Google Analytics Goals

I'm developing sites using a content management system, features are added via 3rd party modules which is much easier for designers like myself. However, I'm a bit perplexed at the moment. I have an AJAX-based contact form, so there is no page-load upon submission. However, I do have access to HTML templates for each step (Input page, F...

Google Analytics cookies vs subdomain for static content

Hello I have a website on www.example.com and use Google Analytics. I've also set up static.example.com which serves all static content. The problem is that the default behavior of GA is to issue cookies on ".example.com" but I don't want the static content traffic to be carrying the weight the GA cookies. I tried pageTracker._setDoma...

Google Analytics and Hubspot Delay Javascript Execution

We are trying to use google analytics and hubspot on our site but they bith seem to delay the execution of the scripts on our site. We are using jQuery and the "ready" function to delay our scripts until the page is ready. Are there any ways we can delay the analytics scripts and have our scripts execute first? Thanks. ...

Really Custom Reporting in Google Analytics

I have a client who is currently using WebTrends for their analytics, and is considering making a move to Google Analytics. However, from what I can tell, there is very little custom reporting available in GA. For example, if a user was logged into the system, and I wanted to be able to do reporting on people with blue eyes, brown hair...

Detecting Windows 7 with Google Analytics

This question might belong on one of the other trilogies, but it sorta seemed to be the best place. I have google analytics set up, but it doesn't seem to detect Windows 7. I'm on Win7 myself, so I know there should be at least some number of Win7-users. The user agent for Win7 is NT 6.1, and google analytics have detected NT users, bu...

What's the best practice for tracking events with Google Analytics?

Specifically thinking about the Flash version but I'm sure this applies to the JS version too. Should I cache/queue a number of events before calling the API and then send them all at once or should I simply report them as they happen? I'd like to track a lot of events, say 50 or so per a minute, but I don't want to completely overwhelm...

How to write a Google Analytics filter to record site searches

I what to record all my website searches with google analytics but the problem is my search links look like this **www.mywebsite.com/search/category/your+query+here** From what i found out i must give GA the query parameter (mywebsite.com/search.php?q=your+query+here) but i have none (and don't want any). Is there a way to rewrite t...

Dynamically serve up Google Analytics code with PHP

In trying to improve our Google Analytics data for our website, I created a piece of PHP code that would determine the server that the website is being served from, and only serve up the GA code when being run from our Production server. The code is below, and works as it should: <?php switch( $_SERVER['HTTP_HOST'] ){ case 'website....

How do I use Google Analytics with Sitecore 6?

I know that I need to add the tracking code snippet at the bottom of all my pages, but is there a central location to do this? Or do I need to add this tracking code to all of my templates? I guess that I could wrap the snippet in a user control, or external .js file, and reference it on each page, but is there a global footer somewher...

google analytics - allowed domains

My GA tracking code is being referenced on another persons website. I am currently tracking several domains/sub-domains in one profile. Is there a way to create a list of allowed domains for reporting and data collection purposes? ...

How can I show my google analytics traffic report via asp.net or classic asp?

How can I show my google analytics traffic report (AKA 'View Report') via asp.net or classic asp? Thanks ...

Google thinks my home page IS a trailing slash

I am desperate to know why Google webmaster tools AND analytics are registering my home page as a trailing slash?! There are no crawl errors, 401s, search issues, nothing wrong otherwise. My home page is written with a trailing slash and if a visitor does not include the slash, my site will automatically fetch the / and send them to ht...

Managing Google Analytics via code

I know Google provides an API to pull reporting data out of Google Analytics, but I've been unable to find anything, official or otherwise, that allows for the administration of Google Analytics via some sort of API. Specifically, I'm trying to find ways to configure goals/funnels outside of the web interface. Is anyone aware of a libr...