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