Articles on: Online Booking

Setting Up Custom Events on Google Tag Manager

Follow these step to set up custom events on Google Tag Manager:

You start by creating an account on Google Tag Manager. To do so, head to this link: https://tagmanager.google.com/#/home.
Click on the Create Account button on the right side of the screen. On the next page, start adding the requested details.

a. Under the heading Account Setup, add your Account Name in the field provided and select the respective Country from the drop-down menu.

b. Under the heading Container Setup, add your online booking page URL under Container Name. Select your target platform from the options provided and click on the Create button.

c. Once you accept the Terms of Service Agreement, click Yes on the top right corner of the screen.

Copy the codes on the Install Google Tag Manager pop-up and email them to tech@classcardapp.com. Then, click on OK.
Now, on the left side of the screen, head to the Triggers tab. Click on the New button.


Let’s say you wish to create a trigger for lead form submission.
a. On the top left of page that appears, name the trigger (for example, Lead Form Submission).


b. Click on the grey circle under the Trigger Configuration tab.

c. Under Choose trigger type, scroll down to Custom event, under the Other heading.


d. Add the event name, which in our case would be lead-form-submitted. Click on Save.



If you want to create more triggers, simply click on the New button under the Triggers tab and follow the same steps. For the below mentioned events, you would add the event names as under:

Lead form submission: lead-form-submitted
Student form submission: student-form-submitted
Add to cart: add_to_cart
Checkout now: checkout_now
Pay now: pay_now
Pay later: pay_later

💡 While creating triggers, do not check the box 'Use regex matching'.

If you want to track your triggers on platforms like Google Analytics or Google Ads, you can navigate to the Tags tab and set up your tag configuration.

Updated on: 10/01/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!