Loading...
Loading...
ClickBank-Grade Dynamic HopLinks with Sub-10ms Edge Routing
Generates instant 307 temporary redirects mapped directly to partner codes. Automatically injects and crystallizes a 90-day multi-device cookie into the visitor session.
// Example HopLink Format:
https://amarisbrand.com/go/AMARIS?to=/pricing&subid=youtube_q3
// Server Edge Handler (Sub-10ms):
export async function GET(request: NextRequest, { params }: { params: { code: string } }) {
const affiliate = await resolveAffiliate(params.code);
const response = NextResponse.redirect(new URL(destination, request.url), 307);
response.cookies.set('amaris_ref', affiliate.code, { maxAge: 90 * 86400, path: '/' });
return response;
}Our cookie memory is set for a full 90 days. If the referred client returns directly anytime within 3 months, your partner account is credited with the conversion.
Yes. Append ?to=/path (for instance, ?to=/seo-autopilot or ?to=/content-studio) to send the visitor to any exact section of the platform.