google-analytics

Google Analytics API: Get those goals

Hi All, I'm a bit in a timestretch here but i'm looking for a solution for this the whole day and after so much wasted time, i'm still not near a solution. I got the google analytics API to work and i'm able to query all kinds of interresting stuff using the dimensions and metrics found here: http://code.google.com/apis/analytics/docs/...

My Custom Variables are not showing up in Google Analytics

I have been trying to setup a custom variable for the past few days and it hasn't been working. My Google tracking code is part of a master page (asp.net concept) so I can't set the custom variable inside the second script block labeled "Async Google Code" because it is shared by many other sections. Below is my code and the order it ...

How to Inject HTML on ASP.NET MVC master page

I have a simple, but probably common problem on how to inject HTML inside an ASP.NET MVC master page. I have a google analytics tracking code that sits on my master page. The code looks like this: var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-1']); _gaq.push(['_trackPageview']); // need to inject ecommerce code here (functi...

Google Analytics - IP Address as Website URL

Anybody ever successfully used an IP address as the website URL for a profile in Google Analytics? See my post in the Google Analytics Forum also: http://www.google.com/support/forum/p/Google+Analytics/thread?tid=4551af07a8fce6ac&hl=en ...

Google Analytics for Mobile Websites not tracking data

Has anyone ran into this issue? We have a mobile site that can't use JavaScript based tracking for Google Analytics, so we have to use the solution found here: http://code.google.com/mobile/analytics/docs/web/#asp However, it doesn't appear to be logging any data over the last few days. This is the code being used: public class Goo...

Tracking clicks on videos in Google Analytics

A client has a site where video content is populated by AJAX from a video CDN. Each link is built like so: <a class="thumb-link" href="/?video='.$video->id.'" onclick="show_video('.$video->id.', \''.$section.'\'); return false;"><img src="'.$thumb.'" width="100" height="65" alt="" align="left" /></a> But they report that analytics is ...

Custom Variables and Utm.gif request

I thought my custom variables were finally working, but I'm not sure anymore. As someone suggested I used fiddler to check the utm.gif request to see if my custom variables were sending, but I can't tell for certain. The utm.gif request does not contain the "utme" parameter that is used for events and custom variables, but it does have ...

How to use Google Analytics to track downloads?

I have a website where I have .tar.gz, .zip and .dmg files. I need to track the number of downloads using google analytics. I heard that I can use onclick="pageTracker._trackPageview('/file_name.file_extension') for the "a" tags on the page. I'm not clear what the file_name.file_extension corresponds to. Also, do I need to use some addit...

Can you use the google analytics API to create the same type of graph as on your google analytics dashboard?

I'm curious to know if there is an easy way to creat a similar graph to embed google analytics into our cms for clients pages, so that they can see the same type of chart that google has on there analytics dashboard. ...

Change of Google Analytics funnel definition: data save?

Hi, we are implementing some website changes to our page flow that we track in a Google Analytics funnel so that we will have one additional page to track right in the middle of the funnel. So past process was: page A page B New process: page A page A.1 page B Can I simply change the URL definitions for the funnel accordingly w...

Race condition and using Google Analytics Asynchronous (_gaq) synchronously

I have a website which is using Google Analytics newer asynchronous tracking method (_gaq). The problem I've run into is that I want to institute some specific link tracking and am worried that I will be creating a race condition. Basically, it's a news website so it has headlines which link to stories all over the place. A headline for...

How do I configure Google Analytics to seperate Dev/Test and production sites?

I fairly new to Google Analytics. I'm looking for a way to add GA to my ASP.Net (C#) site, but keep the numbers for different environments from getting mixed up. I'd like to only have to set up the script on my master page once and then use either the full URL of the request or a web.config setting to put each environment into a sepera...

Can Google Analytics API do: after looking at /faq.html, which pages did the users go to most often?

using the Google Analytics Data Export API with http://code.google.com/apis/analytics/docs/gdata/gdataExplorer.html I put inpagePath and nextPagePath for dimensions, and pageViews for metrics, and filter for ga:pagePath=~faq.html But it returned a table with pagePath equal to nextPagePath which is the faq.html path. Is there a way t...

Is GoogleAnalyticsTracker.getInstance() required for tracking referrals?

I'm trying to track whether people have found my Android app from an ad, or elsewhere. So I found that google analytics can keep track of that via the carefully constructed url generated by this form: http://code.google.com/mobile/analytics/docs/android/#android-market-tracking which would look something like this: http://market.andro...

Why do Web Analytics such as Google Analytics use Dimensions and Metrics instead of SQL statement?

Just when I get quite familiar with SQL statements once again, when pulling data from Google Analytics, I found that they don't use SQL, but rather, use Dimensions and Metrics and the combinations of them. Why is a reason for that? I think it doesn't have a SQL interface (or a plain web server log download)? If so, how do SQL statemen...

in Google Analytics can settings, like filters, funnels etc. be defined afterwards and still efect prior data?

From a 'gradually adding more reports'- standpoint: is it possible to add settings like filters, ecommerce-metrics, funnels, etc. 1 at a time, and still have them be applied to the data prior to the date you applied the settings? (have the settings backward propagated if that's correct english) I can image if GA keeps the raw underlyi...

Google Analytics: why nextPagePath the same as pagePath when looking for where do users go after faq.html

On http://code.google.com/apis/analytics/docs/gdata/gdataReferenceCommonCalculations.html#navigation The "nagviation section", it is said that, to find Which pages are users going to after test.html? We can use: dimensions=ga:nextPagePath metrics=ga:pageviews filters=ga:previousPagePath%3D~test.html I also tried using dimens...

analytics is installed, nothing new, but no werkie!

I don't get it. I've had problems with analytics taking before on many of the other websites i've done, but never like this. it doesn't want to do. all i am getting is the ! ... what do i have to do to get the check mark? i've looked at google's help docs, but there is nothing going on here that's out of the ordinary... at least i do...

Google Analytics content segmentation.

The content on my website is about food recipes. I wanted to track the content by two categories only: main courses, and salads. So I created two advanced segments in Google Analytics, and categorized it by how the URL starts with. Now to see the segments, I always need to go to My Customizations > Advanced Segments and choose the desire...

What does 'unique visitor' mean in the context of Google Analytics on Android?

I've got my android app reporting usage statistics to Google analytics, and everything seems pretty awesome, however my 'unique visitor' count is always wrong. My account is reporting almost 30 unique visitors over the past month or so that I've been in development. The app is only installed on four devices. One of the devices is wi-fi...