How to implement Google Analytics (gtag.js)

Exciting news – you’re ready to dive into website analytics! Adding Google Analytics using our Gtag.js plugin is a fantastic step toward understanding your site’s performance. Here’s how you can set it up:

  1. Head over to https://www.sitesgpt.com/account/sites
  2. Find your site and click “Customize Site”
  3. Scroll down on the left sidebar to “Footer Sections” and hit “Create new section”
  4. Look for “Plugins” and select “Gtag.js”
  5. Grab your Google Tag ID from your Google Analytics dashboard (it usually looks like GT-XXXXXXXXX or G-XXXXXXXXX) and add it to the plugins “Meausrement ID” field.

Now, here’s the scoop: while installing the basic tracking code is straightforward, navigating Google Analytics can get a bit complex. It’s a very powerful tool – the more you explore, the more you can do.

Google Analytics offers a ton of features and options beyond just basic tracking. To help you understand the capabilities of our Gtag.js plugin, here’s a list of features that gtag.js supports by default. These features will be available to you out of the box without any additional site configuration or code snippets:

  1. Pageview Tracking: Tracking of pageviews is supported by default. This means whenever a page loads, gtag.js automatically sends information to Google Analytics to record the pageview.
  2. Event Tracking: Basic event tracking is also supported by default. Events like clicks on links, button clicks, form submissions, and other user interactions can be tracked without additional configuration.
  3. Cross-Domain Tracking: gtag.js supports cross-domain tracking out of the box. This allows you to track user interactions across multiple domains or subdomains seamlessly.
  4. Real-Time Reporting: Real-time reporting is enabled by default. This means you can view website activity as it happens in the Google Analytics interface without any additional setup.
  5. Integration with Google Ads: gtag.js integrates with Google Ads by default. This allows you to track conversions and optimize ad campaigns based on performance metrics collected through Google Analytics.
  6. User Identification: User identification capabilities are included by default. gtag.js can assign unique IDs to users to track them across sessions and devices for more accurate user-centric analysis and targeting.

Please let us know if you have any other questions!