Skip to content

Iterable

Iterable hosts the association files on its link tracking domain. Tolinku generates the files for your app, and you upload them in Iterable. Nothing changes in your DNS. When a link opens your app, the Tolinku SDK asks Tolinku where it leads, and Iterable still counts the click.

For how this works and what it needs, see Email Links.

  • A paid Tolinku plan. Email links aren’t on the Free plan.
  • Your Apple team ID and bundle ID and/or your Android package name and SHA-256 fingerprint in Settings (Configuring iOS, Configuring Android). Tolinku builds the files you upload from these.
  • App open attribution not set to Always (Attributing App Opens).
  • The Admin or Owner role in the Appspace.
  • A link tracking domain set up in Iterable, served over HTTPS.
  1. Go to Domains in the sidebar.

  2. In the Email links card, click Add email domain.

  3. Under Your platform hosts the files, choose Iterable.

  4. In Click-tracking domain, enter your Iterable click-tracking domain, for example links.email.yourapp.com. Nothing changes in your DNS.

  5. Click Add email domain. The setup steps open.

Under Upload these files to your email platform, the setup steps show two files, each with a Copy button:

  • apple-app-site-association, for iOS;
  • assetlinks.json, for Android.

If a file is missing, the step says what to add in Settings first. To upload a file, paste the copied text into a plain text file and save it with exactly that name. The apple-app-site-association file has no extension.

In Iterable, the files belong to a destination domain: the website domain your links point to. Here, that’s your Tolinku link domain, for example links.yourapp.com.

  1. In Iterable, go to Settings > Domains and find your link tracking domain.

  2. Add your Tolinku link domain as a destination domain, if it isn’t there already.

  3. Upload the apple-app-site-association file and the assetlinks.json file for that destination domain.

  4. If your tracking domain isn’t serving its app association files yet, enable them for the destination domain.

Iterable’s guide has the details and the current screens: Configuring deep links for email or SMS.

When you send a campaign, Iterable compares each link with the paths in the uploaded file and rewrites the ones that match as app links. The file from Tolinku covers every path, so every link to your Tolinku link domain opens the app.

Point app links at your normal Tolinku links, on your Tolinku domain:

<a href="https://links.yourapp.com/product/42">See the product</a>

When it’s tapped, Tolinku works out the route from it.

The setup steps in the dashboard end with Add the domain to your app, which shows these lines for your domain.

iOS: in Xcode, under Signing & Capabilities, add the domain to Associated Domains:

applinks:links.email.yourapp.com

Android: add an intent filter for the domain. Give it its own <intent-filter>, so it doesn’t change how your other link domains are matched.

<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="links.email.yourapp.com" />
</intent-filter>

In your code: pass every link your app opens with to links.resolve. It needs Tolinku SDK 0.8.2 or later, configured with your publishable API key.

if let link = await Tolinku.shared?.links.resolve(url) {
route(link.deepLinkPath)
}

When resolve returns nothing, fall back to your own handling. See Set up your app for the full version.

Release the app update before you send emails that rely on it. People with an older version of your app will see links open the browser, as they did before.

Send a test email to a phone that has the new version of your app, and tap a link to your Tolinku domain. The app should open on the right screen. Tapping a link pasted into Safari’s address bar never opens an app, so always test from an email.

Remove the files from Iterable first. Then, in Tolinku, open the domain from the Email links card and click Remove.

If you only remove it in Tolinku, links keep opening your app, but Tolinku no longer says where they lead, so your app falls back to its own handling.

For more questions, see the FAQ.

Was this page helpful?