Add Google Analytics to your website

Get into details and find out even more about your website's traffic.
Dive into the details and learn how visitors use your website.

Create your Google Analytics account and code

Log in to Google Analytics with your Google account. Click Get started today and then Start measuring. Create an account and fill in the required details.

Once setup is complete, you’ll land on the Start collecting data view – choose Web as the platform.

Enter your website address – make sure to use the correct domain with the https:// prefix (e.g. https://mybusiness.com).

After registering the account, you’ll get a Global Site Tag code that looks like this:

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-12345BCDGH"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-12345BCDGH');
</script>

Add Google Analytics to your Voog site

Now add Google Analytics to your site through the Integrations view. Open Integrations from the bottom toolbar, choose Google Analytics and enter only your measurement ID (e.g. G-XXXXXXXXXX).

Voog will automatically add the necessary code to all public pages. This method is recommended if you want a quick and error-free setup without copy-pasting code manually.

It may take up to a couple of days before you see the first results in your Google Analytics reports.
Google Analytics settings window.

Track e-commerce events

If you run an online store and want to track events (like cart additions, purchases, or payments), check out the detailed guide on e-commerce event tracking.

That guide explains:
  • how to add additional gtag() commands,
  • how to set up event tracking with Google Tag Manager,
  • how to collect more e-commerce data in Google Analytics.

Inform visitors about cookies

If you use Google Analytics or other third-party apps that collect data, you need to inform your visitors about cookie usage. See the cookie notice guide for details.