Google Analytics

Ever wonder how hard it is to do analytics on your website? I did and I found out that it is super easy and to the rescue is Google Analytics. As much as I am a Microsoft fanatic, Google Analytics is amazing!

So what do you have to do:

1. Make an account.

2. Add the code.

Ok well it's a little bit more complicated than that but it is amazingly simple. Signing up for an account is easy so I won't cover that. Once you log in to you will be taken to the home page.

As you can see I already have two sites setup. So YOU are going to want to click on Admin at the top of the page. This will take you to the, you guessed it, Admin page where you want to add a Property. The middle column you will see a drop down menu. Click on it and at the bottom of the menu select Create new property.

Now you will be taken to the configuration page for the new property.

Here you will select the Features of the analytics you want, enter the website name, enter the website URL, Industry Category and the Time Zone. As of this writing that is the order on the page also. Very, very tough stuff....not. Once you click on Get Tracking ID all the information you need for your website will be generated. Navigate back to the Admin page and select your new property. Beneath your new property there should be a node called Tracking Info. Guess what's there. Your tracking info. Also inside that Tracking Info node is another node called Tracking Code. I swear they couldn't make this easier. Click on the Tracking Code node and something like the below will be displayed.

Now you are giving the code that will be put inside of your website to allow analytics data to flow abundantly. This script code will be placed inside the <header> tag just before the </header> tag. I have an example below showing this being done in Visual Studio.

Now the instructions say to put this code on every page you want to be tracked. So if you have 50 web pages, I hope you have a master page of some sort. Otherwise happy copy/pasting! My example shows this being implemented in a master page of an ASP.NET Web Forms project. It's actually my website. Once you are done deploy your code and wait for Google Analytics to get your data. Once Google is getting data go back to your Admin/Tracking Info/Tracking Code and at the top of the page there is a field called Status. It should say Receiving Data. If it doesn't be patient it will.

As you can see getting basic analytics from any website is very simple. Be sure to check out the Analytics Academy and the other resources found here.You can also use Google Analytics for your mobile app. I have not done this yet but be assured that I will and it will be blogged about. Thanks and talk to you soon! =)


So a while back I wrote a post on marketability. Mainly the point was that you should always be learning and keeping up with the latest and greatest. Along with learning new "things" you should continue to perfect what already you do know. So here is my plug for DVLUP.

DVLUP is a program from Nokia that helps developers. One form of help is challenges. These challenges have requirements that must be met in your app but allow you to create any app you can imagine. Through these challenges you as a developer are exposed to new concepts that you may have never thought of along with maintaining core concepts you already know. Plus it can just be good practice. 

A memorable milestone for me was when I was creating an app for the New App challenge and I had to implement a feedback a rating system. My thinking was "Oh great! How do I begin that". Here is where I learned about Launchers and URI schemas for built in apps on Windows Phone 8. Amazing but simple! I also was introduced to Nokia Rate My App.

On top of challenges they have rewards for the challenges, live events you can attend and a community full of knowledgeable developers. For the young child in us you can also earn stickers for certain milestones that you achieve. You can't go wrong with DVLUP. 

So please go visit It's an amazing way to start and continue your developer career. Thanks!


Hey everyone,

So I am very sorry that I have not posted anything in a very long time. We are currently working on a global project here where I work and have been doing a lot of testing. I finally have a chance to write. There is a ton of content that I want to put up so I will try and be diligent in writing. Thanks!