Ikiugu
Ikiugu

Reputation: 677

Sendgrid doesnt display deeplink like a clickable link

I am trying to send a link via a email (sendgrid templates) but the link does not display as clickable or as a link at all. Here is my intent: intent://myapphere#Intent;scheme=http;package=com.app;end

and here is the link in my sendgrid template:

<a universal="true" href="intent://myapphere#Intent;scheme=http;package=com.app;end">
    Open App </a>

But when this is sent as an email both through the Node v3 api and through sendgrid dashboard, it appears like a text, not like a link. How can I sort this out so that Open App is clickable from the email?

Upvotes: 1

Views: 2283

Answers (2)

Ikiugu
Ikiugu

Reputation: 677

For anyone who was/is trying to figure this out, here is the approach I finally decided to go with.

  1. Create a transactional sendgrid template with all the styling I wanted
  2. Create a button with a placeholder - in this case {{code}}
  3. Use a shortening url service like tinyurl to shorten the url and generate a http link. Finally inject the link into the template and send it to a user via the various API's

Upvotes: -1

jacobmovingfwd
jacobmovingfwd

Reputation: 2273

SendGrid only tracks http:// or https:// as links. the intent:// is not recognized as a link, and won't be tracked.

Upvotes: 1

Related Questions