App Router & Server Components
TypeScript & ESM support
Server Actions & API Routes
Zero performance impact
Full support for Next.js 13+ App Router. Works seamlessly with Server Components, Client Components, and Route Handlers.
Async script loading with strategy="afterInteractive". <5KB gzipped, doesn't block rendering or affect Lighthouse scores.
Track conversions from API routes and server actions. Full SSR support with automatic cookie handling.
React Server Component compatible. No hydration issues, proper client/server boundary handling.
Fully typed SDK with TypeScript definitions. Autocomplete for all tracking methods and conversion events.
Track clicks, conversions, and revenue in real-time. 12-month data retention with detailed performance insights.
Add to root layout for automatic click tracking
// app/layout.tsx (or pages/_app.tsx)
import Script from 'next/script'
export default function RootLayout({ children }) {
return (
<html>
<body>
{children}
<Script
src="https://www.linkjolt.io/api/tracking.js?id=YOUR_MERCHANT_ID"
strategy="afterInteractive"
/>
</body>
</html>
)
}Track from API routes or Server Actions
// app/success/page.tsx (thank-you page)
'use client'
import { useEffect } from 'react'
export default function SuccessPage({ searchParams }) {
useEffect(() => {
// Manual conversion tracking
if (typeof window !== 'undefined' && window.linkjolt) {
window.linkjolt.trackPurchase(amount, { orderId })
}
}, [])
return <div>Thank you for your purchase!</div>
}
// OR use Stripe/Paddle webhooks for automatic tracking (preferred)

Henry
Founder at multiple startups
Choose the perfect plan for your business. Start with a 3-day free trial.
No hidden fees
Cancel anytime
0% transaction fees
Up to $5,000/month earned from affiliates
5 active campaigns
50 affiliate invites per month
10 active affiliates
Advanced analytics (3-month data retention)
Email support
Standard affiliate tracking
Fraud detection system
Stripe payout integration
Unlimited campaigns
Unlimited affiliate invites
Unlimited affiliates
Custom commission structures
Bulk payouts
Up to $25,000/month earned from affiliates
Unlimited active campaigns
Unlimited affiliates
Unlimited affiliate invites
Advanced analytics (12-month data retention)
Priority chat and email support
Advanced affiliate tracking
Enhanced fraud detection
Stripe payout integration
Custom commission structures
Auto-approve affiliates option
Bulk payouts
Up to $100,000/month earned from affiliates
Unlimited active campaigns
Unlimited affiliates
Unlimited affiliate invites
Advanced analytics (12-month data retention)
Priority chat and email support
Advanced affiliate tracking
Enhanced fraud detection
Stripe payout integration
Custom commission structures
Auto-approve affiliates option
Bulk payouts
Automated payout management
Yes. LinkJolt fully supports Next.js 13+ App Router. Add the tracking script to your root layout using the Next.js Script component with strategy="afterInteractive". The script handles click tracking automatically via cookies and localStorage.
Yes. The LinkJolt tracking script is RSC-safe and works with React Server Components. Add it to your root layout - it runs client-side without causing hydration issues. For conversion tracking, use linkjolt.trackPurchase() on your success page or integrate Stripe/Paddle for automatic webhook tracking.
You have two options: (1) Call linkjolt.trackPurchase(amount, {orderId}) from your thank-you/success page, or (2) Use Stripe or Paddle as your payment processor for automatic webhook-based conversion tracking (recommended). Both methods work with App Router and Pages Router.
No. LinkJolt script is async and loads after interactive using Next.js Script component. It does not block rendering or affect Lighthouse scores. The script is lightweight, uses passive event listeners, and has zero impact on Core Web Vitals or page speed.
For conversions with Stripe or Paddle, LinkJolt automatically tracks via webhooks - no Server Action code needed. The tracking happens server-side through payment processor webhooks that hit LinkJolt directly.
Yes. LinkJolt provides full TypeScript support with type definitions for all tracking methods, conversion events, and API responses. Install @linkjolt/nextjs package for typed integration.
The all-in-one affiliate management platform for SaaS companies.