Adding Google Analytics to Customizr

⚠️ Code snippets might not be compatible with the latest version of your theme. Always use a child theme to customize your theme, and test your code on a staging website before migrating to production.

You can search the user’s forum or ask the user community by opening a new thread in the Customizr theme forum. Before opening a new topic, you might want to follow the troubleshooting steps..

For Customizr-Pro and Hueman-Pro users: You can paste your Google Analytics tracking code in a specific field designed for that. Please read the following documenation:


If you’re not a developer, you can refer to this complete documentation on setting up your Google Analytics tracking code with a plugin.


Here’s a quick snippet to add Google Analytics tracking’s code to your website.

Where to copy/paste this code? => in your functions.php file of a child theme. I strongly recommend you create a child theme. Download a start-up child theme here.

Everything you need to know about child theme with Customizr here.


add_action('wp_head','my_analytics', 20);

function my_analytics() {

            (looks like <script type="text/javascript">.....</script> )



75 thoughts on “Adding Google Analytics to Customizr”

Comments are closed.