앱을 여는 이메일 링크
이메일 플랫폼은 클릭을 집계하려고 모든 링크를 감싸고, 그 결과 링크를 누르면 브라우저가 열려요. Tolinku를 사용하면 클릭은 그대로 집계하면서 링크가 가리키는 화면, 즉 주문, 상품, 혜택 화면을 열 수 있어요.
- SendGrid, Amazon SES 및 Braze
- Klaviyo, Iterable, Salesforce Marketing Cloud 및 Customer.io
- 이메일 플랫폼에서 클릭을 한 번 집계
-
탭SendGrid로 발송한 Pantry의 주간 이메일이에요. 버튼은 links.pantry.app/product/42로 연결되고 universal="true"로 설정되어 있어 SendGrid가 Pantry의 클릭 도메인에서 /uni/ 링크로 감싸요.
-
휴대폰에서 Pantry가 열려요click.email.pantry.app은 Tolinku를 가리키고, Tolinku는 해당 도메인에 Pantry의 연결 파일을 제공해요. 파일에는 /uni/*만 등록되어 있어 휴대폰에서 앱이 열려요. 구독 취소 링크와 다른 모든 링크는 브라우저에서 열려요.
-
SDK가 링크를 풀어요Pantry는 누른 주소를 links.resolve에 전달해요. Tolinku는 리디렉션을 따라가지 않고 SendGrid에 한 번만 요청해 링크가 어디로 연결되는지 확인해요. SendGrid는 클릭을 집계하고 /product/42로 응답해요.
-
Pantry에서 상품 화면이 열려요/product/42는 Pantry의 상품 페이지 경로라서 앱에 귀리가 표시돼요. 다른 링크를 열 때와 같아요. SendGrid 보고서에는 이전과 마찬가지로 클릭 한 번으로 집계돼요.
-
같은 링크를 눌러도click.email.pantry.app이 여전히 SendGrid를 가리키는 같은 이메일이에요. SendGrid는 다른 모든 링크와 마찬가지로 버튼 링크를 자체 추적 호스트의 주소로 감쌌어요.
-
브라우저가 열려요click.email.pantry.app을 연결해 둔 앱이 없어서 휴대폰에서 브라우저가 열려요. SendGrid는 클릭을 집계한 뒤 links.pantry.app/product/42로 리디렉션해요.
-
계속 브라우저에서리디렉션으로 앱이 안정적으로 열리지는 않아서, Pantry가 이미 휴대폰에 설치돼 있어도 사용자는 브라우저에서 핸드오프 페이지를 거쳐 매장으로 이동해요.
-
탭Klaviyo로 발송한 Pantry의 주문 이메일이에요. Klaviyo는 links.pantry.app/order/58240/track 링크를 Pantry의 클릭 도메인인 trk.pantry.app의 추적 주소로 감쌌어요.
-
휴대폰에서 Pantry가 열려요Klaviyo는 Pantry가 한 번 업로드한 Tolinku 생성 파일 두 개를 제공해요. 휴대폰은 trk.pantry.app에 대해 이 파일을 읽고 브라우저가 아닌 앱을 열어요.
-
SDK가 링크를 풀어요trk.pantry.app은 Tolinku가 아니므로 links.resolve는 앱의 공개 가능한 키를 사용해 Tolinku API에 요청해요. Tolinku는 추적 링크를 한 번 요청하고 리디렉션을 따라가지 않으며, Klaviyo는 클릭을 집계해요.
-
Pantry에서 주문 화면이 열려요/order/58240/track은 Pantry의 주문 추적 경로예요. 웹페이지가 아니라 로그인된 사용자의 앱에서 주문이 열려요.
Sample data for a made-up app, Pantry, on a neutral phone. The association files, the requests and the answer are the platform's own; the panel is worded as the dashboard's Domains page words it.
문제
Why a link in an email opens the browser
Email platforms rewrite every link to count the click. The address that gets tapped is the platform's, so the phone has no app to open it with. Most teams give up either the app or the report.
-
The tap lands on the platform's domain
Your link becomes a tracking address on the email platform's click domain. Your app has no claim to that address, so the browser opens it.
click-tracking domain -
The redirect doesn't open the app
The platform counts the click and redirects to your link, but the person is in the browser by then, and a redirect doesn't reliably open an app.
302 -
Turning tracking off empties the report
Without click tracking the links open the app, and the campaign report goes blank.
click tracking -
Unsubscribe has to stay on the web
Claiming the whole click domain would also send unsubscribe and view-in-browser links into the app.
/uni/*
작동 방식
Three steps to emails that open your app
-
Add your click domain
In Domains, choose your email platform and enter its click-tracking domain. Your platform decides which of two ways it works.
- Tolinku handles the domainSendGrid, Amazon SES, and Braze sending with either.
- Your platform hosts the filesKlaviyo, Iterable, Salesforce Marketing Cloud and Customer.io.
-
Prove it, point it, mark your links
A TXT record proves the domain is yours. Then its CNAME moves to Tolinku and the certificate is issued for you. On the other platforms you upload two files Tolinku generates, and nothing changes in your DNS.
-
TXT _tolinku.click.email.pantry.appProves the domain is yours -
CNAME click.email → edge.tolinku.comIt pointed at sendgrid.net. Every other request still goes there -
universal="true"On each link that should open the app
-
-
Update your app
Add the click domain to Associated Domains and an Android intent filter, and pass every link the app opens with to links.resolve. Then play each case in the demo.
Both halves keep working
The app opens, and the report still adds up
Tolinku sits between the tap and your email platform's tracking without replacing it.
-
By your email platform
한 번만 집계
Tolinku asks the platform where a tapped link leads and doesn't follow the redirect, so the platform records the click as it always has. The SDK asks once and never retries.
-
SendGrid and Amazon SES
Only the links you mark
Tolinku claims SendGrid's /uni/ links or your Amazon SES custom path. Unsubscribe, view in browser and open tracking go to your email platform untouched.
-
Proved with DNS
Yours to claim
Tolinku answers on a click domain only once a TXT record proves it's yours, and for one Appspace only: the first to verify it.
The click domain click.email.pantry.app
As its setup steps in Domains show it
- 통과 Ownership Verified with the TXT record _tolinku.click.email.pantry.app
- 통과 DNS The CNAME points at edge.tolinku.com, not sendgrid.net
- 통과 SSL The certificate is issued for you
-
통과
apple-app-site-associationLists /uni/* for 7XQ2K9LM4P.app.pantry.ios -
통과
assetlinks.jsonServed for app.pantry.android
활동 로그
- Verified ownership of the email click domain click.email.pantry.app Tony Mensah
- Added the email click domain click.email.pantry.app Tony Mensah
- Added the email click domain trk.pantry.app Ana Souza
개발자용
One call in your app, two files on the domain
The app hands every link it opens with to the SDK. Tolinku serves or generates the files that let the phone open the app from the click domain.
- One call for every link
- links.resolve takes any link the app opens with: an email link, a short link or a plain one. It returns the route, the token and the path, or nothing, and never throws.
- Asked once, never retried
- The SDK asks the link's own host, then Tolinku's API with your publishable key, only when that host isn't Tolinku. Each has 5 seconds. A retry would count the click twice.
- Only the paths you mark
- On a domain Tolinku handles, the iOS file lists SendGrid's /uni/* or your Amazon SES custom path, and Android needs the same prefix in an intent filter of its own.
- SDK 0.8.2 or later
- On iOS, Android, React Native, Flutter and the web SDK in Capacitor or Cordova. People on an older version of your app get the browser, as before.
func handle(_ url: URL) async {
if let link = await Tolinku.shared?.links.resolve(url) {
route(link.deepLinkPath) // for example /product/42
} else {
// Not a link Tolinku could resolve: fall back to your own handling.
}
}
lifecycleScope.launch {
val link = Tolinku.links.resolve(uri.toString())
if (link != null) {
route(link.deepLinkPath) // for example /product/42
} else {
// Not a link Tolinku could resolve: fall back to your own handling.
}
}
{
"path": "/uni/ls/click",
"url": "https://click.email.pantry.app/uni/ls/click?upn=u001.Kq7Z"
}
200 OK
{
"route": {
"prefix": "product",
"name": "Product pages",
"template": "none",
"link_type": "dynamic"
},
"token": "42",
"deep_link_path": "/product/42",
"appspace": {
"name": "Pantry",
"slug": "pantry"
}
}
{
"applinks": {
"apps": [],
"details": [
{
"appID": "7XQ2K9LM4P.app.pantry.ios",
"paths": [
"/uni/*"
]
}
]
}
}
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https"
android:host="click.email.pantry.app"
android:pathPrefix="/uni/" />
</intent-filter>
자주 묻는 질문
Which email platforms does it work with?
SendGrid, Amazon SES, and Braze when it sends through either: Tolinku handles the click domain. Klaviyo, Iterable, Salesforce Marketing Cloud and Customer.io host the files on their own domain, and Tolinku generates them. Mailchimp doesn't offer a click-tracking domain of your own and OneSignal email isn't supported. A platform that isn't listed isn't supported yet.
Will clicks be counted twice?
No. When the app opens, Tolinku asks your email platform where the link leads and doesn't follow the redirect, so the platform records the click once, in its own reports. The SDK asks once and never retries. Customer.io doesn't wrap app links, so Tolinku reports the click to Customer.io for you.
Do unsubscribe links and open tracking still work?
Yes. With SendGrid and Amazon SES only the links you mark open the app: universal="true" links, or links with your Amazon SES custom path. Every other request to the domain, unsubscribe and view in browser included, goes on to your email platform as it came.
What should the links in my emails point at?
Your Tolinku links, such as links.pantry.app/order/58240/track. Tolinku turns the tapped address back into that link, then into its route. A link to a page that isn't one of your routes comes back empty, and the app falls back to its own handling.
What if the person doesn't have the app?
The phone opens the link in the browser, your email platform counts the click and redirects to your Tolinku link, and that link does what it always does: your landing page or the store, then the same screen on the first launch after the install.
What does my app need?
Tolinku SDK 0.8.2 or later with your publishable key, the click domain in Associated Domains on iOS and in an intent filter of its own on Android, and every incoming link passed to links.resolve. Release the update before you send emails that rely on it.
어떤 플랜에 포함되나요?
Paid plans and the trial. An Appspace can have up to 20 email domains. If the plan lapses, links on a domain Tolinku handles open in the browser again, still work and are still counted. Where your platform hosts the files, the app still opens but gets no answer, and falls back to its own handling.
Why does App open attribution matter?
Set to Always, Tolinku keeps links away from the phone so every tap is counted before the app opens, and email links then stay in the browser too. The domain's setup steps say so when that's the case.
I use Cloudflare for DNS. Anything to change?
Set the CNAME to DNS only (grey cloud), as you would for a custom domain. And with SendGrid, don't validate the link branding again after the change: SendGrid would report the new record as wrong, and it's fine as it is.
Can I stop using it?
Yes. Point the CNAME back at your email platform first, then remove the domain in Tolinku. Emails you've already sent keep using the click domain, so removing it while it still points at Tolinku would break their links.
Send an email that opens your app
Add your click domain, update your app, and tap a link in a real email before the campaign goes out. Email links are on paid plans and the trial.