Add Google Tag Manager to Mr Yum
What is Google Tag Manager?
Google Tag Manager (GTM) is a powerful and flexible tool that allows you to manage and deploy marketing tags (snippets of code or tracking pixels) on your website (or mobile app) without having to modify the code.
What Mr Yum Allows you to track in GTM
We currently send page_view events to GTM. Page_view is an event that is fired when a user views a page on your website. It is an integral part of web analytics tracking and is usually the first event tracked on any given page.
By tracking page_view, you will be able to see where your customers come from and what their typical journey is on your online menu!
Using GTM on Mr Yum
All you need to do, is making sure that the Google Analytics tag is installed in GTM.
Here's a quick tutorial on how to do it!
How to add your Google Tag Manager?
1. Go to Marketing > Social Media Integrations
2. Paste your GTM Container ID into the Google Tag Manager ID field
3. Click Save
Where do I find my Google Tag Manager ID?
Log in to your Google Tag Manager and click the icon in the top left corner. Don’t have GTM set up? No worries, keep reading!
Then, you’ll be able to see your Container ID that will look similar to this “GTM-KN45THF”
Here is a video guiding you through the process:
I don't have Google Tag Manager. How do I set it up?
Not a problem! To set up your GTM go to this link and click “Start for free” in the top right corner.
You will be redirected to a page to set up your account.
Add your Account Name (e.g. venue name) and the country (e.g. Australia)
A container is a sort of a bucket where you will insert everything you want to track, but without using any code!
You can call your container with the name of your venue.
In the Target platform select Web then click create.
Now, you will be redirected to the main page of GTM and a pop up window including your GTM code will appear.
This will be the last time you will ever add any code to your website!
Once you have added the 2 snippets of code into the field of your main website, you are ready to go 🎉
All you need to do now is to copy your container ID and paste it into the Mr Yum platform!
So now what?
You’ve set up your GTM on your Mr Yum URL and are ready to start running google ad campaigns. See this guide from Google to get started (choose google’s most simple ad guide)
Add a Data Layer to your GTM (Pageview Trigger)
- Go to trigger and click New
- Name it as desired e.g. “PageViewCustom”
- Under “trigger configuration” select “Custom Event” and under “Event Name” write “page_view”
- Then go to Tags, find your GA tag and configure to use the event we created above
- Test the changes and publish it