Meta Pixel and Google Tag Manager

These two names sound technical, but the idea is simple. Both are small pieces of tracking code. If you run ads on Instagram or Facebook for your own store, they tell the ad system who visited and who bought.

What each one is

  • Meta Pixel. Sends Meta (Facebook and Instagram) what visitors do on your site, such as viewing a product or buying.
  • Google Tag Manager. A control box. You put one piece of code on your site, and then add or change other tracking tags from the Tag Manager screen.

They are separate tools. On Shopify you often don’t need Tag Manager at all, because Shopify has built-in Google and Meta connections. Adding the same thing twice is the most common mistake.

The same step, two names

What happensGA4 eventMeta Pixel event
Views a productview_itemViewContent
Adds to cartadd_to_cartAddToCart
Starts checkoutbegin_checkoutInitiateCheckout
Adds payment infoadd_payment_infoAddPaymentInfo
BuyspurchasePurchase

Set up on Shopify

  1. Add the Facebook and Instagram channel.
  2. Go to Settings, then Share data settings.
  3. Choose how much data to share. The levels (Standard, Enhanced, Maximum) share different amounts, so don’t pick the highest one automatically.
  4. Pick the correct Pixel.

Set up with Tag Manager on another website

This is the order I suggest.

  1. List the tracking tags you already have.
  2. Set up cookie consent.
  3. Add the Google tag.
  4. Make the site pass the real purchase details to the data layer.
  5. Add the event tags and triggers.
  6. Test with Preview.
  7. Publish, then compare with your real orders.

Send the purchase amount from the real order, not from a fixed number you typed in.

Test it

  • Do a product view, an add to cart and a test order.
  • Check that the right Pixel, product, amount and currency show up.
  • Check that one order is counted once.
  • Try both accepting and declining cookies.

I didn’t verify a custom Pixel plus server-side setup step by step, because Meta's developer pages weren’t available when I researched this. If you need that, ask a developer.

A simple first step

Find out which tracking is already on your store before you add anything. Then add one thing at a time and test each.

If you would like this handled for you, see the E-commerce Package.

Keep reading

Need your Etsy shop managed or evaluated?

I take on Etsy shop management and evaluations, listing SEO, ads and AI automation. Share your project through the contact section and I will get back to you with a quote.

Share Your Project

Sources

Rules, numbers and dates change often. This page reflects the sources below as checked on Nov 9, 2026. Confirm current figures with the official source before you act.

© 2026 Hakan Caba, All Rights Reserved.