Blog · WebJi® India

How to Add Google Analytics to WordPress

Quick answer: How to Add Google Analytics to WordPress from WebJi®, billed in INR with 18% GST on the invoice. Email support@webji.services is 24/7 in Hindi and English (average first reply under 60 minutes). Phone +91 141 4941811 is business hours only. The company has been in this business since 2005.
✓ In business since 2005✓ INR + GST billing✓ 24/7 Email Support — avg reply < 60 min
Focused Indian analyst studying analytics charts across two monitors — how to add google analytics to wordpress

What You Need First: A GA4 Property

The questions below cover the setup decisions that actually trip people up: which plugin to use, where the tracking code goes when you skip plugins, how to confirm Analytics is working before you trust the reports, whether GA4 costs anything, and how to connect Search Console alongside. Each answer names the exact screen or button involved — the same paths our support desk walks customers through — so the setup finishes in one sitting rather than three frustrated evenings.

Method 1: Site Kit by Google (Recommended)

Method 1, recommended: Site Kit by Google — Google's official plugin, free, and it authenticates directly with your Google account.

Focused Indian analyst studying analytics charts across two monitors — how to add google analytics to wordpress
  1. Install: Plugins → Add New → search "Site Kit by Google" → Install → Activate.
  2. Connect: Site Kit → Start Setup → sign in with the Google account that owns the GA4 property.
  3. Grant scopes, then select your site's Search Console property when prompted.
  4. Choose the GA4 property to link (create one inside the flow if none exists).
  5. Enable Analytics in module settings and save — the gtag snippet is inserted for you.
  6. Verify in GA4 Realtime by visiting your own site.

Plugin activation issues resolve via the activate plugin from cPanel guide, and theme-level conflicts are rare on maintained free WordPress themes.

Method 2: Paste gtag.js Code in the Header

How this plays out with GA4 measurement ID (G-XXXX): settings that look cosmetic usually decide page speed and uptime under real traffic. The defaults WebJi® ships are tuned for Indian network conditions, and support can review your setup on request.

Method 3: Google Tag Manager for Advanced Setups

Two practical notes on Site Kit by Google plugin: it interacts directly with caching and database response, and misconfiguration is the most common cause of 'hosting is slow' tickets. WebJi® support checks it as part of standard migrations.

Verifying Tracking With the Realtime Report

Two practical notes on Google Tag Manager: it interacts directly with caching and database response, and misconfiguration is the most common cause of 'hosting is slow' tickets. WebJi® support checks it as part of standard migrations.

Common GA4 Setup Mistakes to Avoid

The silent mistakes, named so you skip them. Installing two methods at once — plugin plus manual paste double-counts page views; pick one. Pasting the old Universal Analytics snippet (gtag.js with a UA- ID) which tracks nothing in GA4. Filtering out your own traffic incorrectly, or not at all while testing. Forgetting internal staging domains, which pollute Realtime checks. And the classic: measuring before goals exist — GA4 needs conversion events marked, or reports stay decorative. Verify once in Realtime, then leave it alone.

Frequently Asked Questions

How do I add Google Analytics to WordPress without a plugin?

The questions below cover the setup decisions that actually trip people up: which plugin to use, where the tracking code goes when you skip plugins, how to confirm Analytics is working before you trust the reports, whether GA4 costs anything, and how to connect Search Console alongside.

What is the best plugin to add Google Analytics?

For How to Add Google Analytics to WordPress, judge a provider on three things: where the server sits for your visitors, whether the bill is INR with GST, and whether a person reads email at night. WebJi® has done this since 2005, serves 12,000+ clients online across India and overseas, and publishes a 99.9% uptime target. Ask for an INR quote if this page has no plan table. Email is support@webji.services, 24/7, Hindi and English.

Where do I paste the Google Analytics tracking code in WordPress?

The questions below cover the setup decisions that actually trip people up: which plugin to use, where the tracking code goes when you skip plugins, how to confirm Analytics is working before you trust the reports, whether GA4 costs anything, and how to connect Search Console alongside. The question here is: Where do I paste the Google Analytics tracking code in WordPress.

How do I check if Google Analytics is working on my site?

The questions below cover the setup decisions that actually trip people up: which plugin to use, where the tracking code goes when you skip plugins, how to confirm Analytics is working before you trust the reports, whether GA4 costs anything, and how to connect Search Console alongside. The question here is: How do I check if Google Analytics is working on my site.

Is Google Analytics free for WordPress sites?

For “Is Google Analytics free for WordPress sites”: Method 1, recommended: Site Kit by Google — Google's official plugin, free, and it authenticates directly with your Google account.

How do I connect Google Analytics to WooCommerce?

The questions below cover the setup decisions that actually trip people up: which plugin to use, where the tracking code goes when you skip plugins, how to confirm Analytics is working before you trust the reports, whether GA4 costs anything, and how to connect Search Console alongside. The question here is: How do I connect Google Analytics to WooCommerce.

Is WebJi® an Indian company?

Yes. WebJi® is headquartered in Jaipur, Rajasthan and has operated since 2005. Billing, support and governance all run from India.

Do you provide GST invoices?

Every purchase and renewal gets a GST invoice with our GSTIN, and hosting prices are quoted exclusive of 18% GST. Claim input credit as applicable.

Need help with this?

WebJi® support does it for you — free. Talk to our Jaipur team →