Skip to main content
Documentation
Tether

Test Tether

Check your Tether setup with a test code that writes no install, click or referral, then read the setup check rows that tell you what to fix next.

You can check Tether end to end before a real customer taps a link. A test code goes through the same SDK read as a real code, and it writes nothing to your analytics.

Open https://YOUR_HANDLE.aplnk.to/test in Safari on an iPhone. The page shows a test code that starts with wl1t_. Tap Copy code. The code works for 15 minutes.

Read the code in your app. In paste button mode, tap the paste button. In automatic mode, delete the app, then install it again and open it. An app whose first-launch check is complete reads nothing. The receipt is ready after that check ends. In on call mode, call the read method.

The SDK sends the test code to WarpLink. It keeps a test receipt.

Show or log the receipt in your app: WarpLink.lastTetherTestReceipt. The SDK forgets it when the app restarts.

Send the receipt to the setup check as tether_test_receipt. An AI agent calls verify_setup with the app and the receipt. With REST, call GET /v1/apps/{id}/setup-check?tether_test_receipt=<receipt> with an API key.

The tether_paste row passes when the receipt is valid for this app. The check accepts a receipt for 1 hour. A test code makes no link, click or install.

Check that the tap marker survives. Comment out the script tag on a test page. The script removes the marker from the address when it reads it. Open a WarpLink link that has Tether on, on an iPhone or in desktop Safari with an iPhone user agent.

When the page has loaded, confirm that wl_rt= is anywhere in the address. If it is not, your site removed it. Put the script tag back. For the causes and fixes, see https://warplink.app/docs/tether/own-page-reference#tap-marker-lost.

The test address

The test address is https://<app host>/test, with your app's link host. It works on the app's <handle>.aplnk.to host. Open it on an iPhone. The page shows a Tether test code and a Copy code button.

A test code starts with wl1t_ and works for 15 minutes. It creates no link, click, install, referral or webhook event. When the SDK reads it, the SDK keeps a test receipt. Show or log the receipt in the same app run, because the SDK forgets it when the app restarts.

Send the receipt to the setup check as tether_test_receipt. The check accepts a receipt for 1 hour. Any request that sends a valid receipt for this app passes, so you can reuse one until it expires.

The setup check

verify_setup and GET /v1/apps/{id}/setup-check return one row per Tether step. Each row has a status of pass, fail, warn, needs_human or skipped, and a fix when one applies. Until a link uses Tether, the rows are skipped, except the paste row and the referral row.

RowPasses whenOtherwise
tether_appTether is available for the appfail, with the reason
tether_sdkEvery iOS, React Native and Flutter SDK call reports 1.4.0 or newerwarn when a call reports an older SDK: update it. skipped until such a call arrives
tether_linkAt least one link uses TetherNever fails. skipped until a link uses Tether
tether_scriptThe page script ran on a sitewarn: add the script tag to the page that links to the store and load it once
tether_fallbackEach Tether link has an iPhone fallback addresswarn: set an iOS fallback URL on each link or on the app
tether_query_preservedEach site kept the link's address fragmentwarn: keep the address fragment on the redirect to your page
tether_allowed_siteEach site that ran the script is allowedwarn: add the site to the app's allowed sites, or remove the script
tether_hosted_pageThe hosted page is onNever fails. skipped when the hosted page is off
tether_storeWith the hosted page off, the app has an App Store address. With it on, each Tether link has an App Store page, from its own iPhone destination or from the app addressfail: set the iOS App Store URL on the app, or point each link at an App Store page
tether_pasteThe receipt is valid for this appfail: the fix names the reason. With no receipt, skipped before a link uses Tether and needs_human after
tether_referral_iosiPhone invitations can use Tetherwarn when invitations are paused. skipped when the referral handoff is off

When the hosted page is on, the script, fallback, query and allowed site rows are skipped, because that page needs none of them. When your own page is in use, the hosted page row is skipped.

Stop when only people can finish

Only a phone can read a test code. With no receipt, tether_paste is needs_human once a link uses Tether, and its fix names the exact step. An agent reports this to you instead of retrying.

The check only reads your setup. Run it as often as you like, in Test mode or Production.

Next steps

  • Results to read real taps once they arrive
  • AI Agents to let an agent run these checks
  • Errors for the Tether error codes