I installed the WordPress.org recommended new Montezuma WordPress theme made by www.bytesforall.com 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 howtobuildthisblog.com According to it I was able to successfully install Google Analytics on Montezuma theme. Here is what we need to do.
- First go to your WordPress Dashboard
- Expand the Appearance tab and open Montezuma Options
- In Montezuma Options expand the Head tab
- In the Head tab click and open Insert Code page
- Click Save changes
After doing this check your Google Analytics account. It should read your tracking info code has been installed in your website.
Here is a browser screen shot of the Montezuma Options Head tab settings page where I installed my Google Analytics.