title: Implementing Google Analytics in ASP.NET MVC 4
body: <p>I am trying to implement GA in a MVC 4 application.
  I got the .NET API's from Google and created an instance of AnalyticsService like so:</p>
  <pre><code>AnalyticsService service = new AnalyticsService(&quot;WebSiteAnalytics&quot;);
  </code></pre>
  <p>I have also configured the Google account credentials in the config file and they are read from there.
  Now my question is what's a ProfileId and what's a Table Id?</p>
  <p><a href="http://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/samples/Analytics_DataFeed_Sample/dataFeed.cs" rel="nofollow noreferrer">This</a> link uses Table ID. Where do I get it from.
  <a href="http://mahdi.ws/how-to-use-google-data-api-in-asp-net-mvc-part-1-google-analytics/" rel="nofollow noreferrer">This</a> link uses Profile ID. Where do I get it from.
  I am totally confused about these two!!!</p>
  <p>The only id GA gave after registering at GA is a tracking id in this format UA-XXXXXXXX-X</p>
  <p>Can some one point to a resource where I can get started with this?</p>
  <p>Regards.</p>