PageSourceSearch

https://www.littledata.io/blog/2021/10/07/why-stores-are-using-facebook-conversions-api

html littledata.io collected 2026-10-02 03:30:03 UTC 87,664 bytes, 103 lines download raw bytes

1<!DOCTYPE html><html lang="en" data-critters-container><head><meta charset="utf-8" data-next-head><meta name="viewport" content="width=device-width, initial-scale=1" data-next-head><title data-next-head>Why stores are using Facebook’s Conversions API</title><meta name="title" property="og:title" content="Why stores are using Facebook’s Conversions API" data-next-head><meta name="description" property="og:description" content="Over three million businesses worldwide use Facebook Ads. Their massive reach ensures they play a part in every ecommerce store’s…" data-next-head><meta property="og:site_name" content="Littledata" data-next-head><meta property="og:url" content="https://www.littledata.io/blog/2021/10/07/why-stores-are-using-facebook-conversions-api" data-next-head><meta name="twitter:card" content="summary_large_image" data-next-head><meta name="twitter:title" content="Why stores are using Facebook’s Conversions API" data-next-head><meta name="twitter:description" content="Over three million businesses worldwide use Facebook Ads. Their massive reach ensures they play a part in every ecommerce store’s…" data-next-head><meta name="twitter:image" content="https://res.cloudinary.com/littledata/image/upload/f_auto,c_pad,w_1200,h_630,b_white/www2/img/new-logo.svg" data-next-head><link rel="canonical" href="https://www.littledata.io/blog/2021/10/07/why-stores-are-using-facebook-conversions-api" data-next-head><link rel="preload" href="https://res.cloudinary.com/littledata/image/upload/www2/img/badge-built-for-shopify-light.svg" as="image" data-next-head><meta property="og:type" content="article" data-next-head><meta property="article:published_time" content="2021-10-07T10:05:00" data-next-head><meta property="article:modified_time" content="2022-08-23T17:22:34" data-next-head><meta property="article:author" content="https://www.littledata.io/blog/author/edward" data-next-head><meta property="og:image" content="https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1696336104/facebook-ads-roi/facebook-ads-roi.png?_i=AA" data-next-head><link rel="icon" href="/favicon.ico" sizes="any"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" href="/apple-touch-icon.png"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous"><link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&amp;family=Open+Sans:wght@300;400;500;600;700;800&amp;display=swap">
1<script type="application/ld+json" data-next-head>{"@context":"https://schema.org","@type":"Organization","@id":"https://www.littledata.io/#organization","name":"Littledata","legalName":"Littledata Technologies Ltd","url":"https://www.littledata.io","description":"Littledata is the data layer for Shopify: a server-side foundation delivering accurate, consistent marketing signals to Google Analytics, paid media platforms and email tools.","logo":{"@type":"ImageObject","url":"https://www.littledata.io/apple-touch-icon.png","width":180,"height":180},"foundingDate":"2014-06-12","founder":{"@type":"Person","name":"Edward Upton","@id":"https://www.littledata.io/blog/author/edward#person"},"email":"[email protected]","address":{"@type":"PostalAddress","streetAddress":"2a Northbrook Court, Park Street","addressLocality":"Newbury","addressRegion":"England","postalCode":"RG14 1EA","addressCountry":"GB"},"sameAs":["https://www.linkedin.com/company/littledata","https://x.com/littledatauk","https://www.youtube.com/@littledatauk","https://www.facebook.com/littledatauk","https://github.com/littledata","https://apps.shopify.com/littledata","https://www.g2.com/products/littledata/reviews","https://clutch.co/profile/littledata","https://www.crunchbase.com/organization/littledata"]}</script>
1<script type="application/ld+json" data-next-head>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.littledata.io/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://www.littledata.io/blog"},{"@type":"ListItem","position":3,"name":"Why stores are using facebook conversions api","item":"https://www.littledata.io/blog/2021/10/07/why-stores-are-using-facebook-conversions-api"}]}</script>
1<script type="application/ld+json" data-next-head>{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://www.littledata.io/blog/2021/10/07/why-stores-are-using-facebook-conversions-api#article","mainEntityOfPage":"https://www.littledata.io/blog/2021/10/07/why-stores-are-using-facebook-conversions-api","url":"https://www.littledata.io/blog/2021/10/07/why-stores-are-using-facebook-conversions-api","headline":"Why stores are using Facebook’s Conversions API","description":"Over three million businesses worldwide use Facebook Ads. Their massive reach ensures they play a part in every ecommerce store’s…","datePublished":"2021-10-07T10:05:00","dateModified":"2022-08-23T17:22:34","publisher":{"@type":"Organization","@id":"https://www.littledata.io/#organization","name":"Littledata","url":"https://www.littledata.io","logo":{"@type":"ImageObject","url":"https://www.littledata.io/apple-touch-icon.png"}},"image":"https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1696336104/facebook-ads-roi/facebook-ads-roi.png?_i=AA","author":{"@type":"Person","@id":"https://www.littledata.io/blog/author/edward#person","name":"Edward Upton","url":"https://www.littledata.io/blog/author/edward","worksFor":{"@type":"Organization","@id":"https://www.littledata.io/#organization","name":"Littledata","url":"https://www.littledata.io","logo":{"@type":"ImageObject","url":"https://www.littledata.io/apple-touch-icon.png"}},"description":"Edward founded Littledata in 2015 as an analytics consultancy for ecommerce brands including MADE.COM and Micro Scooters, then turned it into the data layer for Shopify. He has spent over a decade on Shopify tracking, GA4 and marketing attribution, and speaks on ecommerce analytics at events including DigiMarCon and the Ecommerce Agency Summit.","jobTitle":"Founder & CEO","image":{"@type":"ImageObject","url":"https://secure.gravatar.com/avatar/35111ffcc306c42bda130c80e1b52374355582c2d2a7b08a6d416799906e9712?s=200&d=mm&r=g"},"sameAs":["https://www.linkedin.com/in/edwardupton","https://x.com/eupton","https://github.com/edwardupton"],"knowsAbout":["Shopify analytics","Google Analytics 4","Marketing attribution","Server-side tracking","Klaviyo","Meta Conversions API","AI in ecommerce"]}}</script>
1<script id="consent-mode-default">
2              window.dataLayer = window.dataLayer || [];
3              function gtag(){dataLayer.push(arguments);}
4              window.gtag = window.gtag || gtag;
5              gtag('consent', 'default', {
6                ad_storage: 'denied',
7                ad_user_data: 'denied',
8                ad_personalization: 'denied',
9                analytics_storage: 'denied',
10                personalization_storage: 'denied',
11                functionality_storage: 'granted',
12                security_storage: 'granted',
13                wait_for_update: 500
14              });
15              gtag('set', 'url_passthrough', true);
16              gtag('set', 'ads_data_redaction', true);
17            </script>
17<link id="google-fonts" rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&amp;family=Open+Sans:wght@300;400;500;600;700;800&amp;display=swap" media="print">
17<script id="google-fonts-swap">(function(){var l=document.getElementById("google-fonts");if(!l)return;var s=function(){l.media="all"};l.addEventListener("load",s);if(l.sheet){s();}})();</script>
17<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&amp;family=Open+Sans:wght@300;400;500;600;700;800&amp;display=swap"></noscript>
17<script src="/_next/static/chunks/2ghztf6_kjg5p.js" defer></script>
17<script src="/_next/static/chunks/3pmgo0llzz1y7.js" defer></script>
17<script src="/_next/static/chunks/2ho5-d0s53wa7.js" defer></script>
17<script src="/_next/static/chunks/065ar0xaov7nl.js" defer></script>
17<script src="/_next/static/chunks/38h1tz9ilwy5_.js" defer></script>
17<script src="/_next/static/chunks/1bk5idfhp03cc.js" defer></script>
17<script src="/_next/static/chunks/31st_05if5n5t.js" defer></script>
17<script src="/_next/static/chunks/0p0qn5h0fzip4.js" defer></script>
17<script src="/_next/static/chunks/2_1asff045o0s.js" defer></script>
17<script src="/_next/static/chunks/turbopack-180q8ebtqxctz.js" defer></script>
17<script src="/_next/static/chunks/0s-rcn-zj-eso.js" defer></script>
17<script src="/_next/static/chunks/44-_nmpc308n9.js" defer></script>
17<script src="/_next/static/chunks/1ni_fsuac8smz.js" defer></script>
17<script src="/_next/static/chunks/turbopack-2g2b3pfuon0hu.js" defer></script>
17<script src="/_next/static/1tzZ3kuIarWNrjPFkMKkA/_buildManifest.js" defer></script>
17<script src="/_next/static/1tzZ3kuIarWNrjPFkMKkA/_ssgManifest.js" defer></script>
17<script src="/_next/static/1tzZ3kuIarWNrjPFkMKkA/_clientMiddlewareManifest.js" defer></script>
17<style>.Header-module-scss-module__bYydyG__navLink{font-weight:400}.Header-module-scss-module__bYydyG__navLink>span{cursor:pointer;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1));border-top-width:1px;border-radius:.375rem;margin-top:0;margin-left:.5rem;margin-right:.5rem;padding-top:.5rem;padding-bottom:.5rem;font-size:1.125rem;font-weight:500;line-height:1.75rem;transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:block}@media (min-width:768px){.Header-module-scss-module__bYydyG__navLink>span{border-width:1px;display:inline-block}}.Header-module-scss-module__bYydyG__subNavLink{padding:.5rem;font-size:14px;font-weight:700;display:block}.Header-module-scss-module__bYydyG__subNavLink:hover{--tw-text-opacity:1;color:rgb(17 165 156/var(--tw-text-opacity,1))}*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Plus Jakarta Sans,Open Sans,sans-serif;line-height:1.5}body{line-height:inherit;margin:0}h1,h2,h3,h4,h5{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}strong{font-weight:bolder}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button{text-transform:none}button{-webkit-appearance:button;background-color:#0000;background-image:none}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}blockquote,h1,h2,h3,h4,h5,figure,p{margin:0}ol,ul{margin:0;padding:0;list-style:none}input::placeholder{opacity:1;color:#9ca3af}button{cursor:pointer}img,svg{vertical-align:middle;display:block}img{max-width:100%;height:auto}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-y-0{top:0;bottom:0}.-top-\[3px\]{top:-3px}.left-1{left:.25rem}.left-3{left:.75rem}.right-0{right:0}.top-0{top:0}.top-1\/2{top:50%}.top-7{top:1.75rem}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[100\]{z-index:100}.order-4{order:4}.order-first{order:-9999}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-2{margin-right:.5rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}
17.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-\[2\/1\]{aspect-ratio:2}.h-11{height:2.75rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-4{height:1rem}.h-8{height:2rem}.h-auto{height:auto}.w-11{width:2.75rem}.w-16{width:4rem}.w-2{width:.5rem}.w-4{width:1rem}.w-40{width:10rem}.w-96{width:24rem}.w-\[300px\]{width:300px}.w-full{width:100%}.w-max{width:max-content}.min-w-0{min-width:0}.min-w-\[180px\]{min-width:180px}.max-w-7xl{max-width:80rem}.max-w-\[1600px\]{max-width:1600px}.max-w-\[690px\]{max-width:690px}.max-w-screen-xl{max-width:1280px}.max-w-xs{max-width:20rem}.flex-auto{flex:auto}.flex-none{flex:none}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-full{--tw-translate-x:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-12{column-gap:3rem}.gap-x-2{column-gap:.5rem}.gap-y-1{row-gap:.25rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:9999px}
17.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-grey{--tw-border-opacity:1;border-color:rgb(208 220 232/var(--tw-border-opacity,1))}.border-transparent{border-color:#0000}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity,1))}.bg-indigo{--tw-bg-opacity:1;background-color:rgb(46 62 179/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-gradient-to-r{background-image:linear-gradient(to right, var(--tw-gradient-stops))}.from-teal-gradient-start{--tw-gradient-from:#53beca var(--tw-gradient-from-position);--tw-gradient-to:#53beca00 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.to-teal-gradient-end{--tw-gradient-to:#4ec7c4 var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-1{padding:.25rem}.p-4{padding:1rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-16{padding-bottom:4rem}.pb-2{padding-bottom:.5rem}.pl-9{padding-left:2.25rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-10{padding-top:2.5rem}.pt-16{padding-top:4rem}.pt-3{padding-top:.75rem}.pt-5{padding-top:1.25rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[2\.75rem\]{font-size:2.75rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-\[1\.15\]{line-height:1.15}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.tracking-\[-0\.02em\]{letter-spacing:-.02em}.tracking-\[0\.5px\]{letter-spacing:.5px}.tracking-\[1px\]{letter-spacing:1px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity,1))}.text-grey-lighter{--tw-text-opacity:1;color:rgb(64 73 82/var(--tw-text-opacity,1))}.text-teal{--tw-text-opacity:1;color:rgb(49 184 190/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.placeholder-grey-lighter::placeholder{--tw-placeholder-opacity:1;color:rgb(64 73 82/var(--tw-placeholder-opacity,1))}.opacity-0{opacity:0}.opacity-50{opacity:.5}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
17--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.outline-none{outline-offset:2px;outline:2px solid #0000}.invert{--tw-invert:invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:text-green-600:hover{--tw-text-opacity:1;color:rgb(8 143 135/var(--tw-text-opacity,1))}.hover\:text-teal:hover{--tw-text-opacity:1;color:rgb(49 184 190/var(--tw-text-opacity,1))}.hover\:text-teal-light:hover{--tw-text-opacity:1;color:rgb(113 219 226/var(--tw-text-opacity,1))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.hover\:opacity-75:hover{opacity:.75}.focus\:border-teal:focus{--tw-border-opacity:1;border-color:rgb(49 184 190/var(--tw-border-opacity,1))}.focus\:outline-none:focus{outline-offset:2px;outline:2px solid #0000}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
17dow,0 0 #0000)}.focus\:ring-teal\/30:focus{--tw-ring-color:#31b8be4d}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:bg-blue-black{--tw-bg-opacity:1;background-color:rgb(33 47 61/var(--tw-bg-opacity,1))}.group:hover .group-hover\:text-teal{--tw-text-opacity:1;color:rgb(49 184 190/var(--tw-text-opacity,1))}.group:hover .group-hover\:opacity-0{opacity:0}.group:hover .group-hover\:opacity-100{opacity:1}@media (min-width:640px){.sm\:inline{display:inline}.sm\:w-1\/2{width:50%}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:768px){.md\:order-2{order:2}.md\:mt-0{margin-top:0}.md\:w-1\/3{width:33.3333%}.md\:w-auto{width:auto}.md\:py-16{padding-top:4rem;padding-bottom:4rem}}@media (min-width:1024px){.lg\:static{position:static}.lg\:sticky{position:sticky}.lg\:inset-0{inset:0}.lg\:top-36{top:9rem}.lg\:my-auto{margin-top:auto;margin-bottom:auto}.lg\:mb-0{margin-bottom:0}.lg\:mr-auto{margin-right:auto}.lg\:block{display:block}.lg\:inline{display:inline}.lg\:hidden{display:none}.lg\:w-1\/4{width:25%}.lg\:w-auto{width:auto}.lg\:translate-x-0{--tw-translate-x:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-\[minmax\(0\,940px\)_300px\]{grid-template-columns:minmax(0,940px) 300px}.lg\:self-start{align-self:flex-start}.lg\:px-20{padding-left:5rem;padding-right:5rem}.lg\:py-8{padding-top:2rem;padding-bottom:2rem}.lg\:text-right{text-align:right}}@media (min-width:1280px){.xl\:inline{display:inline}}:root{--brand-color:#31b8be;--greenLighter:#dbeeed;--greenLight:#57c1ba;--green:#0fa69d;--greenDark:#088f87;--greyLightest:#f6f6f6;--greyLighter:#e8e8e8;--greyLight:#d1d2d2;--grey:#a3a4a4;--greyDark:#747676;--greyDarker:#464849;--greyDarkest:#181a1b;--redLight:#f38580;--red:#ee514a;--redDark:#db2e26;--orangeLighter:#f6e3b9;--orangeLight:#fac86a;--orange:#f8b12b;--orangeDark:#ef9f08;--purpleLight:#c9c;--purple:#6f4788;--white:#fff;--twitterBlue:#00aced;--linkedinBlue:#007bb6;--teal:#31b8be;--deep-indigo:#2d3db6;--blue-black:#212f3d}:root .brand{--ld-dark-bg:var(--brand-color);--ld-medium-bg:var(--greenLighter);--ld-light-bg:var(--white);--ld-disabled-bg:var(--greyLight);--ld-h-text:var(--greyDarkest);--ld-text-dark:var(--greyDarker);--ld-text-light:var(--white);--ld-lightbrand-text:var(--greenLighter);--ld-brand-text:var(--greenDark);--ld-disabled-text:var(--greyDark);--ld-brand:var(--brand-color);--ld-border:var(--greenLight);--ld-shadow:var(--grey-dark)}h1,h2,h3,h4,h5{margin:0 0 1rem;font-weight:700;line-height:1.25em;transition-property:font-size;transition-duration:.3s;transition-timing-function:ease-in-out}h1{font-size:2.625rem}h2{margin:0 0 2rem;font-size:1.75rem}h3{font-size:1.5rem}h4{font-size:1.125rem}p{letter-spacing:-.008em;font-weight:500;line-height:26px}.blog-markdown{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity,1));font-size:1.1rem;font-weight:400;line-height:1.5}.blog-markdown p,.blog-markdown ul,.blog-markdown ol,.blog-markdown li{font-weight:400}.blog-markdown strong{font-weight:600}.blog-markdown h1{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity,1));margin-top:4rem;margin-bottom:2rem;font-size:2rem;font-weight:600;line-height:1.15}.blog-markdown h4{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity,1));margin-top:2.5rem;margin-bottom:1rem;font-size:1.5rem;font-weight:600;line-height:1.375}.blog-markdown p{margin-bottom:2rem}.blog-markdown ul,.blog-markdown ol{margin-bottom:1.5rem;margin-left:1.5rem;list-style-position:outside}.blog-markdown ul{list-style-type:disc}.blog-markdown ol{list-style-type:decimal}.blog-markdown li{margin-bottom:.5rem;padding-left:.25rem}.blog-markdown a{--tw-text-opacity:1;color:rgb(8 143 135/var(--tw-text-opacity,1));font-weight:600}.blog-markdown a:hover{--tw-text-opacity:1;color:rgb(15 166 157/var(--tw-text-opacity,1));text-decoration:underline}.blog-markdown blockquote{--tw-border-opacity:1;border-left-width:4px;border-color:rgb(49 184 190/var(--tw-border-opacity,1));--tw-text-opacity:1;color:rgb(64 73 82/var(--tw-text-opacity,1));margin-top:1.5rem;margin-bottom:1.5rem;padding-left:1rem;font-style:italic}.blog-markdown table{border-collapse:collapse;width:100%;margin-top:1.5rem;margin-bottom:1.5rem;font-size:1rem;line-height:1.5rem}.blog-markdown th,.blog-markdown td{--tw-border-opacity:1;border-width:1px;border-color:rgb(208 220 232/var(--tw-border-opacity,1));text-align:left;padding:.5rem 1rem}.blog-markdown th{--tw-bg-opacity:1;background-color:rgb(224 255 253/var(--tw-bg-opacity,1));font-weight:600}html{scroll-behavior:smooth;height:100%}body{background-color:var(--ld-light-bg);color:var(--ld-text-dark);-webkit-font-smoothing:antialiased;width:100%;height:100%;font-size:16px;font-weight:300;line-height:1.8}ol,ul{list-style:initial}p{font-size:18px}</style><link rel="stylesheet" href="/_next/static/chunks/20szep15nigju.css" data-n-g media="print" onload="this.media='all'"><link rel="stylesheet" href="/_next/static/chunks/097rl_3xtbtpc.css" data-n-g media="print" onload="this.media='all'"><noscript data-n-css></noscript></head><body class="brand"><link rel="preload" as="image" href="https://res.cloudinary.com/littledata/image/upload/dpr_2/www2/img/new-logo.svg"><link rel="preload" as="image" href="https://res.cloudinary.com/littledata/image/upload/www2/assets/caret.svg"><link rel="preload" as="image" href="https://res.cloudinary.com/littledata/image/upload/www2/img/badge-built-for-shopify-light.svg"><link rel="preload" as="image" href="https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1696336104/facebook-ads-roi/facebook-ads-roi.png?_i=AA"><link rel="preload" as="image" href="https://secure.gravatar.com/avatar/35111ffcc306c42bda130c80e1b52374355582c2d2a7b08a6d416799906e9712?s=200&amp;d=mm&amp;r=g"><div id="__next"><div><div><div class="flex"><div class="hidden fixed inset-0 z-20 transition-opacity bg-black opacity-50 lg:hidden"></div><div class="-translate-x-full ease-in hidden fixed inset-y-0 right-0 z-[100] w-96 overflow-y-auto transition duration-300 transform bg-gray-900 lg:translate-x-0 lg:static lg:inset-0"></div></div><header id="ld-header" class="duration-500 py-2 lg:py-8 ease-in-out font-semibold transition w-full z-50 sticky top-0  bg-gradient-to-r from-teal-gradient-start to-teal-gradient-end"><nav class="flex h-20 items-center pt-5 justify-between mx-auto max-w-[1600px] px-12 lg:px-20"><a href="/"><img src="https://res.cloudinary.com/littledata/image/upload/dpr_2/www2/img/new-logo.svg" alt="Littledata logo" title="Littledata" class="w-40" width="160" height="32"></a><div class="flex-grow navbar-menu text-right order-4 md:order-2 w-full hidden lg:block md:w-auto mt-10 md:mt-0 text-md hidden"><div class="inline group relative"><a class="Header-module-scss-module__bYydyG__navLink" href="/shopify"><span class="group-hover:bg-blue-black border-gray-300 px-3 border-transparent">Product<img src="https://res.cloudinary.com/littledata/image/upload/www2/assets/caret.svg" alt="open menu" title="Open menu" class="transition-all duration-300 ml-2 w-2 h-2 text-white inline invert group-hover:rotate-180"></span></a><div class="transition-all hidden group-hover:block absolute left-1 top-7 w-max pt-3 z-10"><div class="bg-white border text-left rounded-md p-4 shadow-lg flex gap-6"><div class="min-w-[180px]"><div class="font-bold text-gray-900 mb-2 px-2 pb-2 border-b border-gray-200">Integrations</div><a class="Header-module-scss-module__bYydyG__subNavLink" href="/shopify/google-analytics">Google Analytics</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/shopify/google-ads">Google Ads</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/shopify/meta-conversions-api">Meta Ads</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/shopify/klaviyo">Klaviyo</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/shopify">All Integrations</a></div><div class="min-w-[180px]"><div class="font-bold text-gray-900 mb-2 px-2 pb-2 border-b border-gray-200">Features</div><a class="Header-module-scss-module__bYydyG__subNavLink" href="/shopify-markets">Shopify Markets</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/bot-protection">Bot Protection</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/event-editor">Event Editor<span class="ml-2 inline-block align-middle bg-indigo text-white text-[10px] font-bold leading-none uppercase tracking-[1px] px-1.5 py-1 rounded-full">BETA</span></a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/profit-signal">Profit Signal<span class="ml-2 inline-block align-middle bg-indigo text-white text-[10px] font-bold leading-none uppercase tracking-[1px] px-1.5 py-1 rounded-full">BETA</span></a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/persistent-id">Persistent ID</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/headless-shopify">Headless / Hydrogen</a></div></div></div></div><div class="hidden xl:inline group relative"><a class="Header-module-scss-module__bYydyG__navLink" href="/case-studies"><span class="group-hover:bg-blue-black border-gray-300 px-3 border-transparent">Case Studies</span></a></div><div class="inline group relative"><a class="Header-module-scss-module__bYydyG__navLink" href="/demo"><span class="group-hover:bg-blue-black border-gray-300 px-3 border-transparent">Learn<img src="https://res.cloudinary.com/littledata/image/upload/www2/assets/caret.svg" alt="open menu" title="Open menu" class="transition-all duration-300 ml-2 w-2 h-2 text-white inline invert group-hover:rotate-180"></span></a><div class="transition-all hidden group-hover:block absolute left-1 top-7 w-max pt-3 z-10"><div class="bg-white border text-left rounded-md p-4 shadow-lg flex gap-6"><div class="min-w-[180px]"><div class="font-bold text-gray-900 mb-2 px-2 pb-2 border-b border-gray-200">Learn</div><a class="Header-module-scss-module__bYydyG__subNavLink" href="/monitor-ai">Monitor AI<span class="ml-2 inline-block align-middle bg-indigo text-white text-[10px] font-bold leading-none uppercase tracking-[1px] px-1.5 py-1 rounded-full">BETA</span></a><a class="Header-module-scss-module__bYydyG__subNavLink" href="https://help.littledata.io/">Help Center</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/blog">Blog</a></div><div class="min-w-[180px]"><div class="font-bold text-gray-900 mb-2 px-2 pb-2 border-b border-gray-200">
17Compare</div><a class="Header-module-scss-module__bYydyG__subNavLink" href="/vs/littledata-vs-elevar">Littledata vs Elevar</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/vs/littledata-vs-triple-whale">Littledata vs Triple Whale</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/vs/littledata-vs-stape">Littledata vs Stape</a><a class="Header-module-scss-module__bYydyG__subNavLink" href="/alternatives/littledata">Littledata alternatives</a></div></div></div></div><div class="inline group relative"><a class="Header-module-scss-module__bYydyG__navLink" href="/plans"><span class="group-hover:bg-blue-black border-gray-300 px-3 border-transparent">Pricing</span></a></div><div class="inline group relative"><a class="Header-module-scss-module__bYydyG__navLink" href="/demo"><span class="group-hover:bg-blue-black border-gray-300 px-3 border-transparent">Demo</span></a></div><div class="inline group relative ml-4"><a href="https://apps.shopify.com/littledata" class="group"><span class="relative inline-flex align-middle -top-[3px]"><img alt="Built for Shopify" title="Built for Shopify" width="166" height="44" decoding="async" data-nimg="1" class="transition-opacity duration-300 group-hover:opacity-0" style="color:transparent;height:auto" src="https://res.cloudinary.com/littledata/image/upload/www2/img/badge-built-for-shopify-light.svg"><img alt title="Built for Shopify" aria-hidden="true" loading="lazy" width="166" height="44" decoding="async" data-nimg="1" class="absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100" style="color:transparent;height:auto" src="https://res.cloudinary.com/littledata/image/upload/www2/img/badge-built-for-shopify-dark.svg"></span></a></div></div><button title="Mobile navigation" class="text-white focus:outline-none lg:hidden hover:opacity-75 p-1 rounded-lg h-11 w-11"><svg xmlns="http://www.w3.org/2000/svg" class="" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16"/></svg></button></nav></header></div><main><div class="bg-white"><div class="mx-auto max-w-7xl px-6 pt-8 lg:hidden"><div class="relative w-full max-w-xs "><label for="_R_b6m_-input" class="sr-only">Search the blog</label><div class="relative"><svg aria-hidden="true" viewBox="0 0 20 20" fill="none" class="pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-grey-lighter"><circle cx="9" cy="9" r="6" stroke="currentColor" stroke-width="2"/><path d="m17 17-3.5-3.5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg><input id="_R_b6m_-input" type="search" placeholder="Search the blog" autocomplete="off" role="combobox" aria-expanded="false" aria-controls="_R_b6m_" aria-autocomplete="list" class="w-full rounded-lg border py-2 pl-9 pr-3 text-sm outline-none transition focus:ring-2 border-grey bg-white text-gray-900 placeholder-grey-lighter focus:border-teal focus:ring-teal/30" value></div></div></div><div class="mx-auto grid max-w-7xl grid-cols-1 gap-x-12 px-6 py-12 md:py-16 lg:grid-cols-[minmax(0,940px)_300px]"><article class="min-w-0"><header class="mb-8"><div class="flex flex-wrap items-center gap-x-2 gap-y-1 text-[11px] font-medium"><a class="text-[10px] font-semibold uppercase tracking-[0.5px] text-teal hover:text-teal-light" href="/blog/category/meta-ads">Meta Ads</a><span aria-hidden="true" class="text-grey-lighter">—</span><time datetime="2021-10-07T10:05:00" class="text-grey-lighter">October 7, 2021</time></div><h1 class="mt-5 text-[2.75rem] font-semibold leading-[1.15] tracking-[-0.02em] text-gray-900">Why stores are using Facebook’s Conversions API</h1><p class="mt-6 text-[11px] font-medium text-grey-lighter">by<!-- --> <a class="hover:text-teal" href="/blog/author/edward">Edward Upton</a></p><figure class="mt-10 max-w-[690px] overflow-hidden rounded-xl"><img src="https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1696336104/facebook-ads-roi/facebook-ads-roi.png?_i=AA" alt="Why stores are using Facebook’s Conversions API" class="h-auto w-full"></figure></header><div class="max-w-[690px]"><div class="blog-markdown"><h4>Over <a href="https://www.facebook.com/business/news/3-million-advertisers#:~:text=Today%2C%20three%20million%20businesses%20actively,a%20unique%20story%20and%20mission." target="_blank" rel="noopener noreferrer">three million businesses worldwide</a> use Facebook Ads.</h4>
18<p>Their massive reach ensures they play a part in every ecommerce store’s marketing strategy. Of course, the key to a 
18successful Facebook Ads strategy comes down to creating ads and targeting audiences based on good data.</p>
19<p>If you want to measure the return on investment from your Facebook Ads accurately, you need to share page-view and conversion events with Facebook. In the past, Facebook recommended you add Facebook Pixel onto all your web pages to enable this event tracking, which triggers a ping to Facebook’s servers. Originally this ping was in a request for a single white pixel loaded at the bottom of the page (hence ‘Pixel’), but nowadays the ping is usually sent from Facebook’s Javascript.</p>
20<p>In this post we’ll explain:</p>
21<ul>
22<li>Why you need to set up Conversions API today to improve your marketing</li>
23<li>How this extra tracking opens up more advertising options</li>
24<li>How you can implement the Conversions API on a Shopify store</li>
25</ul>
26<h1>What’s wrong with Facebook Pixel?</h1>
27<p>Over the 10 years since Pixel’s launch, three big trends have reduced its effectiveness at tracking return on Facebook Ad spend:</p>
28<ol>
29<li>Usage of ad blockers to stop third-party scripts from known advertising platforms (like Facebook) from sending a ping</li>
30<li>Browsers (e.g. Safari’s ITP) restricting what third-party scripts and cookies can track</li>
31<li>The increasing share of clicks from Facebook’s mobile app, exacerbating the 2nd trend</li>
32</ol>
33<p>The introduction of GDPR and similar regulation requiring that <a href="/blog/2021/06/18/shopify-cookie-banner-gdpr-compliance/">customers opt into being tracked</a> in their web browser presents the latest obstacle, and perhaps the biggest yet.</p>
34<p>The combined effect is that a smaller percentage of Facebook users who click on your ad can be tracked on subsequent web sessions. So a smaller percentage of the purchases which resulted from Facebook Ads can be attributed to Facebook.</p>
35<p><strong>Tip:</strong> Want to dig deeper into the challenges of measuring ROI from Facebook? See our recent webinar.</p>
36<h1>Why did Facebook launch Conversions API?</h1>
37<p>The lack of marketing attribution is a big problem for Facebook, as it makes their Ads look relatively less effective and more expensive than other channels.</p>
38<p>To combat these trends Facebook launched the <a href="/shopify/meta-conversions-api">Conversions API (CAPI)</a> in 2020, and in 2021 expanded it to enable tracking of any event (not just the purchase) directly on Facebook’s servers.</p>
39<p>In contrast to Pixel, Meta Conversions API is a server-to-server data connection, allowing events linked to a visitor from Facebook to be sent independent of the browser sessions.</p>
40<h1>What’s the advantage of CAPI over Pixel?</h1>
41<p>Firstly, the server-side events are not sent from the customer’s browser, so they are not interrupted by the web browsing and privacy trends mentioned above. Close to 100% of the purchases from your store can be shared with Facebook via CAPI.</p>
42<p>Secondly, even if the customer has opted out of marketing cookies — meaning the purchase cannot be attributed via Facebook’s Pixel ID — CAPI can send some extra user identifiers like email address, physical address and phone number. These give Facebook a better chance of linking the purchase to a user, and from there to the Ad the user clicked on. See more on user data below.</p>
43<p>This personally identifiable data is sent securely from Shopify to Facebook via a SSL connection, so there is no risk of security leaks.</p>
44<p>Conversions API also gives stores the ability to link delayed conversions back to the original ad campaign. A good example is subscription commerce (see <a href="https://www.facebook.com/business/industries/b2b/success-stories/honeybook-conversions-api" target="_blank" rel="noopener noreferrer">Facebook’s case study</a>), where stores need to see the 2nd or 3rd purchase to evaluate if the Facebook campaign is effective.</p>
45<blockquote>
46<p><strong>Tip:</strong> Littledata’s connectors capture <a href="/blog/2020/02/13/how-to-track-recurring-billing-subscriptions/">recurring payments from the Shopify checkout</a> automatically.</p>
47</blockquote>
48<p>Using CAPI might not fix all your attribution issues, but one agency reported a <a href="https://www.foxwelldigital.com/blog/2020/10/7/facebooks-conversions-api-capi-and-how-to-implement-it-with-your-shopify-site" target="_blank" rel="noopener noreferrer">25% to 35% boost in attribution</a> for Shopify stores using this technique. If you are a big Facebook spender, even a 20% improvement in attribution might be worth thous
48ands of dollars of implementation costs.</p>
49<h1>How should I use CAPI on my Shopify store?</h1>
50<p>Facebook <a href="https://www.facebook.com/business/help/433493041367251?id=818859032317965" target="_blank" rel="noopener noreferrer">recommends</a> you use a partner integration work with CAPI, and there are three ways to integrate Conversions API with your Shopify store:</p>
51<ol>
52<li>Shopify’s inbuilt <a href="https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/facebook-data-sharing#choosing-facebooks-customer-data-sharing-level" target="_blank" rel="noopener noreferrer">Facebook channel</a></li>
53<li>Server-side Google Tag Manager (sGTM)</li>
54<li><a href="https://help.littledata.io/posts/segment-overview/" target="_blank" rel="noopener noreferrer">Littledata</a> + <a href="https://segment.com/docs/connections/destinations/catalog/facebook-pixel-server-side" target="_blank" rel="noopener noreferrer">Segment</a></li>
55</ol>
56<p>To help you decide which is right for you, here is a quick comparison table.</p>
57<table><thead><tr><th></th><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Integration route</strong></td><td><strong>CAPI used for</strong></td><td><strong>Supports all FB account and campaign setups</strong></td><td><strong>Complexity of setup</strong></td><td><strong>Cost of maintenance</strong></td></tr><tr><td>Shopify’s Facebook channel</td><td>Just conversions</td><td>No</td><td>Low</td><td>Low</td></tr><tr><td>sGTM</td><td>All events triggered in GTM</td><td>Yes</td><td>High</td><td>High</td></tr><tr><td>Littledata + Segment</td><td>All server-side events from Littledata</td><td>Yes</td><td>Low</td><td>Low</td></tr></tbody></table>
58<p>You might be alright using Shopify’s Facebook channel if your campaign structure is simple, uses just one Facebook account, and you only target based on first-time purchases. Otherwise you should look at Segment’s <a href="https://segment.com/docs/connections/destinations/catalog/facebook-pixel-server-side" target="_blank" rel="noopener noreferrer">Meta Conversions API destination</a> or sGTM.</p>
59<p>sGTM is a version of Google Tag Manager where a trigger on the browser (e.g. the customer viewing a checkout step) is passed on to a dedicated cloud server, where the GTM container logic decides which events to trigger. So it’s a hybrid of client and server side tracking.</p>
60<blockquote>
61<p><strong>Tip:</strong> Learn how to use server-side tracking to improve customer loyalty and lifetime value.</p>
62</blockquote>
63<h1>What are the limitations of using sGTM?</h1>
64<p>You might have been told server-side GTM (sGTM) is the best way to work with CAPI. I disagree.</p>
65<p>Firstly, you have a complex setup to get all the events triggered from the browser in a way that the GTM server can handle. An analytics agency will typically charge you a few thousand dollars to get this working.</p>
66<p>Then you have to spin up your own GTM server in Google Cloud. That’s not a big cost – probably a few hundred dollars a month – but it is a maintenance headache. Who is going to check the server is up and running as expected?</p>
67<p>There are some limitations of where you can add the GTM container on the Shopify storefront. Unless you are using Shopify Plus, you can’t add to the checkout pages – so you can’t capture the checkout steps in the example above.</p>
68<p>Finally, you have to consider all the many changes Facebook makes to its APIs every year. Typically there is an update every few months that whoever maintains the GTM container would need to work with. With the other integration options this is included in the subscription fee.</p>
69<p>Yes, sGTM is flexible and will allow you to send similar event data to other destinations – but that’s also something that Segment does at no additional cost.</p>
70<h1>Server-side tracking for Shopify stores</h1>
71<p>Littledata’s solution is to send comprehensive event data from Shopify to Segment, and include event properties that are compatible with Segment’s <a href="https://help.littledata.io/posts/connect-segment-to-facebook-conversions-api/" target="_blank" rel="noopener noreferrer">Meta Conversions API destination</a>.</p>
72<p>The setup is as easy as:</p>
73<ol>
74<li>Create a workspace on Segment.com</li>
75<li>Install Littledata’s <a href="https://apps.shopify.com/segment-com-by-littledata" target="_blank" rel="noopener noreferrer">Shopify app for Segment</a></li>
76<li>Configure Segment’s <a href="https://help.littledata.io/posts/connect-segment-to-facebook-conversions-api/" target="_blank" rel="noopener noreferrer">Facebook destination</a></li>
77</ol>
78<p>
78What this brings you – in addition to the purchase event sent from Shopify’s integration – is complete server-side tracking of Add to Cart and Checkout Step events to Facebook, all linked back to the users on Facebook. These extra events can be used to target users who abandon cart or checkout.</p>
79<p>You can use Segment’s <a href="https://segment.com/docs/connections/destinations/catalog/personas-facebook-custom-audiences" target="_blank" rel="noopener noreferrer">Facebook audience sync</a> to build even more powerful retargeting audiences – e.g. a <a href="https://segment.com/recipes/build-facebook-lookalike-audience-from-highest-spending-customers/" target="_blank" rel="noopener noreferrer">lookalike audience of your most valuable customers</a>.</p>
80<h1>Things to note on custom user information</h1>
81<p>Sending the Facebook events direct from server to server allows Littledata to add a number of <a href="https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters" target="_blank" rel="noopener noreferrer">customer user identifiers</a>, so Facebook can better match the event to which Ad was clicked on.</p>
82<p>User properties that are automatically mapped to Facebook include:</p>
83<ul>
84<li>Email</li>
85<li>Phone number</li>
86<li>City state</li>
87<li>ZIP</li>
88<li>Country</li>
89<li>Client IP address</li>
90<li>Click ID (fbc)</li>
91<li>Browser ID (fbp)</li>
92</ul>
93<p>You can control which properties are passed on to Facebook in Segment Protocols, so better manage customer privacy choices.</p>
94<h1>Conclusion</h1>
95<p>If Facebook Ads is an important part of your store’s marketing strategy then Meta Conversions API is an essential tool to start using. The trends that make it more reliable that Facebook Pixel are ongoing, so if you don’t think you need it now you may well need it in a few months time.</p>
96<p>Your options to integrate Facebook on a Shopify store include Shopify’s in-built Facebook channel and server-side GTM, but we recommend using <a href="https://help.littledata.io/posts/segment-overview/" target="_blank" rel="noopener noreferrer">Littledata’s Shopify source</a> plus <a href="https://segment.com/docs/connections/destinations/catalog/facebook-pixel-server-side" target="_blank" rel="noopener noreferrer">Segment</a>’s Facebook destination for quick setup and easy maintenance.</p>
97<p>Then you can get:</p>
98<ul>
99<li>More accurate attribution of Ads</li>
100<li>Better retargeting for abandoned carts</li>
101<li>Better audience matching in Facebook.</li>
102</ul>
103<p>Give it a try and see what better results you can achieve!</p></div></div><footer class="mt-16 max-w-[690px] border-t border-grey pt-10"><div class="flex gap-4 items-start"><img src="https://secure.gravatar.com/avatar/35111ffcc306c42bda130c80e1b52374355582c2d2a7b08a6d416799906e9712?s=200&amp;d=mm&amp;r=g" alt="Edward Upton" class="rounded-full object-cover h-16 w-16"><div class="min-w-0"><a class="font-semibold text-gray-900 hover:text-green-600" href="/blog/author/edward">Edward Upton</a><p class="text-sm text-grey-lighter">Founder &amp; CEO</p><p class="mt-2 text-base text-grey-lighter">Edward founded Littledata in 2015 as an analytics consultancy for ecommerce brands including MADE.COM and Micro Scooters, then turned it into the data layer for Shopify. He has spent over a decade on Shopify tracking, GA4 and marketing attribution, and speaks on ecommerce analytics at events including DigiMarCon and the Ecommerce Agency Summit.</p><div class="mt-3"><ul class="flex list-none items-center gap-3 pl-0"><li><a href="https://www.linkedin.com/in/edwardupton" target="_blank" rel="me noopener noreferrer" aria-label="Edward Upton on LinkedIn" class="block text-grey-lighter hover:text-teal"><svg class="fill-current h-5 w-5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg></a></li><li><a href="https://x.com/eupton" target="_blank" rel="me noopener noreferrer" aria-label="Edward Upton on X" class="block text-grey-lighter hover:text-teal"><svg class="fill-current h-5 w-5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932zM17.61 20.644h2.039L6.486 3.24H4.298z"/></svg></a></li><li><a href="https://github.com/edwardupton" target="_blank" rel="me noopener noreferrer" aria-label="Edward Upton on GitHub" class="block text-grey-lighter hover:text-teal"><svg class="fill-current h-5 w-5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3.93.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a></li></ul></div></div></div></footer></article><div class="hidden lg:block"><div class="relative w-full max-w-xs mb-8"><label for="_R_6j6m_-input" class="sr-only">Search the blog</label><div class="relative"><svg aria-hidden="true" viewBox="0 0 20 20" fill="none" class="pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-grey-lighter"><circle cx="9" cy="9" r="6" stroke="currentColor" stroke-width="2"/><path d="m17 17-3.5-3.5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg><input id="_R_6j6m_-input" type="search" placeholder="Search the blog" autocomplete="off" role="combobox" aria-expanded="false" aria-controls="_R_6j6m_" aria-autocomplete="list" class="w-full rounded-lg border py-2 pl-9 pr-3 text-sm outline-none transition focus:ring-2 border-grey bg-white text-gray-900 placeholder-grey-lighter focus:border-teal focus:ring-teal/30" value></div></div><aside aria-label="Try Littledata" class="hidden w-[300px] shrink-0 lg:sticky lg:top-36 lg:block lg:self-start"><a class="block" href="https://apps.shopify.com/littledata"><img src="https://res.cloudinary.com/littledata/image/upload/v1718800752/Blog_Sidebar_CTA_1_a7s4xj.svg" alt="Try Littledata free for 30 days" class="w-full" width="300" height="300" loading="lazy"></a></aside></div></div><section class="border-t border-grey bg-white py-12 md:py-16" aria-labelledby="related-posts-heading"><div class="mx-auto max-w-7xl px-6"><h2 id="related-posts-heading" class="mb-8 text-2xl font-bold text-gray-900">You May Also Like</h2><div class="grid gap-8 sm:grid-cols-2 lg:grid-cols-4"><article class="group"><a class="block" href="/blog/2026/06/18/why-you-should-care-about-bots-and-spam-traffic-in-your-analytics-and-ad-tracking"><div class="overflow-hidden rounded-xl"><img src="https://res.cloudinary.com/littledata/image/upload/f_auto,q_auto,c_fill,w_480,h_240/www2/img/littledata-bot-protection-featured.png" alt="Why You Should Care About Bots and Spam Traffic in Your Analytics and Ad Tracking" class="aspect-[2/1] w-full object-cover" loading="lazy"></div><h3 class="text-lg font-bold leading-snug text-gray-900 transition-colors group-hover:text-teal mt-4">Why You Should Care About Bots and Spam Traffic in Your Analytics and Ad Tracking</h3><p class="mt-2 line-clamp-2 text-sm leading-relaxed text-grey-lighter">Bots crawling your Shopify store trigger fake add-to-cart events that pollute your analytics and waste retargeting budge…</p></a><p class="mt-3 text-xs text-grey-lighter">by<!-- --> <a class="hover:text-teal" href="/blog/author/edward">Edward Upton</a><span aria-hidden="true"> — </span><time datetime="2026-06-18T10:00:00">June 18, 2026</time></p></article><article class="group"><a class="block" href="/blog/2026/02/26/meta-attribution-in-2026-what-business-owners-and-senior-leaders-need-to-know"><div class="overflow-hidden rounded-xl"><img src="https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1772117384/Meta-Attribution-in-2026-What-Business-Owners-and-Senior-Leaders-Need-to-Know-1-1/Meta-Attribution-in-2026-What-Business-Owners-and-Senior-Leaders-Need-to-Know-1-1.png?_i=AA" alt="Meta Attribution in 2026: What Business Owners and Senior Leaders Need to Know" class="aspect-[2/1] w-full object-cover" loading="lazy"></div><h3 class="text-lg font-bold leading-snug text-gray-900 transition-colors group-hover:text-teal mt-4">Meta Attribution in 2026: What Business Owners and Senior Leaders Need to Know</h3><p class="mt-2 line-clamp-2 text-sm leading-relaxed text-grey-lighter">The CEO’s summary – you’re busy and want the tldr version so here it is: The full version…</p></a><p class="mt-3 text-xs text-grey-lighter">by<!-- --> <a class="hover:text-teal" href="/blog/author/edward">Edward Upton</a><span aria-hidden="true"> — </span><time datetime="2026-02-26T14:53:18">February 26, 2026</time></p></article><article class="group"><a class="block" href="/blog/2026/02/03/the-hidden-leak-in-your-shopify-scaling-strategy-new-vs-returning-customers-in-meta"><div class="overflow-hidden rounded-xl"><img src="https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1770120454/New-vs.-Returning-customer-purchases/New-vs.-Returning-customer-purchases.png?_i=AA" alt="The hidden leak in your Shopify scaling strategy: New vs Returning customers in Meta" class="aspect-[2/1] w-full object-cover" loading="lazy"></div><h3 class="text-lg font-bold leading-snug text-gray-900 transition-colors group-hover:text-teal mt-4">The hidden leak in your Shopify scaling strategy: New vs Returning customers in Meta</h3><p class="mt-2 line-clamp-2 text-sm leading-relaxed text-grey-lighter">Are you unknowingly paying Meta to &quot;acquire&quot; customers who would have bought anyway?</p></a><p class="mt-3 text-xs text-grey-lighter">by<!-- --> <a class="hover:text-teal" href="/blog/author/edward">Edward Upton</a><span aria-hidden="true"> — </span><time datetime="2026-02-03T12:42:03">February 3, 2026</time></p></article><article class="group"><a class="block" href="/blog/2025/12/19/online-advertising-in-the-ai-era"><div class="overflow-hidden rounded-xl"><img src="https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1766164122/OnlineAdvert
103ising/OnlineAdvertising.png?_i=AA" alt="Online advertising in the AI era" class="aspect-[2/1] w-full object-cover" loading="lazy"></div><h3 class="text-lg font-bold leading-snug text-gray-900 transition-colors group-hover:text-teal mt-4">Online advertising in the AI era</h3><p class="mt-2 line-clamp-2 text-sm leading-relaxed text-grey-lighter">2025 should be viewed alongside 1999 (the web) and 2008 (mobile). Not because everything suddenly changed overnight, but…</p></a><p class="mt-3 text-xs text-grey-lighter">by<!-- --> <a class="hover:text-teal" href="/blog/author/edward">Edward Upton</a><span aria-hidden="true"> — </span><time datetime="2025-12-19T17:04:54">December 19, 2025</time></p></article></div></div></section></div></main><div><footer class="text-gray-700 bg-black pt-16 font-extralight"><div class="px-5 py-2 mx-auto max-w-screen-xl text-sm"><div class="flex flex-wrap order-first"><div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4"><h5 class=" text-left text-white ">PRODUCT</h5><nav class="list-none mb-10 [&amp;_p]:my-2 [&amp;_p]:pr-6 [&amp;_a]:text-sm [&amp;_a]:text-gray-400 [&amp;_a:hover]:text-white"><p><a target="_blank" href="https://help.littledata.io/changelog">Product Updates</a></p><p><a href="/shopify-app">Shopify App</a></p><p><a href="/shopify/google-analytics">Shopify Google Analytics</a></p><p><a href="/why-littledata">Why Littledata</a></p><p><a href="/paid-media">Paid Media Connections</a></p><p><a href="/shopify/">All Connections</a></p></nav></div><div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4"><h5 class=" text-left text-white ">COMPANY</h5><nav class="list-none mb-10 [&amp;_p]:my-2 [&amp;_p]:pr-6 [&amp;_a]:text-sm [&amp;_a]:text-gray-400 [&amp;_a:hover]:text-white"><p><a href="/about">About</a></p><p><a href="/case-studies">Customers</a></p><p><a href="/partners">Partners</a></p><p><a target="_blank" href="https://littledata.jobs.personio.com">Careers</a></p><p><a href="/media">Media Assets</a></p></nav></div><div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4"><h5 class=" text-left text-white ">SUPPORT</h5><nav class="list-none mb-10 [&amp;_p]:my-2 [&amp;_p]:pr-6 [&amp;_a]:text-sm [&amp;_a]:text-gray-400 [&amp;_a:hover]:text-white"><p><a target="_blank" href="https://help.littledata.io/">Help Center</a></p><p><a target="_blank" href="https://status.littledata.io">System Status</a></p><p><a href="/demo">Book a Demo</a></p><p><a href="/contact-us">Contact</a></p><p><a href="/switch-from-elevar">Switch from Elevar</a></p></nav></div><div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4"><h5 class=" text-left text-white ">PUBLICATIONS</h5><nav class="list-none mb-10 [&amp;_p]:my-2 [&amp;_p]:pr-6 [&amp;_a]:text-sm [&amp;_a]:text-gray-400 [&amp;_a:hover]:text-white"><p><a href="/blog">Blog</a></p><p><a href="/ebooks">Ebooks</a></p></nav></div><div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4"><h5 class=" text-left text-white ">DEVELOPER DOCS</h5><nav class="list-none mb-10 [&amp;_p]:my-2 [&amp;_p]:pr-6 [&amp;_a]:text-sm [&amp;_a]:text-gray-400 [&amp;_a:hover]:text-white"><p><a target="_blank" href="https://help.littledata.io/advanced/developer">Developers</a></p><p><a target="_blank" href="https://help.littledata.io/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4">Google Analytics Docs</a></p><p><a target="_blank" href="https://help.littledata.io/integrations/shopify-to-segment/segment-to-shopify-how-it-works">Segment Docs</a></p><p><a target="_blank" href="https://help.littledata.io/advanced/developer/gtm-and-google-analytics-data-layer-for-shopify">GTM Data Layer</a></p></nav></div><div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4"><h5 class=" text-left text-white ">RESEARCH</h5><nav class="list-none mb-10 [&amp;_p]:my-2 [&amp;_p]:pr-6 [&amp;_a]:text-sm [&amp;_a]:text-gray-400 [&amp;_a:hover]:text-white"><p><a href="/blog/2021/10/07/why-stores-are-using-facebook-conversions-api">Why Meta Conversions API</a></p><p><a href="/blog/2021/05/20/why-doesnt-shopify-analytics-match-google-analytics-ebook">Why Doesn&#x27;t Shopify Analytics Match Google Analytics?</a></p><p><a href="/average-website-performance">Website benchmarks</a></p><p><a href="/ecommerce-conversion-rate">Ecommerce conversion rate</a></p></nav></div><div class="w-full sm:w-1/2 md:w-1/3 lg:w-1/4"><h5 class=" text-left text-white ">TEMPLATES</h5><nav class="list-none mb-10 [&amp;_p]:my-2 [&amp;_p]:pr-6 [&amp;_a]:text-sm [&amp;_a]:text-gray-400 [&amp;_a:hover]:text-white"><p><a href="/looker-studio-templates-recharge-subscriptions">Recharge Looker Studio Template</a></p></nav></div></div></div><div class="px-5 pt-8 pb-16 mx-auto flex flex-wrap items-center max-w-screen-xl w-full"><div class="flex flex-wrap items-center gap-3"><a href="https://apps.shopify.com/littledata" class="group"><span class="relative flex"><img alt="Built for Shopify" title="Built for Shopify" loading="lazy" width="166" height="44" decoding="async" data-nimg="1" class="transition-opacity duration-300 group-hover:opacity-0" style="color:transparent;height:auto" src="https://res.cloudinary.com/littledata/image/upload/www2/img/badge-built-for-shopify-dark.svg"><img alt title="Built for Shopify" aria-hidden="true" loading="lazy" width="166" height="44" decoding="async" data-nimg="1" class="absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100" style="color:transparent;height:auto" src="https://res.cloudinary.com/littledata/image/upload/www2/img/badge-built-for-shopify-light.svg"></span></a><a class="group" href="/shopify/klaviyo"><span class="relative flex"><img alt="Klaviyo Tech Partner — Preferred" title="Klaviyo Tech Partner — Preferred" loading="lazy" width="105" height="44" decoding="async" data-nimg="1" class="transition-opacity duration-300 group-hover:opacity-0" style="color:transparent" srcset="/_next/image?url=https%3A%2F%2Fres.cloudinary.com%2Flittledata%2Fimage%2Fupload%2Fwww2%2Fimg%2Fklaviyo-tech-partner-preferred-charcoal.png&amp;w=128&amp;q=75 1x, /_next/image?url=https%3A%2F%2Fres.cloudinary.com%2Flittledata%2Fimage%2Fupload%2Fwww2%2Fimg%2Fklaviyo-tech-partner-preferred-charcoal.png&amp;w=256&amp;q=75 2x" src="/_next/image?url=https%3A%2F%2Fres.cloudinary.com%2Flittledata%2Fimage%2Fupload%2Fwww2%2Fimg%2Fklaviyo-tech-partner-preferred-charcoal.png&amp;w=256&amp;q=75"><img alt title="Klaviyo Tech Partner — Preferred" aria-hidden="true" loading="lazy" width="105" height="44" decoding="async" data-nimg="1" class="absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100" style="color:transparent" srcset="/_next/image?url=https%3A%2F%2Fres.cloudinary.com%2Flittledata%2Fimage%2Fupload%2Fwww2%2Fimg%2Fklaviyo-tech-partner-preferred-cotton.png&amp;w=128&amp;q=75 1x, /_next/image?url=https%3A%2F%2Fres.cloudinary.com%2Flittledata%2Fimage%2Fupload%2Fwww2%2Fimg%2Fklaviyo-tech-partner-preferred-cotton.png&amp;w=256&amp;q=75 2x" src="/_next/image?url=https%3A%2F%2Fres.cloudinary.com%2Flittledata%2Fimage%2Fupload%2Fwww2%2Fimg%2Fklaviyo-tech-partner-preferred-cotton.png&amp;w=256&amp;q=75"></span></a></div><div class="flex-auto w-full lg:w-auto text-sm text-gray-400 lg:text-right mb-5 lg:mb-0 pr-4"><a class="px-3 text-gray-400 hover:text-white w-full lg:w-auto block lg:inline my-2 lg:my-auto" href="/privacy-policy">Privacy Policy</a><a class="px-3 text-gray-400 hover:text-white w-full lg:w-auto block lg:inline my-2 lg:my-auto" href="/terms">Terms of Use</a><span class="px-3 w-full block sm:inline py-2 my-2 lg:my-auto">©<!-- -->2026<!-- --> Littledata</span></div><div class="flex-none text-right"><a class="text-gray-400 hover:text-white mr-2 lg:mr-auto" href="https://www.linkedin.com/company/littledata" target="_blank" rel="noreferrer"><svg class="fill-current h-8 inline-block ml-3" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="LinkedIn"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg></a><a class="text-gray-400 hover:text-white mr-2 lg:mr-auto" href="https://x.com/littledatauk" target="_blank" rel="noreferrer"><svg class="fill-current h-8 inline-block ml-3" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="X"><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932zM17.61 20.644h2.039L6.486 3.24H4.298z"/></svg></a><a class="text-gray-400 hover:text-white mr-2 lg:mr-auto" href="https://www.g2.com/products/littledata/reviews?utm_source=Public+Website&amp;utm_medium=referral&amp;utm_campaign=G2+Reviews&amp;utm_term=G2+Reviews&amp;utm_content=Icon+in+Footer" title="G2" target="_blank" rel="noreferrer"><svg class="fill-current h-8 inline-block ml-3" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="G2"><path d="M500,0C223.9,0,0,223.9,0,500s223.9,500,500,500,500-223.9,500-500S776.1,0,500,0Zm87.2,412.4c0-21.9,4.3-40.2,13.1-54.4s24-27.1,45.9-38.2l10.1-4.9c17.8-9,22.4-16.7,22.4-26,0-11.1-9.5-19.1-25-19.1-18.3,0-32.2,9.5-41.8,28.9l-24.7-24.8c5.4-11.6,14.1-20.9,25.8-28.1a70.8,70.8,0,0,1,38.9-11.1c17.8,0,33.3,4.6,45.9,14.2s19.4,22.7,19.4,39.4c0,26.6-15,42.9-43.1,57.3l-15.7,8c-16.8,8.5-25.
1031,16-27.4,29.4h85.4v35.4H587.2ZM505.1,785.7c-157.8,0-285.7-127.9-285.7-285.7S347.3,214.3,505.1,214.3a286.4,286.4,0,0,1,55.9,5.5L505.1,336.7c-90,0-163.3,73.3-163.3,163.3s73.3,163.3,163.3,163.3a162.8,162.8,0,0,0,106.4-39.6l61.8,107.2A283.9,283.9,0,0,1,505.1,785.7ZM705,704.1,634.3,581.6H492.9l70.7-122.4H705l70.7,122.4Z"/></svg></a></div></div></footer></div></div></div>
103<script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"post":{"title":"Why stores are using Facebook’s Conversions API","description":"Over three million businesses worldwide use Facebook Ads. Their massive reach ensures they play a part in every ecommerce store’s…","excerpt":"Over three million businesses worldwide use Facebook Ads. Their massive reach ensures they play a part in every ecommerce store’s…","date":"2021-10-07T10:05:00","modified":"2022-08-23T17:22:34","slug":"why-stores-are-using-facebook-conversions-api","path":"2021/10/07/why-stores-are-using-facebook-conversions-api","wordpressId":12421,"author":"edward","categories":["Meta Ads"],"featuredImage":"https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1696336104/facebook-ads-roi/facebook-ads-roi.png?_i=AA","originalUrl":"https://blog.littledata.io/2021/10/07/why-stores-are-using-facebook-conversions-api/","body":"#### Over [three million businesses worldwide](https://www.facebook.com/business/news/3-million-advertisers#:~:text=Today%2C%20three%20million%20businesses%20actively,a%20unique%20story%20and%20mission.) use Facebook Ads.\n\nTheir massive reach ensures they play a part in every ecommerce store’s marketing strategy. Of course, the key to a successful Facebook Ads strategy comes down to creating ads and targeting audiences based on good data.\n\nIf you want to measure the return on investment from your Facebook Ads accurately, you need to share page-view and conversion events with Facebook. In the past, Facebook recommended you add Facebook Pixel onto all your web pages to enable this event tracking, which triggers a ping to Facebook’s servers. Originally this ping was in a request for a single white pixel loaded at the bottom of the page (hence ‘Pixel’), but nowadays the ping is usually sent from Facebook’s Javascript.\n\nIn this post we’ll explain:\n\n-   Why you need to set up Conversions API today to improve your marketing\n-   How this extra tracking opens up more advertising options\n-   How you can implement the Conversions API on a Shopify store\n\n# What’s wrong with Facebook Pixel?\n\nOver the 10 years since Pixel’s launch, three big trends have reduced its effectiveness at tracking return on Facebook Ad spend:\n\n1.  Usage of ad blockers to stop third-party scripts from known advertising platforms (like Facebook) from sending a ping\n2.  Browsers (e.g. Safari’s ITP) restricting what third-party scripts and cookies can track\n3.  The increasing share of clicks from Facebook’s mobile app, exacerbating the 2nd trend\n\nThe introduction of GDPR and similar regulation requiring that [customers opt into being tracked](/blog/2021/06/18/shopify-cookie-banner-gdpr-compliance/) in their web browser presents the latest obstacle, and perhaps the biggest yet.\n\nThe combined effect is that a smaller percentage of Facebook users who click on your ad can be tracked on subsequent web sessions. So a smaller percentage of the purchases which resulted from Facebook Ads can be attributed to Facebook.\n\n**Tip:** Want to dig deeper into the challenges of measuring ROI from Facebook? See our recent webinar.\n\n# Why did Facebook launch Conversions API?\n\nThe lack of marketing attribution is a big problem for Facebook, as it makes their Ads look relatively less effective and more expensive than other channels.\n\nTo combat these trends Facebook launched the [Conversions API (CAPI)](/shopify/meta-conversions-api) in 2020, and in 2021 expanded it to enable tracking of any event (not just the purchase) directly on Facebook’s servers.\n\nIn contrast to Pixel, Meta Conversions API is a server-to-server data connection, allowing events linked to a visitor from Facebook to be sent independent of the browser sessions.\n\n# What’s the advantage of CAPI over Pixel?\n\nFirstly, the server-side events are not sent from the customer’s browser, so they are not interrupted by the web browsing and privacy trends mentioned above. Close to 100% of the purchases from your store can be shared with Facebook via CAPI.\n\nSecondly, even if the customer has o
103pted out of marketing cookies — meaning the purchase cannot be attributed via Facebook’s Pixel ID — CAPI can send some extra user identifiers like email address, physical address and phone number. These give Facebook a better chance of linking the purchase to a user, and from there to the Ad the user clicked on. See more on user data below.\n\nThis personally identifiable data is sent securely from Shopify to Facebook via a SSL connection, so there is no risk of security leaks.\n\nConversions API also gives stores the ability to link delayed conversions back to the original ad campaign. A good example is subscription commerce (see [Facebook’s case study](https://www.facebook.com/business/industries/b2b/success-stories/honeybook-conversions-api)), where stores need to see the 2nd or 3rd purchase to evaluate if the Facebook campaign is effective.\n\n\u003e **Tip:** Littledata’s connectors capture [recurring payments from the Shopify checkout](/blog/2020/02/13/how-to-track-recurring-billing-subscriptions/) automatically.\n\nUsing CAPI might not fix all your attribution issues, but one agency reported a [25% to 35% boost in attribution](https://www.foxwelldigital.com/blog/2020/10/7/facebooks-conversions-api-capi-and-how-to-implement-it-with-your-shopify-site) for Shopify stores using this technique. If you are a big Facebook spender, even a 20% improvement in attribution might be worth thousands of dollars of implementation costs.\n\n# How should I use CAPI on my Shopify store?\n\nFacebook [recommends](https://www.facebook.com/business/help/433493041367251?id=818859032317965) you use a partner integration work with CAPI, and there are three ways to integrate Conversions API with your Shopify store:\n\n1.  Shopify’s inbuilt [Facebook channel](https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/facebook-data-sharing#choosing-facebooks-customer-data-sharing-level)\n2.  Server-side Google Tag Manager (sGTM)\n3.  [Littledata](https://help.littledata.io/posts/segment-overview/) + [Segment](https://segment.com/docs/connections/destinations/catalog/facebook-pixel-server-side)\n\nTo help you decide which is right for you, here is a quick comparison table.\n\n|     |     |     |     |     |\n| --- | --- | --- | --- | --- |\n| **Integration route** | **CAPI used for** | **Supports all FB account and campaign setups** | **Complexity of setup** | **Cost of maintenance** |\n| Shopify’s Facebook channel | Just conversions | No  | Low | Low |\n| sGTM | All events triggered in GTM | Yes | High | High |\n| Littledata + Segment | All server-side events from Littledata | Yes | Low | Low |\n\nYou might be alright using Shopify’s Facebook channel if your campaign structure is simple, uses just one Facebook account, and you only target based on first-time purchases. Otherwise you should look at Segment’s [Meta Conversions API destination](https://segment.com/docs/connections/destinations/catalog/facebook-pixel-server-side) or sGTM.\n\nsGTM is a version of Google Tag Manager where a trigger on the browser (e.g. the customer viewing a checkout step) is passed on to a dedicated cloud server, where the GTM container logic decides which events to trigger. So it’s a hybrid of client and server side tracking.\n\n\u003e **Tip:** Learn how to use server-side tracking to improve customer loyalty and lifetime value.\n\n# What are the limitations of using sGTM?\n\nYou might have been told server-side GTM (sGTM) is the best way to work with CAPI. I disagree.\n\nFirstly, you have a complex setup to get all the events triggered from the browser in a way that the GTM server can handle. An analytics agency will typically charge you a few thousand dollars to get this working.\n\nThen you have to spin up your own GTM server in Google Cloud. That’s not a big cost – probably a few hundred dollars a month – but it is a maintenance headache. Who is going to check the server is up and running as expected?\n\nThere are some limitations of where you can add the GTM container on the Shopify storefront. Unless you are using Shopify Plus, you can’t add to the checkout pages – so you can’t capture the checkout steps in the example above.\n\nFinally, you have to consider all the many changes Facebook makes to its APIs every year. Typically there is an update every few months that whoever maintains the GTM container would need to work with. With the other integration options this is included in the subscription fee.\n\nYes, sGTM is flexible and will allow you to send similar event data to other destinations – but that’s also something that Segment does at no additional cost.\n\n# Server-side tracking for Shopify stores\n\nLittledata’s solution is to send comprehensive event data from Shopify to Segment, and include event properties that are compatible with Segment’s [Meta Conversions API destination](https://help.littledata.io/posts/connect-segment-to-facebook-conversions-api/).\n\nThe setup is as easy as:\n\n1.  Create a workspace on Segment.com\n2.  Install Littledata’s [Shopify app for Segment](https://apps.shopify.com/segment-com-by-littledata)\n3.  Configure Segment’s [Facebook destination](https://help.littledata.io/posts/connect-segment-to-facebook-conversions-api/)\n\nWhat this brings 
103you – in addition to the purchase event sent from Shopify’s integration – is complete server-side tracking of Add to Cart and Checkout Step events to Facebook, all linked back to the users on Facebook. These extra events can be used to target users who abandon cart or checkout.\n\nYou can use Segment’s [Facebook audience sync](https://segment.com/docs/connections/destinations/catalog/personas-facebook-custom-audiences) to build even more powerful retargeting audiences – e.g. a [lookalike audience of your most valuable customers](https://segment.com/recipes/build-facebook-lookalike-audience-from-highest-spending-customers/).\n\n# Things to note on custom user information\n\nSending the Facebook events direct from server to server allows Littledata to add a number of [customer user identifiers](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters), so Facebook can better match the event to which Ad was clicked on.\n\nUser properties that are automatically mapped to Facebook include:\n\n-   Email\n-   Phone number\n-   City state\n-   ZIP\n-   Country\n-   Client IP address\n-   Click ID (fbc)\n-   Browser ID (fbp)\n\nYou can control which properties are passed on to Facebook in Segment Protocols, so better manage customer privacy choices.\n\n# Conclusion\n\nIf Facebook Ads is an important part of your store’s marketing strategy then Meta Conversions API is an essential tool to start using. The trends that make it more reliable that Facebook Pixel are ongoing, so if you don’t think you need it now you may well need it in a few months time.\n\nYour options to integrate Facebook on a Shopify store include Shopify’s in-built Facebook channel and server-side GTM, but we recommend using [Littledata’s Shopify source](https://help.littledata.io/posts/segment-overview/) plus [Segment](https://segment.com/docs/connections/destinations/catalog/facebook-pixel-server-side)’s Facebook destination for quick setup and easy maintenance.\n\nThen you can get:\n\n-   More accurate attribution of Ads\n-   Better retargeting for abandoned carts\n-   Better audience matching in Facebook.\n\nGive it a try and see what better results you can achieve!"},"author":{"slug":"edward","name":"Edward Upton","role":"Founder \u0026 CEO","bio":"Edward founded Littledata in 2015 as an analytics consultancy for ecommerce brands including MADE.COM and Micro Scooters, then turned it into the data layer for Shopify. He has spent over a decade on Shopify tracking, GA4 and marketing attribution, and speaks on ecommerce analytics at events including DigiMarCon and the Ecommerce Agency Summit.","photo":"https://secure.gravatar.com/avatar/35111ffcc306c42bda130c80e1b52374355582c2d2a7b08a6d416799906e9712?s=200\u0026d=mm\u0026r=g","sameAs":["https://www.linkedin.com/in/edwardupton","https://x.com/eupton","https://github.com/edwardupton"],"knowsAbout":["Shopify analytics","Google Analytics 4","Marketing attribution","Server-side tracking","Klaviyo","Meta Conversions API","AI in ecommerce"],"appearances":[{"title":"EU Ecommerce Agency Summit, Seville","date":"2026-09-30","kind":"talk","description":"Speaker at the annual summit for European ecommerce agency leaders.","url":"https://euecommerceagencysummit.eventify.io/p/#/overview"},{"title":"DigiMarCon London 2026","date":"2026","kind":"talk","description":"Speaker at the digital marketing, media and advertising conference.","url":"https://www.linkedin.com/posts/sarahsocha_digimarcon-digitalmarketing-ai-ugcPost-7502685451502260224-qKXL/"},{"title":"UK Ecommerce Agency Summit, Edinburgh","date":"2026-07-27","kind":"talk","description":"Speaker at the annual summit for UK ecommerce agency leaders.","url":"https://ukecommerceagencysummit.eventify.io/p/#/overview","image":"/img/edward-ecommerce-agency-summit-edinburgh-2026.webp","imageAlt":"Edward Upton speaking at the UK Ecommerce Agency Summit in Edinburgh, 2026"},{"title":"aulium","date":"2026-02-18","kind":"interview","description":"Optimizing Shopify ad spend and first-party data after third-party cookies.","url":"https://www.youtube.com/watch?v=CCeNWwkgCyQ","image":"https://i.ytimg.com/vi/CCeNWwkgCyQ/mqdefault.jpg","imageAlt":"Edward Upton interviewed on aulium about Shopify ad spend and first-party data"},{"title":"eCommerce Fastlane podcast","date":"2025-04-01","kind":"podcast","description":"From unknown visitor to loyal customer, and Littledata's conversion strategies.","url":"https://www.youtube.com/watch?v=zys0H-Tod_A","image":"https://i.ytimg.com/vi/zys0H-Tod_A/mqdefault.jpg","imageAlt":"Edward Upton on the eCommerce Fastlane podcast"},{"title":"Martalks podcast","date":"2024-04-10","kind":"podcast","description":"Why data accuracy leads to better collaboration between agencies and retailers.","url":"https://www.youtube.com/watch?v=YEmsfTdwnLA","image":"https://i.ytimg.com/vi/YEmsfTdwnLA/mqdefault.jpg","imageAlt":"Edward Upton on the Martalks podcast from Rosenstein Group"},{"title":"DigiMarCon London 2022","date":"2022","kind":"talk","description":"Emcee and keynote on measuring ecommerce customer lifetime value.","image":"/img/edward-digimarcon.webp","imageAlt":"Edward Upton speaking at DigiMarCon London 2022"},{"title":"Measurelab Podcast","date":"2022","kind":"podcast","description":"Discussing Google Analytics 4 for ecommerce.","url":"https://www.measurelab.co.uk/blog/podcasts/littledata-ga4-journey-edward-upton/"},{"title":"WhiteLabel Expo, Frankfurt","date":"2021","kind":"talk","description":"Keynote on measuring ecommerce customer lifetime value with Google Analytics.","image":"/img/edward-whitelabel.jpeg","imageAlt":"Edward Upton giving a keynote at WhiteLabel Expo Frankfurt 2021"},{"title":"Shopify Debrief, Toronto","date":"2019","kind":"talk","description":"Panelist on the business of Shopify apps.","image":"/img/edward-shopify-debrief.webp","imageAlt":"Edward Upton on the Shopify Debrief panel in Toronto, 2019"},{"title":"Agile Cambridge","date":"2018","kind":"talk","description":"Measure. Improve. Repeat. Building analytics into an effective product cycle.","url":"https://vimeo.com/293172468/71a3ed846e","image":"/img/edward-agile-cambridge.webp","imageAlt":"Edward Upton speaking at Agile Cambridge 2018"}]},"relatedPosts":[{"title":"Why You Should Care About Bots and Spam Traffic in Your Analytics and Ad Tracking","metaTitle":"Bots and spam traffic in your analytics and ad tracking","description":"Bots crawling your Shopify store trigger fake add-to-cart events that pollute your analytics and waste retargeting budget. Here's how to filter them out.","excerpt":"Bots crawling your Shopify store trigger fake add-to-cart events that pollute your analytics and waste retargeting budget. Here's how to filter them out.","date":"2026-06-18T10:00:00","modified":"2026-06-18T10:00:00","slug":"why-you-should-care-about-bots-and-spam-traffic-in-your-analytics-and-ad-tracking","path":"2026/06/18/why-you-should-care-about-bots-and-spam-traffic-in-your-analytics-and-ad-tracking","author":"edward","categories":["Google Analytics","Meta Ads","Marketing Attribution"],"featuredImage":"/img/littledata-bot-protection-featured.png"},{"title":"Meta Attribution in 2026: What Business Owners and Senior Leaders Need to Know","metaTitle":"Meta attribution in 2026: what leaders need to know","description":"Meta reports on sales that happened when an ad was shown but not clicked, inflating performance. What business owners need to know about Meta attribution.","excerpt":"The CEO’s summary – you’re busy and want the tldr version so here it is: The full version…","date":"2026-02-26T14:53:18","modified":"2026-02-26T14:54:53","slug":"meta-attribution-in-2026-what-business-owners-and-senior-leaders-need-to-know","path":"2026/02/26/meta-attribution-in-2026-what-business-owners-and-senior-leaders-need-to-know","wordpressId":16455,"author":"edward","categories":["Meta Ads","Marketing Attribution"],"featuredImage":"https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1772117384/Meta-Attribution-in-2026-What-Business-Owners-and-Senior-Leaders-Need-to-Know-1-1/Meta-Attribution-in-2026-What-Business-Owners-and-Senior-Leaders-Need-to-Know-1-1.png?_i=AA","originalUrl":"https://blog.littledata.io/2026/02/26/meta-attribution-in-2026-what-business-owners-and-senior-leaders-need-to-know/"},{"title":"The hidden leak in your Shopify scaling strategy: New vs Returning customers in Meta","metaTitle":"New vs returning customers in Meta: the hidden leak","description":"Are you unknowingly paying Meta to acquire customers who would have bought anyway? How to spot the repeat buyer trap in your Shopify scaling strategy.","excerpt":"Are you unknowingly paying Meta to \"acquire\" customers who would have bought anyway?","date":"2026-02-03T12:42:03","modified":"2026-02-03T12:44:00","slug":"the-hidden-leak-in-your-shopify-scaling-strategy-new-vs-returning-customers-in-meta","path":"2026/02/03/the-hidden-leak-in-your-shopify-scaling-strategy-new-vs-returning-customers-in-meta","wordpressId":16418,"author":"edward","categories":["Meta Ads","Ecommerce events","Shopify"],"featuredImage":"https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1770120454/New-vs.-Returning-customer-purchases/New-vs.-Returning-customer-purchases.png?_i=AA","originalUrl":"https://blog.littledata.io/2026/02/03/the-hidden-leak-in-your-shopify-scaling-strategy-new-vs-returning-customers-in-meta/"},{"title":"Online advertising in the AI era","description":"2025 should be viewed alongside 1999 (the web) and 2008 (mobile). Not because everything suddenly changed overnight, but…","excerpt":"2025 should be viewed alongside 1999 (the web) and 2008 (mobile). Not because everything suddenly changed overnight, but…","date":"2025-12-19T17:04:54","modified":"2025-12-19T17:09:20","slug":"online-advertising-in-the-ai-era","path":"2025/12/19/online-advertising-in-the-ai-era","wordpressId":16406,"author":"edward","categories":["AI","Meta Ads","Google Ads"],"featuredImage":"https://res.cloudinary.com/littledata/images/w_auto/f_auto,q_auto/v1766164122/OnlineAdvert
103ising/OnlineAdvertising.png?_i=AA","originalUrl":"https://blog.littledata.io/2025/12/19/online-advertising-in-the-ai-era/"}],"authorNames":{"ari":"Ari","CaitlinTelford-QuickfireDigital":"Caitlin Telford - Quickfire Digital","edward":"Edward Upton","greg":"Greg","guest":"Guest","jaz":"Jaz","littledata":"Littledata"},"title":"Why stores are using Facebook’s Conversions API","description":"Over three million businesses worldwide use Facebook Ads. Their massive reach ensures they play a part in every ecommerce store’s…","pagePath":"/blog/2021/10/07/why-stores-are-using-facebook-conversions-api","faq":null},"__N_SSG":true},"page":"/blog/[year]/[month]/[day]/[slug]","query":{"year":"2021","month":"10","day":"07","slug":"why-stores-are-using-facebook-conversions-api"},"buildId":"1tzZ3kuIarWNrjPFkMKkA","isFallback":false,"gsp":true,"scriptLoader":[]}</script>
103</body></html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.