Transformer

How does the Transformer.gg pixel track conversions?

The Transformer.gg pixel is a snippet a brand pastes on every page of its site. When a visitor arrives from a creator's tracked link, it keeps the click id in a first-party cookie for 30 days, sends a PageView on every page, and lets the site send events such as SignUp and Purchase, so each offer shows the post's numbers next to clicks, sign-ups and sales.

Updated November 17, 2026

How do you install the Transformer.gg pixel?

Paste two lines before </head> on every page. The first lets your code call tf(…) before the script has loaded. Your real brand id and a ready-made copy are on the Tracking page in your brand menu, and an AI agent can get the same snippet with the tracking_snippet MCP tool. From Transformer.gg's tracking docs:

<script>window.tf=window.tf||function(){(window.tf.q=window.tf.q||[]).push(arguments)};</script>
<script async src="https://transformer.gg/t.js" data-brand="YOUR_BRAND_ID"></script>

Each accepted offer has a tracked link. A follower who taps it lands on your site with ?tf_click=… in the URL, and the pixel keeps that id in a cookie on your own domain, so the visitor stays credited to the creator for 30 days. It sends a PageView on every page, including route changes in single-page apps.

Which events can you send?

After the moments that matter, call tf("track", …). Value and currency are optional:

tf("track", "SignUp", { orderId: "user-123" });
tf("track", "Purchase", { value: 49.99, currency: "USD", orderId: "A-1001" });
tf("track", "StartedTrial"); // your own event name
  • Standard events: PageView, SignUp, Lead, AddToCart and Purchase.
  • Your own events: any name of letters, digits and underscores, up to 40 characters, with up to 50 custom names per brand.
  • Limits: up to 50 events per tracked click per day, 4 KB per event, and a daily cap on events from visitors who didn't come through a creator's link.

Send an orderId with sign-ups and purchases. The same order sent twice, by the pixel, your server or both, counts once. Events show up live on the Tracking page, with counts for the last 24 hours.

Does the pixel decide what creators are paid?

No. Anyone can send browser events, so the pixel never moves money. Commission sales are paid only from conversions the brand's server reports, and purchase values that only the pixel reported are shown separately, marked as not confirmed. For a commission deal, report the paid order from your backend with the click id; see how Transformer.gg attributes clicks and sales.

How do you send events from a server?

The same events can be sent with POST /api/v1/events and a brand API key, or by an agent with the track_event MCP tool. It's the reliable path when a browser blocks scripts:

curl https://transformer.gg/api/v1/events \
  -H "Authorization: Bearer $TRANSFORMER_API_KEY" -H "Content-Type: application/json" \
  -d '{"type":"Purchase","clickId":"<tf_click>","value":49.99,"currency":"USD","orderId":"A-1001"}'

If the server and the pixel both report the same order, the server's copy wins. Keep the API key on the server, never in page code. See the Transformer.gg CLI and API.

What does a brand see on each offer?

The post's numbers over time next to the clicks, the visitors the pixel saw, sign-ups, purchases, revenue and the return on the post, from the click to the sale. That lets a brand compare creators by what their posts did on its own site, not just by follower count. To start, see Transformer.gg for brands.

What about the older 1×1 image pixel?

Before this pixel, Transformer offered a 1×1 image for per-creator landing pages such as yourbrand.com/x/<handle>. It still works and counts each load as a visit, but it only counts visits. Transformer recommends the new pixel for new sites.

Frequently asked questions

Does the Transformer.gg pixel use third-party cookies?

No. It keeps the click id in a first-party cookie on the brand's own domain, for 30 days.

Can the Transformer.gg pixel alone trigger a commission payment?

No. Commission sales are paid only from conversions the brand's server reports. Purchases seen only by the pixel are shown as not confirmed.

Will a purchase count twice if both the pixel and my server send it?

No, as long as both send the same orderId. It counts once, and the server's copy wins.

Can an AI agent set up Transformer.gg tracking?

Yes. The tracking_snippet MCP tool returns the brand's snippet, and track_event sends events from a server.