Skip to main content

Google Tag Manager (GTM) Overview

Deply, track, and manage marketing data and user activity by adding 'Tags' to your website.

S
Written by Support Agent

What is GTM?

Google Tag Manager (GTM) allows you to deploy, track, and manage marketing data and user activity by adding 'Tags' to your website.

Why GTM is Critical for Restaurant Owners

GTM empowers restaurants to better understand customer behavior by tracking key interactions such as viewed items, frequently added but not purchased products, and common item combinations (e.g., appetizers and mains). It integrates seamlessly with ad platforms like Google Ads and Facebook, enabling retargeting for customers who didn’t complete orders, promoting menu items based on preferences, and tracking ROI. By setting up triggers for critical e-commerce events like add-to-cart, view-item, and purchase, restaurants can gain insights into what drives sales. GTM also helps identify barriers in the checkout process, such as high delivery fees or unclear pricing, to improve completion rates. With dynamic remarketing, it facilitates ads reminding customers of viewed or abandoned cart items. Additionally, GTM integrates with third-party tools like Google Analytics, heatmaps, and chatbots to provide deeper insights and enhance customer engagement.

Appfront's platform is fully integrated with the latest version of Google Tag Manager (GTM), offering seamless support for all standard e-commerce events. With GTM, you can:

  • Link any pixel or event without custom development.

  • Manage and control your marketing campaigns directly from the GTM dashboard.

  • Utilize standard e-commerce events, as Appfront fully supports GTM's event structure.

Appfront currently supports the following GTM events:

  • select_item

  • view_item

  • add_to_cart

  • remove_from_cart

  • purchase

How Does It Work?

  1. Tags: Are code snippets (HTML or JavaScript) that fire when a specific event occurs (is triggered) on your site, such as:

    • A pixel in HTML (<img> tag).

      • Initially designed for when a browser does not allow JavaScript code, they are easier to configure (they do not require coding) and more efficient.

    • A script called JavaScript (<script> tag).

  2. Triggers: Define the conditions for firing tags, such as form submissions, button clicks, or page views. They monitor the webpage for events and activate the relevant tags.

  3. Variables: These are placeholders for dynamic values that determine when a trigger fires. For example, a variable might activate a tag only when a user views a specific URL. Ie: "Fire the tag when the URL contains /order/itemid=XXX".

As mentioned, tags are injected into your website's code and fired by specific triggers. These triggers fire the tag once specific events are detected (ie: selecting an item, adding an item to the cart, removing an item, or completing a purchase). You can then use this data according to your needs, tracking, analyzing, and deploying additional marketing campaigns accordingly.

Did this answer your question?