What SMM is and whether a small business needs it
SMM is promoting a business through social media: content, communication with the audience and brand support. We explain what the work consists of and when a small business needs it.
Google Tag Manager is a free service that manages analytics and advertising tags from one place. We explain how it works, how to install the container on a site and how to check the setup.
Google Tag Manager (GTM) is a free service where you manage analytics tags, advertising tags and other scripts from a single account, without constantly editing the site's code. The container code is added to the site once, and then tags are added, changed and switched off in the GTM interface after testing and publishing.
GTM has three basic concepts, and understanding them makes the interface clear.
Together they form a container. Changes reach the site only after you click publish, and every publication creates a new version that you can return to.
Without a tag manager, every new script has to be inserted into the site's code. This requires a developer, increases the risk of errors and leads to a mess: some codes sit in the template, some in a plugin and some are inserted by hand. GTM centralizes everything:
For a simple site, GTM is not required. If you only need basic analytics, connecting Google Analytics 4 directly is sometimes enough, as described in the article on connecting GA4. GTM becomes useful when there are several tags and you need events: a form, a click on a phone number, a cart, a purchase.
We recommend creating the account with the company e-mail; do not use the personal e-mail of an employee or contractor for this. Then access to the settings does not depend on one person.
The container code consists of two snippets. The first script goes as high as possible in the head section, the second, a small block for cases without JavaScript, right after the opening body tag. The way to insert them depends on the platform:
| Platform | How to insert |
|---|---|
| WordPress | Through the theme template or a dedicated code-insertion plugin, following its instructions |
| Horoshop | Through the settings section for code in the head and body; the platform documentation lists the current names of the items |
| Site builder or template site | Through the field for custom code or integrations in the settings |
| Custom site | A developer adds the snippets to the common template of all pages |
It is important to insert the code on all pages and only once. A double installation leads to duplicated events and distorted figures in reports.
The most common first step is connecting GA4 through GTM:
Further events, for example a form submission or a purchase, are added as separate tags with the corresponding triggers. For a store, the set of events is covered in the article on e-commerce in GA4. On some platforms, purchase events are passed by the site itself through the data layer (dataLayer), and GTM forwards them to analytics.
Before publishing, use preview mode (Preview). It opens your site with a debug panel that shows which tags fired on each action. Check that:
When everything is fine, click publish, give the version a clear name and a short description of the changes. This habit helps when half a year later you need to understand what changed.
You do not need to collect everything. To start, a few events tied to your goal are enough:
Each event should answer a practical question: where requests come from, which pages lead to them, where people stop. If there will be no answer, the event is redundant. Start small and add new ones when you see that they are needed for decisions.
The data layer (dataLayer) is a list of messages that the site passes to GTM: for example, that a user added a product to the cart, with its name, price and quantity. GTM listens to these messages and fires the necessary tags. Thanks to this, GTM receives accurate data without a complicated search for elements on the page. For an online store, this scheme is more reliable than setup based on clicks, because it does not break when the design changes.
The data layer is usually set up by the platform's developer or a special module. It is enough for the owner to know that this option exists and to define the task properly: a list of the events you are missing and the parameters of each.
The standard version is free. The terms of use and possible paid solutions are listed on Google's pages.
The container itself is small, and speed depends more on the number and complexity of the connected tags. Remove what is unnecessary and check speed after changes.
Not necessarily, but it is convenient when you need several analytics and advertising systems. Some integrations are built into the platform and connect without GTM.
Yes, for a basic installation it is enough to insert two code snippets. More complex events, such as the cart or a purchase, are usually set up together with a developer.
Google Tag Manager lets you manage analytics and advertising tags from one place and make changes quickly without access to the code. Start with one container, GA4 and two or three important events, keep names consistent and always check changes before publishing. LightSEO can help set up analytics on your site and in your ads: consider Google ads and an SEO audit of your site, which also checks technical settings.