CINXE.COM
Retargeting & Tracking - Pxl Help
<!DOCTYPE html><html class="antialiased [font-feature-settings:'ss01']" lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>Retargeting & Tracking - Pxl Help</title><meta name="description" content="Grow your audience with every click by embedding retargeting pixels in every link you share. Supports Meta, LinkedIn, Google, Twitter and more."/><meta name="next-head-count" content="4"/><meta property="og:image" content="https://help.pxl.to/tiny.png"/><meta name="twitter:image" content="https://help.pxl.to/tiny.png"/><script> let mediaQuery = window.matchMedia('(prefers-color-scheme: light)') function updateTheme(savedTheme) { let theme = 'system' try { if (!savedTheme) { savedTheme = window.localStorage.theme } if (savedTheme === 'dark') { theme = 'dark' document.documentElement.classList.add('dark') } else if (savedTheme === 'light') { theme = 'light' document.documentElement.classList.remove('dark') } else if (mediaQuery.matches) { document.documentElement.classList.add('dark') } else { document.documentElement.classList.remove('dark') } } catch { theme = 'light' document.documentElement.classList.remove('dark') } return theme } function updateThemeWithoutTransitions(savedTheme) { updateTheme(savedTheme) document.documentElement.classList.add('[&_*]:!transition-none') window.setTimeout(() => { document.documentElement.classList.remove('[&_*]:!transition-none') }, 0) } document.documentElement.setAttribute('data-theme', updateTheme()) new MutationObserver(([{ oldValue }]) => { let newValue = document.documentElement.getAttribute('data-theme') if (newValue !== oldValue) { try { window.localStorage.setItem('theme', newValue) } catch {} updateThemeWithoutTransitions(newValue) } }).observe(document.documentElement, { attributeFilter: ['data-theme'], attributeOldValue: true }) mediaQuery.addEventListener('change', updateThemeWithoutTransitions) window.addEventListener('storage', updateThemeWithoutTransitions) </script><script defer="" data-domain="help.pxl.to" data-api="/pa/api/event" src="/pa/js/script.js"></script><script> window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) } </script><link rel="preload" href="/_next/static/css/cc0c89da4477359a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc0c89da4477359a.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-0d1b80a048d4787e.js"></script><script src="/_next/static/chunks/webpack-5752944655d749a0.js" defer=""></script><script src="/_next/static/chunks/framework-4556c45dd113b893.js" defer=""></script><script src="/_next/static/chunks/main-c7a0ff793fffb508.js" defer=""></script><script src="/_next/static/chunks/pages/_app-f6d2f5d118e3834c.js" defer=""></script><script src="/_next/static/chunks/605040ef-b1de146bca0cbdd3.js" defer=""></script><script src="/_next/static/chunks/951-1eccf3723e92029a.js" defer=""></script><script src="/_next/static/chunks/909-64cbdfde64ae71ab.js" defer=""></script><script src="/_next/static/chunks/pages/docs/retargeting-149129a2c9620c7b.js" defer=""></script><script src="/_next/static/PkQ8gH5vl9Ff98ShyLQes/_buildManifest.js" defer=""></script><script src="/_next/static/PkQ8gH5vl9Ff98ShyLQes/_ssgManifest.js" defer=""></script></head><body class="bg-white dark:bg-slate-900"><div id="__next"><header class="sticky top-0 z-50 flex flex-wrap items-center justify-between bg-white px-4 py-5 transition duration-500 sm:px-6 lg:px-8 dark:bg-transparent"><div class="mr-6 flex lg:hidden"><button type="button" class="relative" aria-label="Open navigation"><svg aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" class="h-6 w-6 stroke-slate-500"><path d="M4 7h16M4 12h16M4 17h16"></path></svg></button><div style="position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none"></div></div><div class="relative flex flex-grow basis-0 items-center"><a aria-label="Home page" class="mt-1" href="/"><div class="hidden [[data-theme=light]_&]:block"><span style="box-sizing:border-box;display:inline-block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative;max-width:100%"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;max-width:100%"><img style="display:block;max-width:100%;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0" alt="" aria-hidden="true" src="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27100%27%20height=%2738%27/%3e"/></span><img alt="pxl.to" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="intrinsic" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="pxl.to" srcSet="/_next/static/media/tiny.58a8ac3c.svg 1x, /_next/static/media/tiny.58a8ac3c.svg 2x" src="/_next/static/media/tiny.58a8ac3c.svg" decoding="async" data-nimg="intrinsic" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" loading="lazy"/></noscript></span></div><div class="hidden [[data-theme=dark]_&]:block"><span style="box-sizing:border-box;display:inline-block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative;max-width:100%"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;max-width:100%"><img style="display:block;max-width:100%;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0" alt="" aria-hidden="true" src="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27100%27%20height=%2738%27/%3e"/></span><img alt="pxl.to" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="intrinsic" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="pxl.to" srcSet="/_next/static/media/tinywhite.93d07320.svg 1x, /_next/static/media/tinywhite.93d07320.svg 2x" src="/_next/static/media/tinywhite.93d07320.svg" decoding="async" data-nimg="intrinsic" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" loading="lazy"/></noscript></span></div><div class="hidden [:not(.dark)[data-theme=system]_&]:block"><span style="box-sizing:border-box;display:inline-block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative;max-width:100%"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;max-width:100%"><img style="display:block;max-width:100%;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0" alt="" aria-hidden="true" src="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27100%27%20height=%2738%27/%3e"/></span><img alt="pxl.to" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="intrinsic" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="pxl.to" srcSet="/_next/static/media/tiny.58a8ac3c.svg 1x, /_next/static/media/tiny.58a8ac3c.svg 2x" src="/_next/static/media/tiny.58a8ac3c.svg" decoding="async" data-nimg="intrinsic" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" loading="lazy"/></noscript></span></div><div class="hidden [.dark[data-theme=system]_&]:block"><span style="box-sizing:border-box;display:inline-block;overflow:hidden;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;position:relative;max-width:100%"><span style="box-sizing:border-box;display:block;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0;max-width:100%"><img style="display:block;max-width:100%;width:initial;height:initial;background:none;opacity:1;border:0;margin:0;padding:0" alt="" aria-hidden="true" src="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27100%27%20height=%2738%27/%3e"/></span><img alt="pxl.to" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" decoding="async" data-nimg="intrinsic" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%"/><noscript><img alt="pxl.to" srcSet="/_next/static/media/tinywhite.93d07320.svg 1x, /_next/static/media/tinywhite.93d07320.svg 2x" src="/_next/static/media/tinywhite.93d07320.svg" decoding="async" data-nimg="intrinsic" style="position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;padding:0;border:none;margin:auto;display:block;width:0;height:0;min-width:100%;max-width:100%;min-height:100%;max-height:100%" loading="lazy"/></noscript></span></div></a></div><div class="-my-5 mr-6 sm:mr-8 md:mr-0"><button type="button" class="group flex h-6 w-6 items-center justify-center sm:justify-start md:h-auto md:w-80 md:flex-none md:rounded-lg md:py-2.5 md:pl-4 md:pr-3.5 md:text-sm md:ring-1 md:ring-slate-200 md:hover:ring-slate-300 dark:md:bg-slate-800/75 dark:md:ring-inset dark:md:ring-white/5 dark:md:hover:bg-slate-700/40 dark:md:hover:ring-slate-500 lg:w-96"><svg aria-hidden="true" viewBox="0 0 20 20" class="h-5 w-5 flex-none fill-slate-400 group-hover:fill-slate-500 dark:fill-slate-500 md:group-hover:fill-slate-400"><path d="M16.293 17.707a1 1 0 0 0 1.414-1.414l-1.414 1.414ZM9 14a5 5 0 0 1-5-5H2a7 7 0 0 0 7 7v-2ZM4 9a5 5 0 0 1 5-5V2a7 7 0 0 0-7 7h2Zm5-5a5 5 0 0 1 5 5h2a7 7 0 0 0-7-7v2Zm8.707 12.293-3.757-3.757-1.414 1.414 3.757 3.757 1.414-1.414ZM14 9a4.98 4.98 0 0 1-1.464 3.536l1.414 1.414A6.98 6.98 0 0 0 16 9h-2Zm-1.464 3.536A4.98 4.98 0 0 1 9 14v2a6.98 6.98 0 0 0 4.95-2.05l-1.414-1.414Z"></path></svg><span class="sr-only md:not-sr-only md:ml-2 md:text-slate-500 md:dark:text-slate-400">Search docs</span></button></div><div class="relative flex basis-0 justify-end gap-6 sm:gap-8 md:flex-grow"><div class="relative z-10"><label class="sr-only" id="headlessui-listbox-label-:Rd36:">Theme</label><button class="flex h-6 w-6 items-center justify-center rounded-lg shadow-md shadow-black/5 ring-1 ring-black/5 dark:bg-slate-700 dark:ring-inset dark:ring-white/5" id="headlessui-listbox-button-:Rl36:" type="button" aria-haspopup="true" aria-expanded="false"><svg aria-hidden="true" viewBox="0 0 16 16" class="hidden h-4 w-4 fill-sky-400 [[data-theme=light]_&]:block"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 1a1 1 0 0 1 2 0v1a1 1 0 1 1-2 0V1Zm4 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm2.657-5.657a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm-1.415 11.313-.707-.707a1 1 0 0 1 1.415-1.415l.707.708a1 1 0 0 1-1.415 1.414ZM16 7.999a1 1 0 0 0-1-1h-1a1 1 0 1 0 0 2h1a1 1 0 0 0 1-1ZM7 14a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1Zm-2.536-2.464a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm0-8.486A1 1 0 0 1 3.05 4.464l-.707-.707a1 1 0 0 1 1.414-1.414l.707.707ZM3 8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Z"></path></svg><svg aria-hidden="true" viewBox="0 0 16 16" class="hidden h-4 w-4 fill-sky-400 [[data-theme=dark]_&]:block"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.23 3.333C7.757 2.905 7.68 2 7 2a6 6 0 1 0 0 12c.68 0 .758-.905.23-1.332A5.989 5.989 0 0 1 5 8c0-1.885.87-3.568 2.23-4.668ZM12 5a1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 1 1 0-2 1 1 0 0 0 1-1 1 1 0 0 1 1-1Z"></path></svg><svg aria-hidden="true" viewBox="0 0 16 16" class="hidden h-4 w-4 fill-slate-400 [:not(.dark)[data-theme=system]_&]:block"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 1a1 1 0 0 1 2 0v1a1 1 0 1 1-2 0V1Zm4 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm2.657-5.657a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm-1.415 11.313-.707-.707a1 1 0 0 1 1.415-1.415l.707.708a1 1 0 0 1-1.415 1.414ZM16 7.999a1 1 0 0 0-1-1h-1a1 1 0 1 0 0 2h1a1 1 0 0 0 1-1ZM7 14a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1Zm-2.536-2.464a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm0-8.486A1 1 0 0 1 3.05 4.464l-.707-.707a1 1 0 0 1 1.414-1.414l.707.707ZM3 8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Z"></path></svg><svg aria-hidden="true" viewBox="0 0 16 16" class="hidden h-4 w-4 fill-slate-400 [.dark[data-theme=system]_&]:block"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.23 3.333C7.757 2.905 7.68 2 7 2a6 6 0 1 0 0 12c.68 0 .758-.905.23-1.332A5.989 5.989 0 0 1 5 8c0-1.885.87-3.568 2.23-4.668ZM12 5a1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 1 1 0-2 1 1 0 0 0 1-1 1 1 0 0 1 1-1Z"></path></svg></button></div></div></header><div class="relative mx-auto flex max-w-8xl justify-center sm:px-2 lg:px-8 xl:px-12" id="article"><div class="hidden lg:relative lg:block lg:flex-none"><div class="absolute inset-y-0 right-0 w-[50vw] bg-slate-50 dark:hidden"></div><div class="sticky top-[4.5rem] -ml-0.5 h-[calc(100vh-4.5rem)] overflow-y-auto py-16 pl-0.5"><div class="absolute top-16 bottom-0 right-0 hidden h-12 w-px bg-gradient-to-t from-slate-800 dark:block"></div><div class="absolute top-28 bottom-0 right-0 hidden w-px bg-slate-800 dark:block"></div><nav class="text-base lg:text-sm w-64 pr-8 xl:w-72 xl:pr-16"><ul role="list" class="space-y-9"><li><h2 class="font-display font-medium text-slate-900 dark:text-white">Introduction</h2><ul role="list" class="mt-2 space-y-2 border-l-2 border-slate-100 dark:border-slate-800 lg:mt-4 lg:space-y-4 lg:border-slate-200"><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/">Getting Started</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/faq">Frequently Asked Questions</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/troubleshooting">Troubleshooting</a></li></ul></li><li><h2 class="font-display font-medium text-slate-900 dark:text-white">Core Features</h2><ul role="list" class="mt-2 space-y-2 border-l-2 border-slate-100 dark:border-slate-800 lg:mt-4 lg:space-y-4 lg:border-slate-200"><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/links">Short Links</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/dynamic-qr-codes">Dynamic QR Codes</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/microsites">Microsites</a></li></ul></li><li><h2 class="font-display font-medium text-slate-900 dark:text-white">Additional Features</h2><ul role="list" class="mt-2 space-y-2 border-l-2 border-slate-100 dark:border-slate-800 lg:mt-4 lg:space-y-4 lg:border-slate-200"><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/analytics">Analytics</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/custom-domains">Custom Domains</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/integrations">Integrations</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full font-semibold text-sky-500 before:bg-sky-500" href="/docs/retargeting">Retargeting & Tracking</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/smart-links">Smart Links</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/spam-protection">Spam Protection</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/team-members">Team Members</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/workspaces">Workspaces</a></li></ul></li><li><h2 class="font-display font-medium text-slate-900 dark:text-white">API Reference</h2><ul role="list" class="mt-2 space-y-2 border-l-2 border-slate-100 dark:border-slate-800 lg:mt-4 lg:space-y-4 lg:border-slate-200"><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/api-requests">Getting Started</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/api-shorts">Short Links</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/api-insight">Analytics</a></li></ul></li><li><h2 class="font-display font-medium text-slate-900 dark:text-white">Earning Money with Pxl</h2><ul role="list" class="mt-2 space-y-2 border-l-2 border-slate-100 dark:border-slate-800 lg:mt-4 lg:space-y-4 lg:border-slate-200"><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/pxl-partner-program">Pxl Partner Program</a></li></ul></li><li><h2 class="font-display font-medium text-slate-900 dark:text-white">Moving to Pxl</h2><ul role="list" class="mt-2 space-y-2 border-l-2 border-slate-100 dark:border-slate-800 lg:mt-4 lg:space-y-4 lg:border-slate-200"><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/import-bitly-links-to-pxl">Import Bitly Links to Pxl</a></li></ul></li><li><h2 class="font-display font-medium text-slate-900 dark:text-white">Data & Privacy</h2><ul role="list" class="mt-2 space-y-2 border-l-2 border-slate-100 dark:border-slate-800 lg:mt-4 lg:space-y-4 lg:border-slate-200"><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/retargeting-consent">Consent for Retargeting</a></li><li class="relative"><a class="block w-full pl-3.5 before:pointer-events-none before:absolute before:-left-1 before:top-1/2 before:h-1.5 before:w-1.5 before:-translate-y-1/2 before:rounded-full text-slate-500 before:hidden before:bg-slate-300 hover:text-slate-600 hover:before:block dark:text-slate-400 dark:before:bg-slate-700 dark:hover:text-slate-300" href="/docs/gdpr-compliance">GDPR Compliance</a></li></ul></li></ul></nav></div></div><div class="min-w-0 max-w-2xl flex-auto px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16"><article><header class="mb-9 space-y-1"><p class="font-display text-sm font-medium text-sky-500">Additional Features</p><h1 class="font-display text-3xl tracking-tight text-slate-900 dark:text-white">Retargeting & Tracking</h1></header><div class="prose prose-slate max-w-none dark:prose-invert dark:text-slate-400 prose-headings:scroll-mt-28 prose-headings:font-display prose-headings:font-normal lg:prose-headings:scroll-mt-[8.5rem] prose-lead:text-slate-500 dark:prose-lead:text-slate-400 prose-a:font-semibold dark:prose-a:text-sky-400 prose-a:no-underline prose-a:shadow-[inset_0_-2px_0_0_var(--tw-prose-background,#fff),inset_0_calc(-1*(var(--tw-prose-underline-size,4px)+2px))_0_0_var(--tw-prose-underline,theme(colors.sky.300))] hover:prose-a:[--tw-prose-underline-size:6px] dark:[--tw-prose-background:theme(colors.slate.900)] dark:prose-a:shadow-[inset_0_calc(-1*var(--tw-prose-underline-size,2px))_0_0_var(--tw-prose-underline,theme(colors.sky.800))] dark:hover:prose-a:[--tw-prose-underline-size:6px] prose-pre:rounded-xl prose-pre:bg-slate-900 prose-pre:shadow-lg dark:prose-pre:bg-slate-800/60 dark:prose-pre:shadow-none dark:prose-pre:ring-1 dark:prose-pre:ring-slate-300/10 dark:prose-hr:border-slate-800"><p>Grow your audience with every click by embedding retargeting and tracking pixels in every short link you share. Supports Meta, LinkedIn, Google, Twitter (X) and more.</p><div class="my-4 flex flex-col rounded-xl px-2 py-0 pb-5 bg-sky-50 dark:bg-slate-800/60 dark:ring-1 dark:ring-slate-300/10"><div class="prose"><div class="flex items-center"><svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 flex-none" fill="none" viewBox="0 0 24 24" stroke="#7dd3fc"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg><div class="ml-3"><div class="text-sky-800 [--tw-prose-background:theme(colors.sky.50)] prose-a:text-sky-900 prose-code:text-sky-900 dark:text-slate-300 dark:prose-code:text-slate-300"><p>This feature is available on the Plus, Growth, and Agency plans.</p></div></div></div></div><div class="not-prose pl-9"><a href="https://www.pxl.to/?ref=help-cta" target="_blank" class="rounded-full bg-blue-500 p-2 px-5 text-center text-sm text-white hover:bg-blue-400 hover:text-white focus:outline-none active:bg-blue-600 w-full md:w-auto">Get started for free</a></div></div><h2 id="introduction-to-retargeting-and-tracking-pixels">Introduction to retargeting & tracking pixels</h2><p><img src="/images/retargeting-pixels.png" alt="Retargeting pixels in Pxl"/></p><p>Retargeting tracks users who visited your content and shows them targeted ads. This is done using “pixels” to build audiences on advertising platforms.</p><p>Traditionally, pixels track website visitors, but with Pxl, you can pixel anyone who clicks your links, expanding your audience with first- and third-party content.</p><h3 id="get-consent-from-your-visitors">Get consent from your visitors</h3><p>We encourage users who add a retargeting pixel to their short links to consider adding an <a href="/docs/retargeting-consent">optional consent banner</a>. Visitors can then choose to accept cookies of retargeting pixels. Their choice is then remembered.</p><h3 id="supported-platforms">Supported platforms</h3><p>We support the following platforms:</p><ul><li><a href="#meta-ads">Meta</a></li><li><a href="#google-tag">Google Tag Manager</a></li><li><a href="#google-ads">Google Ads</a></li><li><a href="#google-analytics-ga-4">Google Analytics (GA4)</a></li><li>LinkedIn</li><li>Twitter (X)</li><li>TikTok</li><li>Quora</li><li>Bing</li><li>Pinterest</li><li>Reddit</li></ul><h2 id="managing-retargeting-and-tracking-pixels">Managing retargeting & tracking pixels</h2><ol><li>Log in to your <a href="https://app.pxl.to">Pxl dashboard</a></li><li>Click on <a href="https://app.pxl.to/assets">Assets</a> in the lower left corner</li><li>Choose <a href="https://app.pxl.to/assets#pixels">Pixels</a> to see your pixels</li><li>Click the <strong>Add Pixel</strong> button in the top right corner to add a pixel</li></ol><p>After you've added the pixels to your account, you will be able to embed them with each short link you create or modify.</p><div class="my-8 flex rounded-3xl p-6 bg-sky-50 dark:bg-slate-800/60 dark:ring-1 dark:ring-slate-300/10"><svg aria-hidden="true" viewBox="0 0 32 32" fill="none" class="h-8 w-8 flex-none [--icon-foreground:theme(colors.slate.900)] [--icon-background:theme(colors.white)]"><defs><radialGradient cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" id=":R17pn6:-gradient" gradientTransform="matrix(0 21 -21 0 20 11)"><stop stop-color="#0EA5E9"></stop><stop stop-color="#22D3EE" offset=".527"></stop><stop stop-color="#818CF8" offset="1"></stop></radialGradient><radialGradient cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" id=":R17pn6:-gradient-dark" gradientTransform="matrix(0 24.5001 -19.2498 0 16 5.5)"><stop stop-color="#0EA5E9"></stop><stop stop-color="#22D3EE" offset=".527"></stop><stop stop-color="#818CF8" offset="1"></stop></radialGradient></defs><g class="dark:hidden"><circle cx="20" cy="20" r="12" fill="url(#:R17pn6:-gradient)"></circle><path fill-rule="evenodd" clip-rule="evenodd" d="M20 24.995c0-1.855 1.094-3.501 2.427-4.792C24.61 18.087 26 15.07 26 12.231 26 7.133 21.523 3 16 3S6 7.133 6 12.23c0 2.84 1.389 5.857 3.573 7.973C10.906 21.494 12 23.14 12 24.995V27a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-2.005Z" class="fill-[var(--icon-background)]" fill-opacity="0.5"></path><path d="M25 12.23c0 2.536-1.254 5.303-3.269 7.255l1.391 1.436c2.354-2.28 3.878-5.547 3.878-8.69h-2ZM16 4c5.047 0 9 3.759 9 8.23h2C27 6.508 21.998 2 16 2v2Zm-9 8.23C7 7.76 10.953 4 16 4V2C10.002 2 5 6.507 5 12.23h2Zm3.269 7.255C8.254 17.533 7 14.766 7 12.23H5c0 3.143 1.523 6.41 3.877 8.69l1.392-1.436ZM13 27v-2.005h-2V27h2Zm1 1a1 1 0 0 1-1-1h-2a3 3 0 0 0 3 3v-2Zm4 0h-4v2h4v-2Zm1-1a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2Zm0-2.005V27h2v-2.005h-2ZM8.877 20.921C10.132 22.136 11 23.538 11 24.995h2c0-2.253-1.32-4.143-2.731-5.51L8.877 20.92Zm12.854-1.436C20.32 20.852 19 22.742 19 24.995h2c0-1.457.869-2.859 2.122-4.074l-1.391-1.436Z" class="fill-[var(--icon-foreground)]"></path><path d="M20 26a1 1 0 1 0 0-2v2Zm-8-2a1 1 0 1 0 0 2v-2Zm2 0h-2v2h2v-2Zm1 1V13.5h-2V25h2Zm-5-11.5v1h2v-1h-2Zm3.5 4.5h5v-2h-5v2Zm8.5-3.5v-1h-2v1h2ZM20 24h-2v2h2v-2Zm-2 0h-4v2h4v-2Zm-1-10.5V25h2V13.5h-2Zm2.5-2.5a2.5 2.5 0 0 0-2.5 2.5h2a.5.5 0 0 1 .5-.5v-2Zm2.5 2.5a2.5 2.5 0 0 0-2.5-2.5v2a.5.5 0 0 1 .5.5h2ZM18.5 18a3.5 3.5 0 0 0 3.5-3.5h-2a1.5 1.5 0 0 1-1.5 1.5v2ZM10 14.5a3.5 3.5 0 0 0 3.5 3.5v-2a1.5 1.5 0 0 1-1.5-1.5h-2Zm2.5-3.5a2.5 2.5 0 0 0-2.5 2.5h2a.5.5 0 0 1 .5-.5v-2Zm2.5 2.5a2.5 2.5 0 0 0-2.5-2.5v2a.5.5 0 0 1 .5.5h2Z" class="fill-[var(--icon-foreground)]"></path></g><g class="hidden dark:inline"><path fill-rule="evenodd" clip-rule="evenodd" d="M16 2C10.002 2 5 6.507 5 12.23c0 3.144 1.523 6.411 3.877 8.691.75.727 1.363 1.52 1.734 2.353.185.415.574.726 1.028.726H12a1 1 0 0 0 1-1v-4.5a.5.5 0 0 0-.5-.5A3.5 3.5 0 0 1 9 14.5V14a3 3 0 1 1 6 0v9a1 1 0 1 0 2 0v-9a3 3 0 1 1 6 0v.5a3.5 3.5 0 0 1-3.5 3.5.5.5 0 0 0-.5.5V23a1 1 0 0 0 1 1h.36c.455 0 .844-.311 1.03-.726.37-.833.982-1.626 1.732-2.353 2.354-2.28 3.878-5.547 3.878-8.69C27 6.507 21.998 2 16 2Zm5 25a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1 3 3 0 0 0 3 3h4a3 3 0 0 0 3-3Zm-8-13v1.5a.5.5 0 0 1-.5.5 1.5 1.5 0 0 1-1.5-1.5V14a1 1 0 1 1 2 0Zm6.5 2a.5.5 0 0 1-.5-.5V14a1 1 0 1 1 2 0v.5a1.5 1.5 0 0 1-1.5 1.5Z" fill="url(#:R17pn6:-gradient-dark)"></path></g></svg><div class="ml-4 flex-auto"><p class="m-0 font-display text-xl text-sky-900 dark:text-sky-400">Removing pixels</p><div class="prose mt-2.5 text-sky-800 [--tw-prose-background:theme(colors.sky.50)] prose-a:text-sky-900 prose-code:text-sky-900 dark:text-slate-300 dark:prose-code:text-slate-300"><p>Removing a pixel will automatically delete it from all the links it’s associated with.</p></div></div></div><h2 id="installing-a-retargeting-pixel">Installing a retargeting pixel</h2><p>To find your pixel identifier, you usually just need to choose the <strong>manual installation</strong> option for your website and look for the identifier (ID) in the provided script.</p><h3 id="meta-ads">Meta Ads</h3><p>Create a pixel in the Meta Events Ads manager:</p><ul><li>Go to the <a href="https://www.facebook.com/events_manager2/list">Meta Events Manager</a></li><li>Click <code>( + ) Connect Data Sources</code> in the left sidebar</li><li>Select <code>Web</code></li><li>Enter a name for your pixel and click <code>Create pixel</code></li></ul><p>You are now presented with code similar to this:</p><pre class="prism-code language-undefined"><code><span class="token plain"><!-- Facebook Pixel Code --></span> <span class="token plain"><script></span> <span class="token plain"> !function(f,b,e,v,n,t,s)</span> <span class="token plain"> {if(f.fbq)return;n=f.fbq=function(){n.callMethod?</span> <span class="token plain"> n.callMethod.apply(n,arguments):n.queue.push(arguments)};</span> <span class="token plain"> if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';</span> <span class="token plain"> n.queue=[];t=b.createElement(e);t.async=!0;</span> <span class="token plain"> t.src=v;s=b.getElementsByTagName(e)[0];</span> <span class="token plain"> s.parentNode.insertBefore(t,s)}(window,document,'script',</span> <span class="token plain"> 'https://connect.facebook.net/en_US/fbevents.js');</span> <span class="token plain"> fbq('init', '1234567890123456');</span> <span class="token plain"> fbq('track', 'PageView');</span> <span class="token plain"></script></span> <span class="token plain"><noscript></span> <span class="token plain"> <img height="1" width="1" style="display:none"</span> <span class="token plain"> src="https://www.facebook.com/tr?id=1234567890123456&ev=PageView&noscript=1"/></span> <span class="token plain"></noscript></span> <span class="token plain"><!-- End Facebook Pixel Code --></span> </code></pre><p>Look for this line:</p><pre class="prism-code language-undefined"><code><span class="token plain">fbq('init', '1234567890123456');</span> </code></pre><p>Copy the ID (example: <code>1234567890123456</code>) and paste it into the <code>Identifier</code> field on the <a href="https://app.pxl.to/assets#pixels">Pixel page</a>.</p><h3 id="google-tag">Google Tag</h3><p>The Google Ads tag has been replaced by the newer Google tag. To set up remarketing, you'll need to add the Google tag on your website. However, if you still want to set up the Google Ads tag, jump to the next section.</p><p>To set up a remarketing audience with the Google Tag for Pxl, do the following:</p><ul><li>Go to the <a href="https://ads.google.com/">Google Ads account</a></li><li>Click <code>Tools</code> in the left sidebar</li><li>In the <code>Google tag</code> section, you will see a default tag</li><li>Click on <code>Manage</code></li><li>A window opens, now choose <code>Installation instructions</code> and then <code>Install manually</code></li></ul><p>You are now presented with code similar to this:</p><pre class="prism-code language-undefined"><code><span class="token plain"><!-- Google tag (gtag.js) --></span> <span class="token plain"><script async src="https://www.googletagmanager.com/gtag/js?id=AW-12345678901"></script></span> <span class="token plain"><script></span> <span class="token plain"> window.dataLayer = window.dataLayer || [];</span> <span class="token plain"> function gtag(){dataLayer.push(arguments);}</span> <span class="token plain"> gtag('js', new Date());</span> <!-- --> <span class="token plain"> gtag('config', 'AW-12345678901');</span> <span class="token plain"></script></span> </code></pre><p>Look for this line:</p><pre class="prism-code language-undefined"><code><span class="token plain">gtag('config', 'AW-12345678901');</span> </code></pre><p>Copy the ID including the prefix (example: <code>AW-12345678901</code>) and paste it into the <code>Identifier</code> field on the <a href="https://app.pxl.to/assets#pixels">Pixel page</a>.</p><p>Due to Google's processing time, you may not see your hits recorded immediately.</p><h3 id="google-ads">Google Ads</h3><p>To set up a remarketing audience in Google Ads for Pxl, do the following:</p><ul><li>Go to the <a href="https://ads.google.com/">Google Ads account</a></li><li>Click <code>Tools</code> in the left sidebar</li><li>Go to <code>Shared library</code> and then choose <a href="https://ads.google.com/aw/audiences/management">Audience manager</a></li><li>In the center top menu, choose <code>Your data sources</code></li><li>In the <code>Google Ads tag</code> card, click <code>Details</code><ul><li>If you have not yet set up the remarketing tag, click <code>Set up tag</code>and follow the process</li></ul></li><li>Scroll down and expand the <code>Tag setup</code> section</li><li>Scroll down further and select <code>Install the tag yourself</code></li><li>Copy the ID <em>without</em> the prefix (example: <code>12345678901</code>) and paste it into the <code>Identifier</code> field on the <a href="https://app.pxl.to/assets#pixels">Pixel page</a>.</li></ul><p>Due to Google's processing time, you may not see your hits recorded immediately.</p><h3 id="google-analytics-ga-4">Google Analytics (GA4)</h3><p>Below are the instructions to add Google Analytics to Pxl. Please note that Google is now only supporting Google Analytics 4, as Universal Analytics has been deprecated.</p><p>To set up a Google Analytics (GA4) tag for Pxl, do the following:</p><ul><li>Sign in to your <a href="https://analytics.google.com">Analytics account</a></li><li>In the bottom left corner, click <code>Admin</code></li><li>In the menu on the left side, choose <code>Data collection and modification</code> and then <code>Data streams</code></li><li>Now either click on <code>Add stream</code> > <code>Web</code> or choose an existing Web stream by clicking on it</li><li>On the right, you will now see a <code>Measurement ID</code> (example: <code>G-12C45F78I</code>)</li><li>Copy the ID including the prefix (example: <code>G-12C45F78I</code>) and paste it into the <code>Identifier</code> field on the <a href="https://app.pxl.to/assets#pixels">Pixel page</a>.</li></ul><p>Due to Google's processing time, you may not see your hits recorded immediately.</p></div></article><dl class="mt-12 flex border-t border-slate-200 pt-6 dark:border-slate-800"><div><dt class="font-display text-sm font-medium text-slate-900 dark:text-white">Previous</dt><dd class="mt-1"><a class="text-base font-semibold text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300" href="/docs/integrations"><span aria-hidden="true">←</span> <!-- -->Integrations</a></dd></div><div class="ml-auto text-right"><dt class="font-display text-sm font-medium text-slate-900 dark:text-white">Next</dt><dd class="mt-1"><a class="text-base font-semibold text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300" href="/docs/smart-links">Smart Links<!-- --> <span aria-hidden="true">→</span></a></dd></div></dl></div><div class="hidden xl:sticky xl:top-[4.5rem] xl:-mr-6 xl:block xl:h-[calc(100vh-4.5rem)] xl:flex-none xl:overflow-y-auto xl:py-16 xl:pr-6"><nav aria-labelledby="on-this-page-title" class="w-56"><h2 id="on-this-page-title" class="font-display text-sm font-medium text-slate-900 dark:text-white">On this page</h2><ol role="list" class="mt-4 space-y-3 text-sm"><li><h3><a class="text-sky-500" href="/docs/retargeting#introduction-to-retargeting-and-tracking-pixels">Introduction to retargeting & tracking pixels</a></h3><ol role="list" class="mt-2 space-y-3 pl-5 text-slate-500 dark:text-slate-400"><li><a class="hover:text-slate-600 dark:hover:text-slate-300" href="/docs/retargeting#get-consent-from-your-visitors">Get consent from your visitors</a></li><li><a class="hover:text-slate-600 dark:hover:text-slate-300" href="/docs/retargeting#supported-platforms">Supported platforms</a></li></ol></li><li><h3><a class="font-normal text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-300" href="/docs/retargeting#managing-retargeting-and-tracking-pixels">Managing retargeting & tracking pixels</a></h3></li><li><h3><a class="font-normal text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-300" href="/docs/retargeting#installing-a-retargeting-pixel">Installing a retargeting pixel</a></h3><ol role="list" class="mt-2 space-y-3 pl-5 text-slate-500 dark:text-slate-400"><li><a class="hover:text-slate-600 dark:hover:text-slate-300" href="/docs/retargeting#meta-ads">Meta Ads</a></li><li><a class="hover:text-slate-600 dark:hover:text-slate-300" href="/docs/retargeting#google-tag">Google Tag</a></li><li><a class="hover:text-slate-600 dark:hover:text-slate-300" href="/docs/retargeting#google-ads">Google Ads</a></li><li><a class="hover:text-slate-600 dark:hover:text-slate-300" href="/docs/retargeting#google-analytics-ga-4">Google Analytics (GA4)</a></li></ol></li></ol></nav></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"markdoc":{"content":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Grow your audience with every click by embedding retargeting and tracking pixels in every short link you share. Supports Meta, LinkedIn, Google, Twitter (X) and more."]},{"$$mdtype":"Tag","name":"Availability","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This feature is available on the Plus, Growth, and Agency plans."]}]},{"$$mdtype":"Tag","name":"h2","attributes":{"id":"introduction-to-retargeting-and-tracking-pixels"},"children":["Introduction to retargeting \u0026 tracking pixels"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/images/retargeting-pixels.png","alt":"Retargeting pixels in Pxl"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retargeting tracks users who visited your content and shows them targeted ads. This is done using “pixels” to build audiences on advertising platforms."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Traditionally, pixels track website visitors, but with Pxl, you can pixel anyone who clicks your links, expanding your audience with first- and third-party content."]},{"$$mdtype":"Tag","name":"h3","attributes":{"id":"get-consent-from-your-visitors"},"children":["Get consent from your visitors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We encourage users who add a retargeting pixel to their short links to consider adding an ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/retargeting-consent"},"children":["optional consent banner"]},". Visitors can then choose to accept cookies of retargeting pixels. Their choice is then remembered."]},{"$$mdtype":"Tag","name":"h3","attributes":{"id":"supported-platforms"},"children":["Supported platforms"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We support the following platforms:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"#meta-ads"},"children":["Meta"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"#google-tag"},"children":["Google Tag Manager"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"#google-ads"},"children":["Google Ads"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"#google-analytics-ga-4"},"children":["Google Analytics (GA4)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["LinkedIn"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Twitter (X)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["TikTok"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Quora"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Bing"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Pinterest"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Reddit"]}]},{"$$mdtype":"Tag","name":"h2","attributes":{"id":"managing-retargeting-and-tracking-pixels"},"children":["Managing retargeting \u0026 tracking pixels"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Log in to your ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://app.pxl.to"},"children":["Pxl dashboard"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click on ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://app.pxl.to/assets"},"children":["Assets"]}," in the lower left corner"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Choose ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://app.pxl.to/assets#pixels"},"children":["Pixels"]}," to see your pixels"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add Pixel"]}," button in the top right corner to add a pixel"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After you've added the pixels to your account, you will be able to embed them with each short link you create or modify."]},{"$$mdtype":"Tag","name":"Callout","attributes":{"title":"Removing pixels","type":"note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Removing a pixel will automatically delete it from all the links it’s associated with."]}]},{"$$mdtype":"Tag","name":"h2","attributes":{"id":"installing-a-retargeting-pixel"},"children":["Installing a retargeting pixel"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To find your pixel identifier, you usually just need to choose the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["manual installation"]}," option for your website and look for the identifier (ID) in the provided script."]},{"$$mdtype":"Tag","name":"h3","attributes":{"id":"meta-ads"},"children":["Meta Ads"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a pixel in the Meta Events Ads manager:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://www.facebook.com/events_manager2/list"},"children":["Meta Events Manager"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["( + ) Connect Data Sources"]}," in the left sidebar"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Web"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter a name for your pixel and click ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Create pixel"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You are now presented with code similar to this:"]},{"$$mdtype":"Tag","name":"Fence","attributes":{},"children":["\u003c!-- Facebook Pixel Code --\u003e\n\u003cscript\u003e\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window,document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('init', '1234567890123456');\n fbq('track', 'PageView');\n\u003c/script\u003e\n\u003cnoscript\u003e\n \u003cimg height=\"1\" width=\"1\" style=\"display:none\"\n src=\"https://www.facebook.com/tr?id=1234567890123456\u0026ev=PageView\u0026noscript=1\"/\u003e\n\u003c/noscript\u003e\n\u003c!-- End Facebook Pixel Code --\u003e\n"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Look for this line:"]},{"$$mdtype":"Tag","name":"Fence","attributes":{},"children":["fbq('init', '1234567890123456');\n"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Copy the ID (example: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1234567890123456"]},") and paste it into the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Identifier"]}," field on the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://app.pxl.to/assets#pixels"},"children":["Pixel page"]},"."]},{"$$mdtype":"Tag","name":"h3","attributes":{"id":"google-tag"},"children":["Google Tag"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Google Ads tag has been replaced by the newer Google tag. To set up remarketing, you'll need to add the Google tag on your website. However, if you still want to set up the Google Ads tag, jump to the next section."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To set up a remarketing audience with the Google Tag for Pxl, do the following:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://ads.google.com/"},"children":["Google Ads account"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Tools"]}," in the left sidebar"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Google tag"]}," section, you will see a default tag"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Manage"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A window opens, now choose ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Installation instructions"]}," and then ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Install manually"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You are now presented with code similar to this:"]},{"$$mdtype":"Tag","name":"Fence","attributes":{},"children":["\u003c!-- Google tag (gtag.js) --\u003e\n\u003cscript async src=\"https://www.googletagmanager.com/gtag/js?id=AW-12345678901\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n\n gtag('config', 'AW-12345678901');\n\u003c/script\u003e\n"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Look for this line:"]},{"$$mdtype":"Tag","name":"Fence","attributes":{},"children":["gtag('config', 'AW-12345678901');\n"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Copy the ID including the prefix (example: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AW-12345678901"]},") and paste it into the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Identifier"]}," field on the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://app.pxl.to/assets#pixels"},"children":["Pixel page"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Due to Google's processing time, you may not see your hits recorded immediately."]},{"$$mdtype":"Tag","name":"h3","attributes":{"id":"google-ads"},"children":["Google Ads"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To set up a remarketing audience in Google Ads for Pxl, do the following:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://ads.google.com/"},"children":["Google Ads account"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Tools"]}," in the left sidebar"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Shared library"]}," and then choose ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://ads.google.com/aw/audiences/management"},"children":["Audience manager"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the center top menu, choose ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Your data sources"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Google Ads tag"]}," card, click ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Details"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If you have not yet set up the remarketing tag, click ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Set up tag"]},"and follow the process"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Scroll down and expand the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Tag setup"]}," section"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Scroll down further and select ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Install the tag yourself"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copy the ID ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["without"]}," the prefix (example: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["12345678901"]},") and paste it into the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Identifier"]}," field on the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://app.pxl.to/assets#pixels"},"children":["Pixel page"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Due to Google's processing time, you may not see your hits recorded immediately."]},{"$$mdtype":"Tag","name":"h3","attributes":{"id":"google-analytics-ga-4"},"children":["Google Analytics (GA4)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Below are the instructions to add Google Analytics to Pxl. Please note that Google is now only supporting Google Analytics 4, as Universal Analytics has been deprecated."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To set up a Google Analytics (GA4) tag for Pxl, do the following:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sign in to your ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://analytics.google.com"},"children":["Analytics account"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the bottom left corner, click ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Admin"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the menu on the left side, choose ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Data collection and modification"]}," and then ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Data streams"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Now either click on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Add stream"]}," \u003e ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Web"]}," or choose an existing Web stream by clicking on it"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On the right, you will now see a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Measurement ID"]}," (example: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["G-12C45F78I"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copy the ID including the prefix (example: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["G-12C45F78I"]},") and paste it into the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Identifier"]}," field on the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://app.pxl.to/assets#pixels"},"children":["Pixel page"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Due to Google's processing time, you may not see your hits recorded immediately."]}],"frontmatter":{"title":"Retargeting \u0026 Tracking","description":"Grow your audience with every click by embedding retargeting pixels in every link you share. Supports Meta, LinkedIn, Google, Twitter and more."},"file":{"path":"/docs/retargeting.md"}}},"__N_SSG":true},"page":"/docs/retargeting","query":{},"buildId":"PkQ8gH5vl9Ff98ShyLQes","isFallback":false,"gsp":true,"scriptLoader":[]}</script></body></html>