How to Add Google Analytics Code with Custom Layouts Module?

No results found. Try again with different words?

Search must be at least 3 characters.

How to add Google Analytics code with Custom Layouts Module?

Custom Layouts 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 Custom Layouts 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.
Astra Google Analytics Hooks
Was this article helpful?
Did not find a solution? We are here to help you succeed.

Related Docs

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.