How to Install Google Analytics in Brizy

Updated: March 8, 2021

Are you new to Brizy and have no idea how install Google Analytics on your Brizy-powered WordPress site? You will find the answer shortly. In this article, we will show you how to install Google Analytics in Brizy, without needing to install an additional plugin.

Google Analytics itself is a popular free analytics tool widely used by site owners to track their site visitors. In WordPress, you can install Google Analytics by adding the tracking code to either the header or footer of the theme you use. This method works as these two components (header and footer) are loaded on all of pages on your WordPress site by default. What if you have created the custom header and custom footer using Brizy’s theme builder feature?

Brizy comes with an element called Embed. This element allows you to add a custom code (HTML and JavaScript) to a Brizy page. That being said, you can make use of this element to install Google Analytics in Brizy.

How to install Google Analytics in Brizy

Again, to install Google Analytics in WordPress, you can paste the tracking code of Google Analytics to either the header or footer of your theme as these elements are loaded on every page on your website by default. With this concept, if you want to create a custom header or custom footer using Brizy, you can simply add the tracking code to your custom header/footer with the help of the Embed element.

The Embed element itself is actually available on both versions of Brizy, but since the feature to create a custom header and custom footer is only available on Brizy Pro, you need to upgrade your Brizy to the pro version in case you haven’t done so (read: Brizy Free vs Pro). For detailed instructions on how to create a custom header and custom footer in Brizy, you can read our previous articles. In this article, we will go straight to adding the tracking code.

On the Brizy editor, add the Embed element to the header/footer block of your page/template. Once the Embed element is added, click it to open the settings bar. On the appearing settings bar, click the Embed tab and paste the Google Analytics tracking code to the appearing field.

That’s it. You can update/publish your page/template once done editing it. You can login to Google Analytics and check the real-time visitor to make sure everything has gone well (make sure to open one of the pages on your website when checking the real-time visitor).

A little tip

Since the header/footer editor of Brizy doesn’t support display conditions, you can create a global header/footer block to streamline your workflow. You can read our previous article to learn more about Brizy global blocks.

This page may contain affiliate links, which help support WP Pagebuilders.

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This

Share This

Share this post with your friends!