GTM/GA 101.

In case it wasn’t clear from the URL, this is a demo store and no real orders will actually be processed.

Click below to set up your GTM container. This only needs to be done once

The aim of this page is to have you practise your Tag manager skills.

What will you need:

Disable Chrome Extensions

Many Chrome extensions may interfere with Tag manager, specifically Ad-blockers. Please ensure you disable them while configuring Tag Manager:

Facebook pixel tag

Set up a “Custom HTML” tag in GTM and paste the following code:

<!-- Facebook Pixel Code -->
<script>
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  
  fbq('init', '395661764200918');
  fbq('track', 'PageView');
</script>
<!-- End Facebook Pixel Code -->

Set up a trigger for this tag to fire on “All Pages” (Page View)

This will ensure this tag gets fired on all website page views and ensure the pixel number 395661764200918 receives data about our visit.