google-analytics

RegEx for Dynamic URL Goals settings in Google Analytics

Hi, I have tried to work this regex to set up a goal in GA for 2 days, but I cannot get my head around it... The url format is like this: /purchase.php?cDd=1&transaction_id=xxxxxxx&verify=xxxxxxxxxxxxxxxx=&method=creditcard&type=purchase transaction_id= is populated with a sept of numbers verify= is populated by a string of numbers, l...

Ctrl+Click / Command+Click not working with analytics

Hi All, I created my own analytics for my site to track outbound click events using jquery. Now the thing with preventDefault() is that it does not allow for the Ctrl+Click or COmmand+click operation in the browser to open the link in new tab/window. So my solution was to detect e.metaKey || e.ctrlKey and use window.open. This does not ...

How to measure Silverlight or Flash control load time with Google Analytics

Hi everyone I have a simple silverlight page for for finding available domain names. This problem is equaly valid for a flash control as well. I use Google Analytics for monitoring the traffic. I would like to find out how long it take for users to download and render the Silverlight control. Once the java script on a page is loaded...

Why does GANTracker outputs an error "GANTracker.m" not found?

Hi, I have used the Google Analytics Tracker in a previous iPhone OS project. Everything was working fine and I copy & pasted the GANTracker Library and the Tracker initialization. When starting my new project it tells me: Xcode could not locate source file: GANTracker.m (line: 177) To tell the truth, I don't know where to star...

Google Analytic Metric to use for off-site banner click comparison

I have all my off-site banner ads correctly campaign tracked/tagged but I want to know what metrics I should be looking at in the GA for the closest comparison to the ad servers clicks. I am pretty sure it wouldn't be Visits but I also see there is PageViews and UniquePageViews. My GA data is coming in way off from what the ad server m...

How to collect data from Google Analytics?

How can I create a reporting application that collects data from Google Analytics, processes it and returns it for my own custom reporting solution? ...

What's the role of the parentheses in the following piece of code?

This is the tracking code for Google Analytics: var _gaq = _gaq || []; _gaq.push(["_setAccount", "UA-256257-21"]); _gaq.push(["_trackPageview"]); (function() { var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true; ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".goo...

google analytics in asp.net

Hi All, I am using asp.net 3.5 with C#. I have registered my application in google analytics and it is successfully showing my statics. But I want to integrate that statics into my website, is their any way I can do it. Thanks in advance ...

Does Response.Redirect affect google analytics?

We'd like to create a simple 'friendly url' on a site that Response.Redirects to the actual ugly url. Will this impact Google analytics at all? example: /somepage redirects to /index.aspx?someuglyquerystring Thanks. Edit And further to that, I'm assuming that Server.Transfer would be ok here? I did run into a gotcha in trying this - ...

Regular expression for a string containing one word but not another

I'm setting up some goals in Google Analytics and could use a little regex help. Lets say I have 4 URLs http://www.anydotcom.com/test/search.cfm?metric=blah&selector=size&value=1 http://www.anydotcom.com/test/search.cfm?metric=blah2&selector=style&value=1 http://www.anydotcom.com/test/search.cfm?metric=blah3&selecto...

How to know which URL is accessed from IP address/Country in Google Analytics.

How to find-out which url is accessed from which IP address/Country using Google analytic. I found the country list and visit count. how do i know which URL visited from that country. ...

Set up facebook UrchinTracker for aJax calls for Google Analytics

I have set up the Google Analytics in my FBML facebook application. It works for tracking the php pages. (I can see the report in GA). However, I also want to track the aJax calls, because most of the pages of my application is ajax driven, rather than loading differnet php pages. so, that's what I put in the code (before ajax call) ...

Tagging page tracker event using the Async google analytics

In the old GA.js I was doing this: <script type="text/javascript"> pageTracker._trackPageview("/Page/About_Us/"); </script> What is the equivalent using the asynchronous analytics code? ...

jQuery Tools - to make Keyboard and Cookies feature for AJAX:ed tabs with History and Google Analytics

Could anyone make Keyboard and Cookies feature for jQuery Tools AJAX:ed Tabs with History and Google Analytics!? The feature issue in http://github.com/jquerytools/jquerytools/issues#issue/54 Simple Keyboard feature for jQuery UI Tabs already has been done in http://fnagel.github.com/jQuery-Accessible-RIA/Tabs/ajax.html jQuery Tools Ta...

How to do Google Analytics for ajax call in Facebook?

I have a FBML game and need to track all ajax calls. At the bottom of the page, I have this: and in the javascript functions, I put this: Facebook.urchinTracker("/ajaxcallname/"); However, it doesn't work.. and what I found out is that the utmac (the google account id) is empty!!! _uacct is empty! even I set it in the FBML, i...

What difference does it make to use several script blocks on a web page?

Edit: As Andrew Moore pointed out this question is a duplicate of Two separate script tags for Google Analytics? So this question should be deleted to avoid cluttering Stack Overflow, unless there is a point in keeping this one, since it will probably show up in slightly different searches. What difference does it make to use more than ...

Custom Page tagging in Google Analytics

I want to have custom page tags, which are different from URLs I have, in my Google Analytics report page. For instance, Actual URL : /news/today_news.php Page tag on Google Analytics : /news/today_news.php/Category.News/TodayNews How can I make the custom page tag with Google Analytics Data Collection API? ...

How to skip Google Analytics loading?

Turkish government have blocked some IPs including Google Analytics. This caused all the web sites using alanytics to slow down and even not to load. How can we prevent this problem? How can we skip loading of ga.js if not available? ...

Google Analytics Ecommerce doesn't work with Safari5

My code works with Firefox and Chrome, but not with Safari5. I'm using the Asynchronous version of GA Ecommerce Tracking. Here's the relevant part of my code: var trans = _gaq.push(['_addTrans', productDetails['orderId'], productDetails['affiliation'], rpc]); _gaq.push(['_addItem', productDetails['orderId'], productDetails['sku'], ...

How do I set the "default page" in Google analytics if my site uses "friendly" URLs?

I have a website tracked using Google Analytics. It is a Django-based website, so all the URLs are "friendly" URLs (e.g., /my/friendly/url/) and don't have associated files like index.html, etc. Should the "default page" option in Google Analytics be left blank or set to /? ...