we've setup google analytics on our external facing internet site and its been running great for the past year.
But now, we're looking at employing the same solution to our intranet.
Reading the FAQ on google, states that analytics requires two things for it to work correctly.
First, your internal network needs to be able to access certain resource files located on google's server.
Secondly, the site needs to have a FQDN (Fully Qualified Domain Name).
My problem is our intranet doesn't have an FQDN.
Read a few posts that there is a simple workaround for this.
First, copy the google tracking code and add it to a page on a site that does have a FQDN.
Add the _setDomainName property to the code, just beneath the variable declaration for pageTracker.
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
pageTracker._setDomainName("none");
Change your settings in analytics to point to the location of the temporary site.
Confirm tracking code is working and leave it overnight to collect stats.
Once a day's worth of stats have been collected, you can remove the tracking code on your temporary site and append the code to your intranet site.
Analytics will continue tracking your site as if nothing has changed =)
Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts
Wednesday, 8 July 2009
Tuesday, 21 October 2008
Google: Link to Maps
Only to pinpoint a position:
With Start and End address:
http://maps.google.com/maps?q=park+road,woolloongabbaWith Start and End address:
http://maps.google.com/maps?saddr=queen+street,brisbane&daddr=eagle+street,brisbane
Thursday, 4 September 2008
Google: Chrome Browser easter eggs
Similarly to Firefox's about:config page, Google's Chrome Browser has a number of interesting about pages as well.
Type the following into your address bar!
about:memory
about:stats
about:network
about:internets
about:histograms
about:dns
about:cache
about:plugins
about:version
Additional stuff on a per site basis:
view-cache:[URL]
cache:[URL]
Thursday, 8 May 2008
Google code search
Google code search supports POSIX extended regex syntax.
http://www.google.com.au/codesearch?hl=en
Some advance search examples:
http://www.google.com.au/codesearch?hl=en
Some advance search examples:
- The
lang:operator, which restricts by programming language (e.g.,lang:"c++",-lang:java, orlang:^(c|c#|c\+\+)$) - The
license:operator, which restricts by software license (e.g.,license:apache,-license:gpl, orlicense:bsd|mit) - The
package:operator, which restricts by package URL (e.g.,package:"www.kernel.org"orpackage:\.tgz$) - The
file:operator, which restricts by filename (e.g.,file:include/linux/$or-file:\.cc$)
Google Search Tricks from Tom's Guide
- Get firefox extension, Customize Google
- Surround keywords with quotes
- Use at least 3 keywords
- Use the * wild card
- Limit search by using minus (-) character. Chewy -food, returns chewy but not food
- Specific filetypes, chewy filetype:pdf
- Specify number of results, &num=5 in result querystring
- Brackets, (“www.tomguide.com and AMD” or “Pentium*”)
- Limit search to a website, site:www.tomsguide.com firefox
- Remove spam filters by adding this to querystring, &filter=0
- Synonyms (doesn't seem to work), ~vicarious
- Spelling Options, Penryn|Penrin
- Google Calculator, 100 m to ft
- Word Definition, define:isotope
- Currency Conversion, 50 dollars in euros
- Language Translation
- Google preferences, link is located right side of search bar
- Google News
- World News
- Finding the right image size, in google images click on the "all image sizes" box, below the search bar.
- Images search setting, filter based on format, colors, size
Subscribe to:
Posts (Atom)