Archive for tag: Google

Google Labs

Google is constantly developing and testing new ideas, most of which are made available to the public early during their development cycle.  If you would like to see what is next on Google's ever expanding horizons, check out http://www.googlelabs.com/.

GoogleLabs

As of this post, their most recent tool is Follow Finder.  This tool allows you to enter a twitter user name and then goes off to analyse the social graph attached to that name (following/followers) to produce a recommended list of twitter users for you to follow.

Some of the projects (or experiments as Google likes to call them), never get out of the Labs, however a lot go on to become fully fledged Google products.  So check it out and be one of the first to see what the future holds!

Setting up Google Mail for your domain

Nearly everyone knows that google has a free email service called gMail and most are aware that there is a paid offering for organisations.  What you may not know however is that there is a standard edition of the Google Apps offering which is free.

Google Apps Standard

With this version you can have up to 50 email addresses with the @yourdomain.com extension.

All it takes to  set Google Apps up for email is:

  • A domain name
  • Access to your DNS settings
  • 30 minutes of your time

The setup process is very well documented and clearly shows how to update all your DNS settings, even going as far as providing howto's for the different hosting providers.

At the end of the process I now have multiple email addresses with the @bayshield.com domain name.  I also have full web based email access via mail dot bayshield.com and my email synchronises with my iPhone using the iPhones built in mail program.

Furthermore none of this has affected my website (after all you are reading this) and by following the instructions provided I had no email downtime.

Below is what your DNS settings should look like after moving to Google Mail.

DNS Settings

Using Google Website Optimiser

Google website optimiser is a free tool from Google for performing A/B (Multivariate) Testing on your website.  What this means is that you can test different copy and imagery side by side to see what gives you the highest conversion rate.

Step One

Setting up a new test (or experiment as google calls them) is a fairly simple process.  First you need to go to the GWO site and log in using your google account details.  Then you can select 'Create a new Multivariate Experiement'.

GWO Screen 1

Step Two

Once you have done this GWO will give you a short checklist to review before you proceed.

GWO Screen 2

Step Three

The next step in setting up an experiment requires you to specify the page being tested and the conversion page.  The conversion page is the goal page, i.e. the place where you would like the user to get to.  It is important to note that the pages you are listing below should exist before you try and create the experiment or you will get a warning message.

GWO Screen 3

Step Four

After clicking next you will then be given a number of pieces of JavaScript to be installed on the two pages mentioned above.

The important piece of code here is the following:

GWO Screen 4

You need to pace this code around any element you want to be modifiable for your tests.  It is also extremely important to ensure that a default value is supplied between the Script and NoScript tags as this is the value which will be seen by spiders such as Google.

Step Five

Once the above tags are in place Google will analyse your page and will give you the option of entering replacement values for each of the tags.

After the scripts and tagging are successfully installed, GWO will alternate the values shown to the end user and will track the combinations that lead to the highest number of click throughs to your conversion page.

You can then monitor the results of your experiment and add or remove test items whilst watching the effect it has on your conversion ratio.

Analytics for IPhone Applications

If you ever wanted to know how users are using your iPhone application then Google has the answer.  Google have extended their excellent web analytics package to include support for both the iPhone and Android mobile platforms.
After integrating the code with your application you can use the Google Analytics dashboard to view both:
  • Pageviews
  • Events

Pageviews correspond to views in your application and as the name suggests the event tracking can be hooked into any UI control to monitor how the user is interacting with your application.

For more information about Analytics Tracking for Mobile applications click here.

Creating a Google Sitemap in umbraco

One of the must do tasks for any webmaster is the creation and submission of a sitemap to Google. Submitting a sitemap doesn't guarantee that all the pages in your site will be indexed, however it does make it easier for the search engines to at least find your content, which is particularly important if your site is not structured in a SEO friendly manner.

There are a number of packages in the umbraco forum for creating Google sitemaps, however in this article I will show you how to make your own which we will modify in future articles to form the basis of a News Sitemap and a Video Sitemap.

The google article on creating and submitting sitemaps can be found here.

Step 1

The first step in umbraco is to create a new document type and matching template which we will call "Google Sitemap".  Add one new property to this doc type with an alias of umbracoNaviHide and use the "True/False" datatype.

Step 2

Create a new XSLT file called "Google Sitemap" and paste the following code.  Please note that this code initially came from someone in the umbraco community, however I don't know who so I can't reference them here, also the domain name is hard coded in two locations below which you will need to update.

<xsl:template match="/">
<!-- rendering first level node -->
<url>
<loc>/</loc>
</url>

<xsl:call-template name="drawNodes">  
<xsl:with-param name="parent" select="$currentPage/ancestor-or-self::node [@level=1]"/>
</xsl:call-template>
</xsl:template>

<xsl:template name="drawNodes">
<xsl:param name="parent"/>

<xsl:if test="umbraco.library:IsProtected($parent/@id, $parent/@path) = 0 or      (umbraco.library:IsProtected($parent/@id, $parent/@path) = 1 and      umbraco.library:IsLoggedOn() = 1)">

<xsl:for-each select="$parent/node [string(./data [@alias='umbracoNaviHide']) != '1' and         @level <= $maxLevelForSitemap]">
<url>
<loc><xsl:value-of select="umbraco.library:NiceUrl(@id)"/></loc>
</url>
<xsl:if test="count(./node [string(./data [@alias='umbracoNaviHide']) != '1' and        @level <= $maxLevelForSitemap]) > 0">  
<xsl:call-template name="drawNodes">
<xsl:with-param name="parent" select="."/>
</xsl:call-template>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:template>

Step 3

Open the Google Sitemap template created in step 1 and paste in the following code.

<%@ Master Language="C#" MasterPageFile="/umbraco/masterpages/default.master" AutoEventWireup="true" %><asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server"><?xml version='1.0' encoding='UTF-8'?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><umbraco:Macro Alias="GoogleSitemap" runat="server"></umbraco:Macro></urlset></asp:Content>

Step 4

The final step is to go into the content tree and create a new file.  This can be called anything you want, however you will need to note the filename so you can submit it through webmaster tools.  If you don't have the option of "Google Sitemap" as a valid child node, check to ensure that the parent document type allows the "Google Sitemap" doctype as a child node.