google-analytics

Tracking Offsite Conversions with Google Analytics

I'm trying to track my AdWords campaigns through to the final conversion. However, the conversion happens offsite, in a separate session. Many of the conversions are being attributed to that external site, where in reality, the referrer was really the AdWords campaign. Currently, Analytics is properly catching only about 60% of the conve...

How to track iPhone orientation in google analytics?

We're getting ready to deploy a mobile version of our website and we'd like to track the iPhone orientation within google analytics. I'm guessing we should do this as a custom variable because I don't see any pre-defined way to track this under the mobile tab for analytics reports. I'm not sure how to detect the current orientation of th...

Event tracking vs Custom Variables

What is the difference between the two? I have an Ajax heavy site and I'm not sure which one would be more appropriate to use for tracking requests. ...

Google Analytics Realtime Sandbox Environment

I am looking for a way to setup a google analytics sandbox environment that will allow me to test out my custom js code near real time. My app will be using custom variables for advanced segmentation, and I would like to test out multiple scenarios quickly, as opposed to setting up a dummy GA account and wait for a whole day to confirm...

Analytics for 3rd party JavaScript widgets

I'm trying to find the best approach for analyics on 3rd party JavaScript widgets - i.e. tools and content that is distributed to any number of arbitrary users, who include the widgets as HTML snippets with tags. On the same domain Note that the widgets do not load into an iframe element that has a document loaded from the external si...

tracking users with google analytics after they leave my domain to make a purchase and come back

I would like to track where users originally came from when they make a purchase on my site so I know which keywords are more profitable and which websites are best for advertising. an example is a user is on my site with my google analytics tracking code which has details of where they came from, and then decides to upgrade. they leave...

Varnish and Google Analytics

Hi, I don't quite understand how Google Analytics cookies work with Varnish. Do pages that contain GA cookie not get cached? Do I need to remove the GA cooke in vcl_recv? If I do remove them, does that stop GA tracking visitors? ...

Recording request page time with google analytics

It's easy enough to record how long a page takes to load using Events with Google Analytics and I can find plenty of examples of how to do that by searching. The problem is most of these methods record the start time as being the moment the page starts to load so in effect all it tells you is how long the page took to render in a browser...

How to setup visitor variables in Google Analytics

Hi, I don't quite get how to use the visitor level variables. Do I need to put them in some sort of condition to determine if the visitor is a repeat visitor, or do I just use the _SetCustomVar method like I would the page or session variables? ...

Difference between a visit in Omniture and Google Analytics

GA : « A period of interaction between a visitor's browser and a particular website, ending when the browser is closed or shut down, or when the user has been inactive on that site for a specified period of time. » Omniture : «A visit is a term that refers to a visitor's access to a website. The visit begins when a person first views a ...

Track incoming Referring site via link in PDF file?

I have recently placed an ad in a weekly publication that sends out a PDF file. My ad is directly linked so that the reader can click on it and go to my website. The PDF file is hosted on a different server, but is, in fact, a PDF file that has to be downloaded and viewed on that site, not emailed or shared that way. I have Google Ana...

Creating an Interactive bar Chart out of Google Analytics Data

Hi Guys, I want to make a bar chart from the google analytics data. Current implemetation of the bar chart in my site is by See Analytics I am developing an ASP.NET website and this See Analytics is using PHP and jQuery to conjure the chart. It is also paid. What my client would like is a similar tool that draws chart from analytics,...

Facebook tag fb:google-analytics vs adding the Google analytics JavaScript mysel

when why and where to use each one of those method? what are the advantages and disadvantages of each method ? ...

Google Analytics Async Event Tracking

Hi, Wonder if somebody is able to clarify the following; Using the aysnc google analytics code placed in the head of the document as follows var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-123456-1']); _gaq.push(['_setDomainName', '.somedomain.co.uk']); _gaq.push(['_trackPageview', pageUrl]); (function() { var ga = d...

How to track custom parameter with Google Analytics and utm.gif

Hi there The situation I'd like to use GA to track some serverside operations. That's why I cant make use of the GA Javascript fuctions. But, as you might know, you can request the utm.gif right from your server. This already works fine. The Problem I'd like to trackt custom parameters. But i have no idea how to add them in the right f...

How many times is the custom variable recorded?

I am using the async version of Google Analytics along with custom variables and events. I have placed the tracking script (cut and paste from google) at the end of the section. The custom variable is set above the tracking code in the head section. I'm assuming that Googles Analytics will send the data including the custom variable o...

Google Analytics for Wordpress not working.

I have the Google Analytics for wordpress plugin produce by http://yoast.com I have it installed on two blogs. On one it works perfectly... the other it does not work. Both designs are custom designed. As such the only thing i can think is that the designs are coded in different ways such that the plugin inst inserting the code into on...

Why does Google Analytics show less visits than One&One stats?

Comparing google analytics results to one&one hosting monthly statics shows a huge discrepancy. For last month: Google shows 1046 visits. One&one stats show 15304 unique visits. The google code is in the footer which appears on every page. I'm aware ga only works with js enabled but to assume that many non js users??? ...

Getting Event data from Google Analytics

Hi All, I put some tracking code on my website which had events everytime I click some button on my website. I got all these data in the google analytics website. Now I am trying to get this data through the GA Data export API's. I looked at what metrics I can query on in this link http://code.google.com/apis/analytics/docs/gdata/gdata...

Adding Time information in XAML

Hi All, I am tracking my website using Google Analytics and I have events corresponding to button clicks. I want the Time information also as to which button was clicked first and which came next. For this I was thinking of adding a time information in the Value field of my track action for the button. Is there anyway I can get the cur...