Customer Loyalty

Google Tag Manager

Google Tag Manager (GTM) allows you to manage tracking scripts and marketing tags without modifying code directly.

With GTM you can deploy and manage tags for Google Analytics, Facebook Pixel, and other third-party services from a single dashboard.

Setup

  1. Create a Google Tag Manager account and container
  2. Copy your GTM container snippet (e.g. GTM-XXXXXXX)
  3. Add the snippet to snippets/script-tags
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
<!-- End Google Tag Manager -->

Replace GTM-XXXXXXX with your container ID.

Appropo Events

The following events are available on the dataLayer for use in GTM triggers:

Event Description
appropo:pageview Page view
appropo:productview Customer views a product
appropo:addtocart Item added to cart
appropo:purchased Order completed

You can use these events to fire tags for analytics, remarketing, and conversion tracking within your GTM container.

Ready to get started? Get in touch.

Contact