Divi: The best WordPress theme of all time!

With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates.

Would you like to learn how to install Google Analytics in Elementor without plugin?

To install Google Analytics in WordPress without plugin, you can paste the tracking code into the files footer.php ou header.php of your theme. You can paste your Google Analytics tracking code into these files because they are loaded every time a user visits any post or page on your website.

If you are using Elementor Pro and using its functionality Theme Builder to create a custom header and footer for your website, Google Analytics will stop working because when you create a custom header and footer with Elementor Pro, they (the custom footer and footer custom header) will replace the default header and footer of your WordPress theme active.

You must reinstall Google Analytics for it to work again.

How to install Google Analytics in Elementor without plugin

There are several plugins that you can use to install Google Analytics on your Elementor website. If you prefer to install Google Analytics without a plugin, there is a way to do that as well.

Remember again. Google Analytics works by reading the tracking code you pasted into the file header.php or the file footer.php of your WordPress theme. The tracking code itself is available as a JavaScript script.

Elementor has an HTML widget that allows you to add HTML script as well as other scripts such as CSS and JavaScript. You can use this widget to add your Google Analytics tracking code to your custom header or custom footer.

Read also: How to add pagination in Elementor

In this article, we'll show you how to add the tracking code to the custom footer. We will use an existing footer template.

First, go to Templates -> Theme Builder. On this page, click on the tab Footer. Hover your mouse over the footer template you are using on your website and click Edit with Elementor.

Add the HTML widget by dragging it to your custom footer on Elementor's edit box. You can place it anywhere in the footer.

How to install Google Analytics in Elementor without plugin

Paste your Google Analytics tracking code in the field HTML code of the left panel and click the button TO PUT UP TO DATE.

Easily create your website with Elementor

Elementor lets you create Easily and Free any website or blog design with a professional look. Stop paying a lot for a website you can do yourself.


You have successfully reinstalled your Google Analytics on your Elementor based website without plugin.

Installation of Google Analytics on Elementor

Since version 3.1.1, Elementor (the pro version) comes with a custom code function which you can use to add custom code. You can use this feature to install Google Analytics.

First, go to Elementor -> Custom Code on your WordPress dashboard. Add a new personalized code by clicking on the button Add New.

How to install Google Analytics in Elementor without plugin

Give your custom code a name and paste the Google Analytics tracking into the available field. In the option Rentals select the HTML tag you want to add to your code (we suggest you choose the tag head).

In the option Priority, you can leave it as default. Publish the custom code by clicking on the button Publish.

In the next step, you can set the display condition. If you want the tracking code loaded on every page of your website, you can just select Entire Site in the drop-down menu.

Discover also: How to Create a Hex Map with Effect in Elementor

Do you want to sell your products on the internet?

Download WooCommerce for free, the best e-commerce plugins to sell your physical and digital products on WordPress and easily create your online store. Perfect for beginners.

Or if you want the tracking code to be loaded on a specific page, you can also select your preferred page from the drop-down menu. Finish by clicking the button Save & Close.

How to install Google Analytics in Elementor without plugin

Get Elementor Pro Now!!!

Discover also some premium WordPress plugins  

You can use other WordPress plugins to give a modern appearance and to optimize the handling of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. Team Showcase

Team Showcase is the perfect addon, designed to display your team members in a beautiful grid or responsive carousel. You will be able to manage your members by grouping them into separate teams. To do this, simply select the options you want to display, choose a WordPress theme and apply a predefined color to it.

Team showcase for visual composer wordpress plugin

No line of code will therefore be required for this action. Its features include: 10 special themes, 10 color sets, 10 display options, CSS3 animation effects, the possibility of being inserted in a page, a fully responsive designEtc. ...

Download | Demo | Web hosting

2. ARPrice

ARPrice is the WordPress Plugin the most flexible and complete premium in the creation of price grids. It comes with over 300 pricing grid templates and provides all the tools you need to create unique and responsive pricing grids and comparison tables. You will also be able to easily create a beautiful showcase for your team.

Arprice responsive wordpress pricing table plugin

That's a subtle WordPress Plugin beautiful, intuitive, and one of a kind, with its impressive visual editor, featuring a real-time preview of customizations.

See also How to charge a service on your blog?

Choose a template, and then with simple clicks, drag and drop tools to personalize your price grid, down to the smallest detail. You will be able to add an unlimited number of columns, change colors, fonts, icons, and add your own images and ribbons for announce a discountEg.

Download Demo | Web hosting

3. Premium SEO Pack

Premium SEO Pack is a WordPress plugin that optimizes your SEO and compresses CSS to improve the loading speed of your website. The plugin can also manage the design of your website in a few clicks.

Premium seo pack - wordpress plugin

Its functionalities are among others: compression of CSS and JS, video sitemap integration and snippet, the formatting of HTLM and XML files, redirection of 404 and 301 pages, sharing on social networks, providing the ALT label, highly customizable layout.

Download | Demo | Web hosting

Recommended Resources

Find out about other recommended resources to help you build and manage your website.


Here ! That's it for this tutorial, we hope it will allow you to install Google Analytics in Elementor without plugin. Do you still have questions or suggestions about Gutenberg blocks? Please let us know within Comments below.

However, you can also consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on WordPress blog creation.

Do not hesitate to share with your friends on your favorite social networks


%d bloggers like this page: