You want to know how many visitors click your WhatsApp button, submit a form or complete a purchase. Editing the site code every time is slow, risky and dependent on a developer. Google Tag Manager, or GTM, solves this. You install it once, then add and manage all your tracking tags from one interface, without touching the code.
This article explains how to set up GTM, track the conversions that matter for a Senegalese SME and debug your tags cleanly. Free and powerful, GTM is the tool that links your marketing to measurable results.
What Google Tag Manager actually is
GTM is a tag manager. A tag is a small piece of code that does something: send data to Google Analytics, fire a Facebook pixel, measure a Google Ads conversion. Without GTM, every tag must be pasted into the site source code. With GTM, you install a single container, then control everything from the dashboard.
Three concepts to understand
GTM rests on three notions. Tags are the actions to execute, for example sending an event to GA4. Triggers define when the tag fires, for example on a button click. Variables are reusable pieces of information, like the page URL or a button text. Once these three notions are absorbed, GTM becomes simple.
Step 1: create and install the container
Go to tagmanager.google.com, create an account under your business name and a container for your website. GTM gives you two pieces of code: one for the head section and one for the body section. Both blocks must be present on every page.
On WordPress, a GTM plugin or Site Kit places these codes automatically. On a custom site, your developer integrates them once in the global template. After this one time install, you never touch the code again.
Verify the install with preview mode
GTM has a "Preview" mode that opens your site in a debug window. You see live which tags fire. Use it systematically before publishing. It is your safety net against mistakes.
Step 2: connect GA4 to GTM
The first tag to create sends page views to Google Analytics 4. Create a tag of type "Google Analytics: GA4 event", enter your measurement ID and attach the "All Pages" trigger. Publish, then verify in the GA4 Realtime report that visits come through. With this base laid, you can track precise actions.
Step 3: track the conversions that matter
For a Senegalese SME, here are the essential tags to deploy.
The WhatsApp button click
In Senegal, WhatsApp is often the real sales channel. Tracking clicks on this button is therefore a priority. Create a trigger of type "Click on element" that fires when the URL contains wa.me or api.whatsapp.com. Attach it to a GA4 tag that sends an event named whatsapp_click. Every click is now counted.
The form submission
To measure quote or contact requests, create a form submission trigger or, more reliably, fire the tag when the visitor reaches the thank you page. This confirmation page is the surest signal that a form was actually sent.
The phone number click
Many customers call rather than write. A trigger on links starting with tel: captures these clicks and sends them to GA4 as a phone conversion.
The e-commerce purchase
For an online store, track the completed purchase. On WooCommerce or Shopify, integrations exist to push purchase data, including the amount in FCFA, to GA4 via GTM. You then measure real revenue, not just clicks.
Step 4: mark these actions as conversions
Once the events reach GA4, go to GA4, under Admin then Events, and mark your important events as key events. whatsapp_click, form_submit, purchase thus become official conversions, attributed to their traffic sources. This step is what links every franc of advertising to a concrete result.
Debug like a pro
GTM preview mode is your best ally. When a tag does not fire, open preview and reproduce the action. You will see whether the trigger activates or not.
Need a professional website?
Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.
Common failure causes
A tag that never fires often comes from a misconfigured trigger: wrong condition, typo in the URL, incorrect button selector. A tag that fires twice indicates a trigger that is too broad. And if nothing works, first check that the GTM container is properly installed on the tested page. Google Tag Assistant extension helps confirm everything loads.
Mini case: Teranga Immo real estate agency in Dakar
Teranga Immo, a Dakar real estate agency, spent 200,000 FCFA per month on Facebook advertising but did not know what it returned. The ads sent people to the site, then to WhatsApp for appointment booking. No measurement existed between the two.
We installed GTM with three tags: WhatsApp click, phone click and callback form submission. Within a month, the picture was clear. Facebook ads generated many clicks to the site but few WhatsApp contacts. In contrast, property listings shared as Instagram stories converted twice as well. The agency redistributed its budget toward Instagram and qualified contacts rose 40 percent the following month, with no extra spend. The difference was not the budget, but the measurement.
Best practices to stay organized
Name your tags clearly
Adopt a naming convention: GA4 - WhatsApp Click, GA4 - Form Submit. In six months you will thank your present self. A poorly named GTM container quickly becomes incomprehensible.
Document and version
GTM keeps a version history. Before each publish, add a note describing the change. If a tag breaks tracking, you roll back to the previous version in one click.
Respect consent
GTM can be configured to fire tracking tags only after the visitor accepts cookies. This is essential to comply with Senegalese data law and GDPR. Our guide on consent details this setup.
FAQ
Is Google Tag Manager free?
Yes, GTM is entirely free, like GA4. There is no license cost, whatever your traffic volume.
Do I need to code to use GTM?
Not for common cases. Tracking a WhatsApp click, a form or a call is done with built in triggers, without writing code. Technical help is still useful for initial setup and complex cases.
What is the difference between GTM and GA4?
GA4 collects and analyzes data. GTM is the conductor deciding which data to send and when. You use GTM to feed GA4, but also other tools like the Facebook pixel.
My site is on WordPress, does GTM work?
Yes, perfectly. A plugin installs the container in a few clicks, then you manage your tags from the GTM interface as on any site.
Does GTM slow down my site?
The impact is minimal if you stay reasonable. Too many heavy tags can weigh, but a few well configured conversion tags do not noticeably affect speed.
Can I track Google Ads conversions with GTM?
Yes. GTM lets you deploy the Google Ads conversion tag and link it to your key actions, to precisely measure the return of your paid campaigns.
Let's talk about your project. Kolonell installs Google Tag Manager, configures your WhatsApp, form and purchase conversions, then trains you to debug your tags. Message us on WhatsApp +221 77 596 93 33.
Mohamed Bah
Fondateur, Kolonell
Passionate about digital and entrepreneurship in Africa, Mohamed has been helping Sénégalese businesses with their digital transformation since 2020. Founder of Kolonell, he believes every SME deserves a professional and accessible online présence.
