Deep links for fitness and wellness apps
Fitness and wellness apps grow when people bring a friend into a plan, a challenge or a class. A WarpLink invite link names the inviter, opens the app on that plan, and carries the invitation through the install, so the new member starts on the shared challenge and not on a blank sign-up.
How it works
Make an invite link per member
Create a link whose destination is the invite screen for that member, such as a workout buddy or a team challenge. Turn on the referral option if you want to credit the inviter.
Link challenges and classes
Create a link for each challenge, class or program and share it in messages, newsletters and posts. The destination is the screen for that item.
Print codes at the studio
Put a QR code at the front desk, on the wall or on a flyer, with one link per location so the report can tell studios apart.
Open on the shared plan
With the SDK in your app, the first launch reads the link and routes to the challenge or plan the invite named. Keep a generic welcome for everyone else.
Credit the inviter
After the new member signs up, claim the referral with your own id for them. Your webhook then grants the reward, whatever it is in your app.
Watch what works
The report shows clicks and installs per link, and the Referrals report shows invites by inviter, so you can see which challenges and studios bring people.
Create a challenge link and open it on first launch
// A link to a 30-day challenge. It stops redirecting when the challenge ends.
const response = await fetch("https://api.warplink.app/v1/links", {
method: "POST",
headers: {
// API key from Keys > API
Authorization: "Bearer wl_live_YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
app_id: "3f9a1c2e-6b7d-4e1a-9c2f-8a5b1d0e7c44",
slug: "spring-30-day-plank",
destination_url: "https://fit.example/challenges/spring-30-day-plank",
utm_source: "studio-flyer",
utm_campaign: "spring-challenge",
expires_at: "2027-04-30T23:59:59Z",
}),
});
const link = (await response.json()) as { short_url: string };import WarpLink
WarpLinkPasteButton { result in
guard case .success(let link) = result, let link else { return showGenericWelcome() }
// The destination you set on the invite link, for example https://example.com/invite/ana
showWelcome(invitedBy: link.destination)
}WarpLink.configure(
context = this,
// SDK key from Keys > SDK
apiKey = "wl_live_yoursdkkeyhere000000000000000000",
options = WarpLinkOptions(onLink = { result ->
result.onSuccess { deepLink ->
// The destination you set on the invite link, for example https://example.com/invite/ana
showWelcome(invitedBy = deepLink.destination)
}
})
)import { WarpLink } from '@warplink/react-native'
// The person pastes the invitation into a field on your onboarding screen.
const link = await WarpLink.redeemInvitation(pastedText)
if (link) {
// The destination you set on the invite link, for example https://example.com/invite/ana
showWelcome({ invitedBy: link.destination })
} else {
showGenericWelcome()
}import 'package:warplink_flutter/warplink_flutter.dart';
// The person pastes the invitation into a field on your onboarding screen.
final link = await WarpLink.redeemInvitation(pastedText);
if (link != null) {
// The destination you set on the invite link, for example https://example.com/invite/ana
showWelcome(invitedBy: link.destination);
} else {
showGenericWelcome();
}What you get
- Linking
- Invite, challenge and class links that open the right screen in the app, or the store page for someone who has not installed it.
- Attribution
- Installs that follow a tap on a WarpLink link, in any channel, are matched to the invite, and a claimed referral credits the inviter.
- Analytics
- Clicks and installs per challenge, class or studio link, and a Referrals report by inviter.
Common questions
Can an invite link open a specific challenge?
Yes. The destination is a path in your app, such as the challenge screen. The SDK returns it on first launch so you can route to it.
How do I reward the person who invited?
Create the link as a referral link, claim the referral after the new member signs up, and let your webhook grant the reward. WarpLink records the claim and signs the event.
Can studios have their own codes?
Yes. Make one link per location and print its code there. The link report shows taps and installs for each.
What does a new member see without an invite?
Your normal welcome. Build that path first and treat the invite as an improvement on it.
Can a link open a class booking screen?
Yes. Set the destination to the booking path in your app. Someone without the app goes to the store page and then to that screen on first launch.