Google Analytics widget

You use this widget to add Google Analytics tracking code to your page. You use Google Analytics to track your website traffic and marketing effectiveness. The tracking code that you insert in Google Analytics widget helps Google Analytics to get information about your website. For more information about Google Analytics, see www.google.com/analytics.

To gather data about your website traffic, perform the following:

  1. Sign up in Google Analytics.
  2. Register your website in Google Analytics.
  3. Obtain a tracking code from Google Analytics.
    For more information, see the Google Analytics Get started with Analytics.
  4. Drag Google Analytics widget anywhere on the page you want to track.

    NOTE: If you add Google Analytics widget in a page template the tracking is applied to all the pages that use this template. If you add it on one particular page, the tracking is available only for this page.
    When using the Google Analytics widget, the tracking code is always placed inside the <body> section of the page HTML. If you need to have the tracking code placed inside the <head> tag of the page HTML you must use a JavaScript widget and add the code manually. For more information see JavaScript widget.

  5. Click Edit button in the upper-right corner of the widget.
    The Google Analytics window appears.
  6. Paste the tracking code in the textbox.
    For more information, see Set up Analytics tracking.
  7. Click Save.
    The Google Analytics window closes.

For more information about advanced configuration options, see Advanced configuration of widgets.

Additional resources

ARTICLES

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?