Google Tag Manager Implementation

What is this for?

For customers looking to track online bookings back to advertising platforms (Facebook, Google, etc.)

How it Works:

We do conversion tracking through Google Tag Manager. If you don't have a GTM container configured on your site, complete that first.

Shopgenie fires a custom data layer event called appointmentBooked that is then picked up by GTM and used to fire conversion events.

1. Go to your GTM container:

2. Go to "Triggers"➝ "New" and configure the trigger as follows:

image (16)

3. Use that custom event trigger to fire conversion tags!

image (17)



Facebook Specific Instructions


Step 1: Get Your Meta Pixel Code

  1. Go to Meta Events Manager.
  2. Click Connect Data → Select Web → Click Connect.
  3. Name your Pixel and click Create Pixel.
  4. Choose Install code manually and copy the Pixel base code.

Step 2: Add Meta Pixel to Google Tag Manager

  1. Log in to Google Tag Manager and select your container.
  2. Go to Tags → Click New.
  3. Click Tag Configuration → Choose Custom HTML.
  4. Paste your Meta Pixel base code in the HTML box.
  5. Click Triggering → Select All Pages.
  6. Click Save.

Step 3: Track Shopgenie Online Bookings (Optional)

  1. Go to Triggers → Click New.
  2. Choose Custom Event.
  3. Set Event Name as appointmentBooked.
  4. Click Save.

Then, create a new tag:

  1. Go to Tags → Click New.
  2. Select Meta Pixel - Event Tag.
  3. Choose appointmentBooked as the trigger.
  4. Click Save & Publish.