google-analytics

Does preloading content from a page skew my google analytics stats?

I'd like to write myself a simple script that uses AJAX to load the content from each page on my main navbar into a hidden div on the current page. This is just so that I can preload as much of my important content as possible and get it cached on the user's computer (hopefully) before they've finished with the current page and want to ...

Javascript Detect All Images (Including Asynchronous)

Is there a way in javascript to detect all images in a document, including those that may be loaded asynchronously (and maybe after the DOM is ready)? I'm looking to create a function that can detect if Google Analytics has been loaded by searching through the DOM looking for "__utm.gif". document.images doesn't seem to hold this image...

jQuery code to track clicks on outgoing links (google analystics)

Hello, I found this on the web: $('a[href^=http]:not("[href*=://' + document.domain + ']")').click(function() { pageTracker._trackPageview('/outgoing/' + $(this).attr('href')); }); But it's not working. In my Google Analytics account there are no /outgoing/ links showing (it's been 24+ hours since I implemented it). What's wrong wit...

Google Ajax search API

Hi Folks, I'm wondering, is it possible to receive google results over their own ajax API in a way like, 100 results per page? Without a visible search field, I'd like to get the results in the background to create a progression for some search phrases. My basic question is, what are the restrictions of the google search api ? --upda...

Google analytics Cookies

In my browser cookies are creating by name _utma,_utmb and so on if i reject cookie creation.I think this cookie is for google analytics.Anybody know how google creating this cookie even browser not supporting cookie creaton.Thanks ...

Would server traffic software (something like Piwik or Google) make a good case for using No SQL?

We are trying to develop a company specific tracking software but not interested in Google or Piwik. Essentially we would have a JavaScript tracking code also. The data that it would capture, would that be best suited for traditional RDMS or can we get a NO SQL solution ? Any thoughts or ideas welcome. ...

Google analytics compare mutiple sites conversion rate

Hi Team, I would like to compare conversion funnels from multiple sites. Is there a straight forward way of doing this in google analytics? Thanks, Jackson ...

Google Analytics Goal conversions showing zero since last week

Hi, We have setup 3 Google Analytics Goals for our website. Typically the goal conversions would be in the range of 500 per day. But strangely, the reports have been showing zero conversions for all 3 goals since 14-April-2010. I have verified that the tracking code in the web pages is correct and that no changes have been made to the...

Put Google Analytics code on a link?

Hello there. How do you put google analytics code on a link, for example a link on your page to a download file. Is there a way to call the analytics function from a link? Cheers. ...

XMLHttpRequest() and Google Analytics Tracking

I have implemented an XMLHttpRequest() call to a standalone html page which simply has an html, title & body tag which Google Analytics Tracking code. I want to track when someone makes a request to display information (i.e. phone number) to try and understand what portion of people look at my directory versus obtaining a phone number t...

Is there a posibillity to import own data into google analytics?

I want to compare own data with data generated by google analytics. For example I want to see the number of my twitter followers compared with my page visitors per day. Is there a way to do something like this? ...

Spoof referrer to Google Analytics?

Whenever a user visits "Page A" on my site, I immediately redirect him to "Page B" by setting window.location with Javascript. "Page A" has no Google Analytics tracking on it -- when someone is redirected from "Page A" to "Page B" I want to track him as if he entered the site via "Page B". Unfortunately, my current setup breaks referrer ...

How do I prove to a client/advertiser that my site's analytics numbers are what I say they are?

I have been asked to provide recommendations on "Verified Analytics" for the next iteration of my company's site. Verified to mean that when we sell ad space, it's based on a number of page-views, and the people who buy that space want a way to verify that the numbers we give them are the actual numbers we're delivering. I have turned t...

Google Analytics Script inside XML File

Hi, I would like to know If I can add my ecommerce analytics tags inside an xml formated file? <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_trackPageview']); _gaq.push(['_addTrans', '1234', // ...

Google Analytics tacking multiples domain mobile web app

Hi, I want tracking mobile web application that it is accessed from multiple domains with one google analytics account. I have found some information to do in tradicional web but not in mobile web. Could i change this code in snippet1? if (HttpContext.Current.Request.Url != null) { url.Append("&utmp=").Append(HttpUtility.UrlEncod...

blacklist test requests from google analytics using watir

Hi, I have to automate tests for a web application which runs google analytics script. I have chosen watir for the automation since I can script all the test cases with the same. The only problem is i dont know how to remove my test requests to the web apps from the google analytics report. Can anyone help me with the same? Is it possi...

Is there a way in Google Analytics to check the javascript hashes typed in the URL?

I mean, for example an user types an address like this http://www.mydomain.com/#hi_guys Where may I handle this kind of hashes in Google Analytics? Thank you. ...

Problems with noobs putting my GA code into their sites

I don't mean for the title to be derogatory, but this is a rather frustrating problem, and I'm looking for a good workaround, given a language barrier involved. I have a site set up for a plugin I wrote, and, rather than use the site's resources to write their own code, I've had people simply rip the code from the samples on the site. N...

How to extract data from Google Analytics and build a data warehouse (webhouse) from it?

I have click stream data such as referring URL, top landing pages, top exit pages and metrics such as page views, number of visits, bounces all in Google Analytics. There is no database yet where all this information might be stored. I am required to build a data warehouse from scratch(which I believe is known as web-house) from this dat...

Possible Google Analytics Bug - Traffic Sources Total Visits not matching Total Visits in other reports

Hello, Has anyone else seen this issue? As of roughly 2 weeks ago, I get conflicting figures for the Total Visits metric between the Traffic Sources report and the other reports (e.g. Visitors, Dashboard). For example, for the week of 5/9/2010 through 5/15/2010, the Dashboard and Visitors reports both say 386 Visits. The Traffic Source...