Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

Wednesday, 8 July 2009

SEO: Google analytics workaround for non-FQDN sites

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 =)

Tuesday, 21 October 2008

Google: Link to Maps

Only to pinpoint a position:
http://maps.google.com/maps?q=park+road,woolloongabba

With 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:
  • The lang: operator, which restricts by programming language (e.g., lang:"c++", -lang:java, or lang:^(c|c#|c\+\+)$)
  • The license: operator, which restricts by software license (e.g., license:apache, -license:gpl, or license:bsd|mit)
  • The package: operator, which restricts by package URL (e.g., package:"www.kernel.org" or package:\.tgz$)
  • The file: operator, which restricts by filename (e.g., file:include/linux/$ or -file:\.cc$)

Google Search Tricks from Tom's Guide

  1. Get firefox extension, Customize Google
  2. Surround keywords with quotes
  3. Use at least 3 keywords
  4. Use the * wild card
  5. Limit search by using minus (-) character. Chewy -food, returns chewy but not food
  6. Specific filetypes, chewy filetype:pdf
  7. Specify number of results, &num=5 in result querystring
  8. Brackets, (“www.tomguide.com and AMD” or “Pentium*”)
  9. Limit search to a website, site:www.tomsguide.com firefox
  10. Remove spam filters by adding this to querystring, &filter=0
  11. Synonyms (doesn't seem to work), ~vicarious
  12. Spelling Options, Penryn|Penrin
  13. Google Calculator, 100 m to ft
  14. Word Definition, define:isotope
  15. Currency Conversion, 50 dollars in euros
  16. Language Translation
  17. Google preferences, link is located right side of search bar
  18. Google News
  19. World News
  20. Finding the right image size, in google images click on the "all image sizes" box, below the search bar.
  21. Images search setting, filter based on format, colors, size