Installing Google Analytics Tracking Code in WordPress Theme Montezuma

wordpress montezuma themeI installed the recommended new Montezuma WordPress theme made by here on Zeeron Solutions.  It’s a very good theme with lot of options and nice layouts. But I encountered a small problem with this new theme when I went to install the Google Analytics tracking code in our website’s WordPress back-end dashboard.

Normally Google Analytics recommends to install the Anaylytics code in just after the opening <body> tag in each web page so what I usually do when installing it on WordPress websites is to navigate to the WordPress Dashboard–Appearance tab–> Theme Editor page and open the WordPress Header.php file. There you usually find the opening <body> tag right after which you can install the Analytics code. However in this new Montezuma theme the WordPress header.php file doesn’t have any of the usual codes and tags found in other wordpress themes.

So where do you install Analytics Code in the Montezuma Theme?

I found the answer in a YouTube video made about this new theme by According to it I was able to successfully install Google Analytics on Montezuma theme. Here is what we need to do.

  1. First go to your WordPress Dashboard
  2. Expand the Appearance tab and open Montezuma Options
  3. In Montezuma Options expand the Head tab
  4. In the Head tab click and open Insert Code page
  5. Now install paste your Google Analytics code where it says “<Head> Bottom – Insert HTML/Javascript code right before the closing </HEAD> tag”.
  6. Click Save changes

After doing this check your Google Analytics account. It should read your tracking info code has been installed in your website.

wordpress dashboard settingsHere is a browser screen shot of the Montezuma Options Head tab settings page where I installed my Google Analytics.


Written by: Aksam Zarook
Aksam Zarook is a web designer, developer, online marketer and founder of Zeeron Solutions. With nearly 11 years of work and business experience he excels in web design, web development, graphic design and Internet marketing. He is also a family man with two adorable little kids and rides a motorbike.

Join Discussion Now!

One comment on “Installing Google Analytics Tracking Code in WordPress Theme Montezuma

Leave a Reply