Integrate Adjust deep links in SendGrid

When email service providers (ESPs) wrap the deep link URL with their own link, it breaks the iOS universal link. This page explains how you can set up deep links and click recording with your SendGrid account.

Before you begin

To use this feature, you first need to download and set up the Adjust SDK for your platform. Follow the instructions linked below to get started.

⚙️ iOS / Android 

Once you have the Adjust SDK installed and configured, follow the guides linked below to configure deep linking on your app:

📖 iOS / Android

Turn on deep linking with Adjust universal links for SendGrid

SendGrid supports universal links on top of their domain. In this case, you can perform deep linking and click recording.

In SendGrid

  • Complete the link branding process in your SendGrid account following SendGrid's documentation. Choose your click recording domain for serving your apple-app-site-association (AASA) files and redirecting them to Sendgrid. For example link.brand.com.
Note:
Your SendGrid account needs access to modify CNAME of your click recording domain. You also need to have a valid certificate for the click recording domain.

In your server

In your app

Enable Associated Domains for your click recording domains in Xcode. For more information, see Apple's documentation.

Link Resolution

When you run email campaigns, SendGrid wraps all links in the emails with its own click recording redirect URL. This allows you to view click-through statistics in SendGrid. However, if the emails contain Adjust Universal Links, the redirect URL causes iOS to not resolve the Adjust Universal Links properly. You need to use link resolution to solve this issue.

Learn more about how to set up link resolution in the Adjust SDK.

In the email campaign

  • Use your Adjust Universal Link in your SendGrid email project.
  • Make sure to test the integration before launching live email campaigns.

You are all set!