• Register
Need Any Help in Coding Post your questions here

In Asp.net MVC3 . Google Analytics Html Helper.

1 like 0 dislike
I heared there is a new Google Analytics Html Helper on MVC 3 .

how can i Implement that ??

Elam
asked in Technical by Elam
edited by admin

1 Answer

0 like 0 dislike

 

Hi

Just follow the below steps and install the HtmlHelpers .. 

Just install NUget package and then open the project  right click on reference and go to "Add libary Package reference" and then select the package "Microsoft-web-helpers" . After that you can use all the helper class.

And use this command to call in your page 

<td>@Analytics.GetGoogleHtml("UA-******")</td>

Replace the "UA-******" with your GA account Number..

Regards,

admin

answered by admin