Create your account
First, you need an account! Head to https://tagmanager.google.com, log into your Google account and click on Create Account.
In the section Account Setup, choose a name for your account and select your country.
In the section Container Setup, enter your booking site URL (ex.: montvr.getmidori.com) and select Web as your Target platform then click Create.
Configuring triggers
We now need to associate triggers with every event that we want to track. Right now, Midori supports the following events:
-
PageView – Occurs when a user visits the website
-
AddToCart – Occurs when a user selects a timeslot for a service
-
RemoveFromCart – Occurs when a user unselects a timeslot for a service
-
Checkout – Sent in two steps:
-
Step 1: When the user finishes entering his customer information
-
Step 2: When the user starts entering his credit card information
-
-
Purchase – Occurs when the transaction succeeds
For each trigger, choose the type Custom Event.
Click on Submit on the top right, and a popup will open.
None of the fields are mandatory, but you can name your Version and give it a description if you want. When you’re done, click on Publish. If you haven’t set a version name, Google will prompt you again to suggest you enter one. Ignore it and click on Skip or Continue.
All done! If your Google Tag Manager ID is set on our side, then the data should now start appearing in Facebook Pixel and/or Google Analytics!