All integrations

Next.js logo

Next.js Server-Side Tracking

Send every app conversion to your ad platforms from the server. No tag manager, no code.

Send every app conversion to your ad platforms from the server. No tag manager, no code.

Add one snippet with next/script in your root layout, connect Meta, Google Ads, TikTok and the rest, and PixelFlow sends your data via browser & server automatically

Add one snippet with next/script in your root layout, connect Meta, Google Ads, TikTok and the rest, and PixelFlow sends your data via browser & server automatically

LIVE CONNECTIONBrowser + server
Next.js
Google Ads logo
Snapchat logo

Why send Next.js conversions server-side?

Why send Next.js conversions server-side?

Why send Next.js conversions server-side?

Server-side tracking sends data back to your ad platform in a way that can't be blocked, unlike the standard Pixel which loads in the browser and can be blocked by adblockers, iOS and browsers.

Sending more (and better) data to your ad platforms helps them understand who your ideal customers are, and show your ads to more of them.

Server-side tracking sends data back to your ad platform in a way that can’t be blocked, unlike the standard Pixel which loads in the browser and can be blocked by adblockers, iOS and browsers.

Sending more (and better) data to your ad platforms helps them understand who your ideal customers are, and show your ads to more of them.

Up to 40%

more data captured

7

ad platforms from one script

100%

of data sent via browser & server

10 min

to get setup with no developer

What you can track on Next.js.

What you can track on Next.js.

What you can track on Next.js.

Easily setup with point and click or your AI agent

Easily setup with point and click or your AI agent

Forms & opt-ins

Forms & opt-ins

Any form in your app, tagged by clicking it or fired from code.

Any form in your app, tagged by clicking it or fired from code.

Checkouts & purchases

Checkouts & purchases

Your checkout flow or Stripe, with order value.

Your checkout flow or Stripe, with order value.

Button clicks

Button clicks

Tag any button or link by clicking it on your live app.

Tag any button or link by clicking it on your live app.

Bookings

Bookings

Calendly calls, tracked the moment they confirm.

Calendly calls, tracked the moment they confirm.

Page views

Page views

Every page and route change, automatically.

Every page and route change, automatically.

Stripe payments

Stripe payments

Payments, trials and subscriptions, even off your app.

Payments, trials and subscriptions, even off your app.

Sign-ups & memberships

Sign-ups & memberships

Account and course sign-ups.

Account and course sign-ups.

Custom events

Custom events

Anything else: name it and fire it from any trigger.

Anything else: name it and fire it from any trigger.

How to set up server-side tracking on Next.js

How to set up server-side tracking on Next.js

How to set up server-side tracking on Next.js

Three ways to get server-side tracking on a Next.js app. Here is how they compare.

Three ways to get server-side tracking on a Next.js app. Here is how they compare.

Hand-coded pixels
Google Tag Manager
PixelFlow
Ad platforms
Every pixel coded yourself
Any, built by hand
All seven, one script
Deduplication
You write it
Manual event IDs
Automatic, with live log
Bot blocking
No
No
Yes
Logging
No
No
Yes
Customer journeys
No
No
Yes
Attribution
No
No
Yes
Setup
Developer time
Developer, days to weeks
One script, 10 minutes
Hosting & cost
Your own server
~$120/mo server container
Hosted, from $29/mo
AI agent setup
No
No
MCP for Claude, Cursor, ChatGPT

Send conversions from Next.js to your ad platforms

Send conversions from Next.js to your ad platforms

Send conversions from Next.js to your ad platforms

Connect any ad platform in one click. The same trigger feeds each platform’s conversions API, deduplicated with its pixel, so every Ads Manager sees the same purchase once.

Connect any ad platform in one click. The same trigger feeds each platform’s conversions API, deduplicated with its pixel, so every Ads Manager sees the same purchase once.

Set it up with your AI agent.

Set it up with your AI agent.

Set it up with your AI agent.

Connect the PixelFlow MCP server to your agent can set up and install everything. Prefer to build your own custom tracking? Just use our infrastructure and build on top of it.

Connect the PixelFlow MCP server to your agent can set up and install everything. Prefer to build your own custom tracking? Just use our infrastructure and build on top of it.

Setup

FAQ

Next.js tracking questions, answered

Next.js tracking questions, answered

Can’t find the answer you’re looking for? Get in touch and we’ll help you get set up.

It sends your app's conversion events to Meta, TikTok and your other ad platforms from a server, through each platform's conversions API, instead of only from the visitor's browser. Because the request never depends on the browser, it is not stopped by ad blockers, iOS privacy settings or a visitor closing the tab before the pixel fires. PixelFlow sets it up on Next.js without Google Tag Manager or code.

Add the PixelFlow snippet once with next/script in your root layout, deploy, and page views start tracking across route changes. For events tied to backend outcomes use the programmatic trackEvent API.

Yes. PixelFlow tracks checkout and purchase events from Stripe and your own checkout flow with order values included, so every ad platform can optimise for revenue and report accurate ROAS.

Meta, Google Ads, TikTok, ChatGPT Ads, Snapchat, Pinterest and Reddit. One trigger feeds every platform you connect. Standard includes one ad platform and Growth three, with more from $10 a month each, and Agency includes them all.

No. PixelFlow replaces the entire GTM and server container setup. You add one script, tag your events visually, and PixelFlow handles the pixel and the server-side API for every ad platform you add.

All standard events, including Purchase, Lead, Schedule, InitiateCheckout, AddToCart, CompleteRegistration, StartTrial and ViewContent, plus custom events for anything specific to your app. Page views are automatic; buttons, forms and other elements are tagged by clicking them on your live app.

PixelFlow gives each conversion one event ID and sends it twice, once from the browser pixel and once from the server. Each ad platform sees the matching IDs and counts the conversion once, so your reports are not inflated.

Yes. PixelFlow supports consent-aware tracking so events respect your cookie banner, and personal data is hashed before it is sent to any ad platform. A data processing agreement is available.

Yes. Remove your existing pixel code so events are not double counted. PixelFlow fires the Pixel and the Conversions API together with automatic deduplication, so Meta still receives every browser and server event exactly once.

It is the main reason to use it. App Tracking Transparency stops browser pixels firing for a large share of iPhone traffic. A server-side event does not depend on the browser at all, so Meta, Google Ads, TikTok and the rest still receive the conversion.

Smarter, server-side tracking

Start sending accurate conversions today - no tag manager, no code, no developer required.

Compatible with

  • GoHighLevel logo
  • Kajabi logo
  • Next.js logo