How to Add Google Analytics Code with Custom Layouts Module?

How to add Google Analytics code with Site Builder Module?

Site Builder module is available with Astra Pro. It provides hooks so that you can insert custom code at various locations on the website without editing the theme’s core files.

Please follow the steps to add Google Analytics code-

  1. Activate the Site Builder module from Astra Pro.
  2.  Insert the code in the Code Editor.
  3. Select Hooks layout and add wp_head action.
  4. Choose to display it on the Entire Website
  5. Publish the layout.
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page

Take the First Step Toward Success Now.

You’re backed by an amazing team and a risk-free money-back guarantee!

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

This field is required.

REWIND

YEAR IN REVIEW

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form