Support branded links

Created on 31 January 2023, over 1 year ago
Updated 24 February 2023, over 1 year ago

Problem/Motivation

Today, there does not appear to be any support for Sendgrid's "link branding" feature.

Now, most of what needs to be set up is within Sendgrid's configuration. You need to create CNAME records in your DNS. You need to verify that the configuration and DNS records are working together properly. Once that is done, there are some changes that need to be made that developers need to be aware of:

  1. If you have any links with hrefs coming from the originating site (mydomain.com) you'll likely need to alter them to exclude both protocol (http://) and subdomain (www.).
  2. For any link that is generated by the system, we also need to exclude both protocol and subdomain.
  3. The goal is to provide a url that is just (mydomain.com/bla/bla/bla) so that Sendgrid can handle the branded links appropriately.

Steps to reproduce

  1. Turn on Sendgrid integration for your site
  2. Properly enable link branding on the Sendgrid side of things
  3. Send an email with links (like a user registration email)

Observe that links appear that the come from sendgrid and not the sending website. This alarms users.

Proposed resolution

Our end goal to have links in emails that have the protocol and subdomain removed. We can do this by:

  • Creating new tokens that have protocol and subdomain removed from them.
  • Alter existing tokens to remove protocol and subdomain if a new setting is checked.

We'll also have to

  • Update sample test email to use them.
  • Update documentation warning users with link branding that they'll have to use different tokens for things.
  • Get a list of all tokens we

Remaining tasks

  • Decide the approach we want to take
  • Write the code
  • Test the code
  • Ship the code

User interface changes

New admin configuration setting enabling the feature.

✨ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cosmicdreams Minneapolis/St. Paul

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024