Have you been looking around searching methods through which on your website you can swiftly change Google Analytics code? This write-up will serve as a tutorial and guide to educate you about just that – highlighting Google Tag Manager setup for Google Analytics.
To easily update or add your tags or Analytics code, a free tool, Google Tag Manager, will allow you to do just that without you having to change your code in the website.
Google Tag Manager: What is it and Why is it required?
Barring no subscription chargers, as the name suggests offered by Google, the Google Tag Manager allows you to easily make various sorts of tracking tags or codes including re marketing, conversation tracking, event tracking and much more without you having to change your website’s code.
An example of this would be if you wish to review downloads relating to your website, you will need to permit event tracking. Further, you will then manually change the entire download link for them to function unless you are using a plugin such as MonsterInsights, a highly rated plugin of Google Analytics for WordPress.
Alternate Solution of Tag Manager
If you’re a novice who has just started using Tag Manager, you might initially find it difficult to get through it as there exists a learning curve. Hence, for an individual of such sort, arranging different sorts of tracking code by using Tag Manager will be difficult.
Do not lose hope! There’s more.
To make your life easier and to use an alternation solution which is easier, you can use the MonsterInsights plugin to setup Google Analytics.
As briefed earlier, MonsterInsights plugin is a highly rated plugin for WordPress which lets you using your WordPress dashboard to set up Analytics right from there. By doing so, you would free yourself to use third-party sites or feel the need to mess with various tracking codes.
Whether you’re a beginner or advanced level professional, MonsterInsights plugin provides ease for individuals of all levels to setup Google Analytics. The plugin comes equipped with all the necessary features which is required for your website. It also includes an analytics dashboard so you can there and then view analytics right in WordPress.
Moreover, to move slightly in the advanced direction, you have the option of installing addons to improve the functionality of the MonsterInsights plugin including:
Google Optimize: For easy split testing, you can swiftly enable Google Optimize
Ads Tracking: Review who is clicking on the ads on your website
eCommere Tracking: Swiftly keep a check on your easy digital downloads store or WooCoomerce
Forms Tracking: Review statistics on all your WordPress conversions and form views
Custom Dimensions: Track tags, categories, authors and much more
Google AMP: Receive correct analytics on your AMP-enabled pages
However, at this point, you still believe that you need to move ahead with Google Tag Manager, then follow the tutorial below.
Google Tag Manager: Implementation of Google Analytics
1. Register for Google Tag Manager
2. Choose a preferred account name and add it as a new account in the Account Name field > Continue.
3. Insert your sites name in the field Container name when you reach the Setup Container step. For Where to Use Container, opt for Web and click Create
4. Once the Terms of Services of Google Tag Manager appear, click Yes. When done, you will be provided with a tracking code snippet which will have to be copied and pasted onto the header.php of your WordPress website. Once done, hit New Tag.
5. The tag name can be changed, just click on field titled Untitled Tag. Moving forward click Choose A Tag Type To Begin Setup > Universal Analytics
6. Next, you can develop knowledge on how to find your Analytics Tracking ID and once found, enter Tracking IDand Type. To relate to this for instance, we will choose Pageview as Tracking Type
7. Click on the large icon titled choose a trigger to make this tag fire. Select All Pages if you are looking for a basic Google Analytics implementation.
That will be it, you’re good to go!
The successful implementation of Google Analytics with Google Tag Manager has been done. Execution will be done on each page through your Google Analytics tag. We believe this tutorial would have eased your troubles while trying to implement Google Analytics with Google Tag Manager successfully.
Imran is a succcessful freelancer with over 10 years of experience in Internet Marketing, QA and WordPress development. He shares WordPress latest hacks, tips and useful free or paid resources for noobs and experienced WordPress enthusiasts.