Why one container instead of three code snippets
It used to be that counter codes were pasted into a site one at a time. A year later there were five or six of them, some duplicating each other, and adding a new one was only possible through a programmer. Tag Manager solves this: the site carries a single snippet, and tags are managed in a dashboard.
For a small business the main benefits are fewer errors, faster edits and the ability to test your setup before publishing. But the container has to be connected carefully, or the data will be skewed.
Connection order
Create a GTM container
Sign up for Tag Manager with your company email, create a container for the site and paste the two snippets: one in the head and one right after the opening body tag.
Create a GA4 property
In Google Analytics, add a data stream for the site and get a measurement ID that looks like G-XXXX.
Add a GA4 tag in GTM
Choose the "Google tag" type, paste the ID and set the "All pages" trigger.
Create a Metrica counter
Create a counter, enable Webvisor and click maps if you need them, and add it through GTM or directly in the code.
Set up events
Form submission, phone click, WhatsApp click, checkout start. Each one is an event in GA4 and a goal in Metrica.
Test in debug mode
Open GTM preview, perform the actions and make sure each event fires exactly once.
Publish the container
After testing, publish the version. In the real-time reports, confirm that visits are being recorded.
Which events to set up for a small business
- Request form submission
- Click on the phone number
- Click on the WhatsApp or Telegram button
- View of the "Thank you" page
- For a store: add to cart, checkout start, purchase
- For a calculator: calculation completed and result sent
Create a separate email for analytics
The owner of the accounts should be a company email, not the personal email of a contractor or a former employee. Otherwise, when you change contractors, you can lose access to years of data.
Common mistakes
- Duplicate code
- The counter is in both the site code and GTM, so visits are counted twice.
- No consent handling
- If cookie consent is required, tags must fire according to the user's choice.
- Your own visits in the stats
- Exclude your IP and your staff, otherwise the data is skewed, especially at low volumes.
- The owner has no access
- The account is registered to a contractor, and the site owner is not listed in it.
How to read your first reports
For the first few weeks, look at three numbers: how many people came, where from, and how many left a request. Do not try to analyze dozens of reports. Where requests come from matters more than where most traffic comes from: often a small channel brings in the bulk of your customers.
After a month, compare channels by cost per request and by share of actual sales. For that, requests need to be matched against the CRM or a sales spreadsheet. Only then can you decide where to move your budget, rather than going by the number of clicks and page views.