How to track a “participate” button click event using Google Tag Manager

T.V -

Clicks are an important metric when looking at your marketing performance. Luckily, you can use Google Tag Manager to track campaign button clicks in Google Analytics and get greater insight into your participants’ behaviour. This guide will walk you through tracking clicks on the “participate” button used in a campaign.

🚨 Note: Before anything, you’ll need Google Tag Manager and a cookie consent banner (CMP) to be implemented on your website and/or Qualifio minisite. So if you haven’t yet, go ahead and complete that setup before continuing.

What's the plan?

For this tutorial, we are going to track the participate button from our campaign:

Schermafbeelding_2022-08-17_om_13.13.56.png

If you’re just starting with Google Tag Manager (GTM) and Google Analytics, everything can look overwhelming. We totally understand that, but don’t worry! It’s fairly simple to track the participation button. You can easily complete this in less than 10 minutes, five if you are fast 🙂

Let's get started, shall we?

Step 1: Create a tag in the Tag Library

Firstly we want to create a tag which will send an event to Google Tag Manager when our participate button is clicked. To be more precise, the tag pushes click data to the data layer.

So, here's how to do it...

  1. Navigate to Settings in the main navigation in your Qualifio account.
  2. Then go to Tag Library > Tags.
  3. Click Create a tag and name your tag “GTM event Participate button”. (This is just an example. Any other name is perfectly fine – as long as you follow the limitation of name length. Qualifio doesn’t process an event name with more than 30 characters. Up to you!)
  4. Copy and paste this code under the Body section.
  5. Click Save.

Schermafbeelding_2022-08-17_om_13.22.30.png

Cool, your tag is created! Let’s move on.

Step 2: Configure your tag manager

Now, to make the work in GTM much faster, you can import the awesome variable and trigger templates our expert has prepared for you! Here is the collection of templates (JSON) you should import.

Go to your GTM container’s Admin section and click Import Container. If you want to learn more about container import in Google Tag Manager, read Google’s guide.

Important: Make sure you choose the import option Merge. This is really important because this option will let you keep your existing tags, triggers and variables, and just add the new ones from Qualifio. If you choose the Overwrite option, it will clear the GTM container and delete ALL your existing tags, triggers and variables.

The last step in configuring your tag manager is simply creating a tag that will record the event in Google Analytics (or your preferred analytics tool). Select the trigger “Qualifio Action – Participate button” that you imported in order to fire the tag when a form is submitted.

Done!

Here is an overview of the final setup:

Schermafbeelding_2022-09-02_om_16.51.10.png

Step 3: Assign the tag to a campaign & test!

There’s one more thing you need to do: use this tag in one or more campaigns you want to track.

Let’s say you have five campaigns on your Qualifio website and you want to track them all. You could go ahead and attach the tag to that website (under Websites > Tags).

However, if you just want to track one of these campaigns, you can do the same in the campaign you want to track:

Schermafbeelding_2022-08-17_om_13.25.15.png

That’s it! Now, in Google Analytics, you should be able to see events coming in.

Now you know how to track participate button clicks. But the journey might just begin here, there are more events you can track. Reach out here if you need help with your tracking implementation or if you want more information.

Was this article helpful?

Can’t find the answer you need?

Send us a question and connect with an expert to get personal assistance.

Contact support

Vous ne trouvez pas les réponses que vous cherchez ?

Nous sommes là pour vous aider. Envoyez-nous une demande en direct !

Contacter le support
helpcenter experts