Biggest Black Friday/Cyber Monday Deals on Hosting, Themes, Plugins, CDN, etc. Go Get Lifetime Deals! Get Now

How to Add Google Analytics to Kadence Theme?

Are you looking for a way to add Google Analytics to Kadence Theme? If you are a newbie to the kadence theme and also new to Google Analytics and don’t know how to create a Google Analytics Account.

Here is the process to add Google Analytics tracking code to your WordPress website theme.

I will present you with two simple ways to help you achieve this goal and let you keep track of how people interact with your website.

I assume you know about Google Analytics by now and have already set up your tracking code.

Here we are using the code of the latest Google Analytics version i.e. Google Analytics version 4 aka GA4.

If not then here is a quick way to get a tracking code.

  • Go to analytics. gooogle.com.
  • Go to Admin Menu > Property Panel.
  • Under Property, go to Data Streams.
  • You will see your site name, Click on it.
  • Now, go to View tag instructions.
  • Click on Install Manually.
  • Now, you will get a Google tag (gtag.js) tracking code.

Add Google Analytics to Kadence Theme

How to Add Google Analytics to Kadence Theme

Today, I’m going to show you how to add Google Analytics to the Kadence theme.

If you are looking for a one-stop resource without tons of complicated steps, then this post is for you.

This tutorial will help you learn how to add Google Analytics to your Kadence Powered sites in 2 steps

Implement only one of them.

This is a tutorial for the Kadence user who is using the Premium version of this theme.

For the free version of Kadence users, you can try any plugin you love to use in your blog.

Before starting,

  • First Install Kadence Pro Addons Plugin.
  • Go to Appearance > Kadence.
  • Go to the Pro Addons section.
  • Enable both Header/Footer Scripts and Hooked Elements Module.
Enable Header Footer Scripts and Hooked Elements Options in Kadence Pro Theme

1. Header/Footer Scripts

Now after enabling the Header and Footer Scripts module.

  • Go to Appearance > Customize.
  • Go to the bottom of Customizer.
  • You will see the Custom Scripts section.
  • Now, copy and paste your Google Analytics code to Add scripts into your header box.
  • Finally, Hit Publish Button.
Adding Google Analytics code via Header and Footer Scripts in Kadence Theme

2. Hooked Elements

Element Setup on Kadence Theme via Hooked Elements
  • After enabling Hooked Elements Module.
  • Go to Appearance > Kadence > Elements > Add New.
  • Now, select Element Type as HTML Editor.
  • Add Element Title.
  • Copy and Paste your Google Analytics code.
  • Now go to Element Settings on the sidebar.
  • Chose Placement as Header – Inside <head> tag.
  • Under Display Settings, Choose Show on > Entire Site.
  • Under User Settings, Choose Visible to > All Users.
  • Finally, Hit Publish Button.
Adding Google Analytics code via Hooked Elements in Kadence Theme

Also Read:

Wrapping Up

Adding Google Analytics is easy to do with the Kadence Pro Addons which comes with multiple features enabled.

Just install the plugin and enable all the required features like Header/Footer Scripts, Hooked Elements, etc.

Which process are you going to try?

Are you going with the Header/Footer scripts method?

I find the first method easier but I have implemented various scripts/code via the Hooked Elements Module too.

Let me know in the comment section below.

Share:

I am obsessed with WordPress and write articles about WordPress Speed Optimization, SEO, and Blogging. I mostly publish tutorials on GeneratePress, Astra, Kadence, and GenerateBlocks.

Leave a Comment