← All posts

How to Add a Retargeting Pixel to a Short Link or QR Code

· TNY

Quick answer: A normal short link is an instant redirect, so there is nowhere for an ad pixel to run. A retargeting-enabled link instead serves a brief page that fires your Meta or Google pixel and then forwards the visitor on — turning every click or QR scan into someone you can advertise to later.

Why short links cannot normally retarget

When you shorten a URL, a scan or click is answered with an instant redirect straight to the destination. The visitor's browser never loads a page on your shortener's domain, so there is no moment in which a retargeting pixel could execute. That is why a plain short link or QR code cannot build an audience on its own.

How retargeting on a link works

A retargeting-enabled link replaces that instant redirect with a brief interstitial: a near-instant "Redirecting…" page that loads your pixel script, lets it register the visit, and then forwards to the real destination. That sub-second window is all an ad pixel needs to add the visitor to your audience. The page still works without JavaScript and shows a manual link as a fallback.

How to add a Meta (Facebook) pixel

  1. In Meta Events Manager, open your data source and copy the numeric Pixel ID.
  2. In your TNY dashboard, open the Retargeting tab.
  3. Choose Meta (Facebook) Pixel, paste the ID, and save.
  4. Every link you own now fires that pixel when someone clicks or scans it.

How to add a Google tag (Ads / GA4)

  1. Find your Google tag ID, for example AW-123456789 or G-XXXXXXXX.
  2. In the Retargeting tab, choose Google tag and paste the ID.
  3. Save — your links will load the Google tag on each visit.

What you can do with the audience

Once scans and clicks feed your pixel, you can build custom audiences and run retargeting campaigns on Meta or Google — for example, show an ad to everyone who scanned a QR code on your packaging but did not buy. A printed QR code becomes a continuous top-of-funnel source for your ads.

Best practices

  • Only retarget links where an audience is worth building — product and campaign links, not internal redirects.
  • Keep your consent and privacy notices current, since pixels set identifiers.
  • Use a dynamic QR so you can re-point the destination without losing the audience you are building.

Frequently asked questions

Can you put a Facebook (Meta) pixel on a short link?

Yes. On TNY, you attach your Meta Pixel ID to your account, and links served on a retargeting plan briefly load the pixel before forwarding to the destination, adding the visitor to your audience.

Does retargeting slow down the redirect?

Only slightly. The visitor passes through a lightweight page that fires the pixel and forwards automatically, usually in under a second. It also works without JavaScript via a meta refresh.

Does retargeting work with QR codes too?

Yes. A dynamic QR code encodes a short link, so a scan goes through the same retargeting step as a click. Every scan can become part of your ad audience.

Which pixels are supported?

TNY supports Meta (Facebook) Pixel and Google tag (Google Ads / GA4) on the Pro and Team plans.

Do I need consent to use retargeting pixels?

In many regions, yes. Retargeting pixels set cookies or identifiers, so follow your privacy and cookie-consent obligations (such as GDPR) for your audience.

Create a free dynamic QR code

Editable links and dynamic QR codes are free on TNY.

Get started