Email Template altering the link on Button
Hello, for most of my application I am using code first workflows but for my users email confirmation, I decided to go with the simple default layout template.
Here is the setup:
- I have my workflow set up and it's properly triggering the email as you can see in screenshot #1.
- I have my email set up to take the confirmationLink and link it to the button. As you can see in screenshot #2, The confirmationLink is both included as the link to the Button and also I provide the actual URL below the button.
- The issue is with the actual button link in the email. It does not match the confirmationLink. I am guessing that this is some kind of metrics capturing from Novu. If I right click and copy the link from the button this is what it looks like:
and as you can see this is a different subdomain from my actual link:
- When a user clicks via the button, they are brought to a security page as I have not configured this subdomain. See screenshot #3.
I am not sure which is best practice here:
1. Configuring this subdomain with DogitalOcean? If so, I haven't seen any docs in Novu for this particular case.
2. Figuring our a way for the button to actually pass the correct link?



4 Replies
@FredlyFire
Thanks for sharing all the screenshots and all the details. I am checking the issue from our end
@FredlyFire
As per my debugging, we are not adding any metrics link to the button links. and it works as expected.
Could you please share the transactionId for any workflow trigger from activity feed page that is showing this issue?
@Pawan Jain you are completely correct. This is actually SendGrid changing the link to track in-email button clicks. As a quick fix I disabled this for now but if anyone else has this issue, there are other solutions here in the sendgrid docs:
https://support.sendgrid.com/hc/en-us/articles/10143238252571-Troubleshooting-ERR-CERT-COMMON-NAME-INVALID-Error
SendGrid
Troubleshooting “ERR_CERT_COMMON_NAME_INVALID” Error
Issue
When sending HTTPS links through Twilio SendGrid without enabling SSL Click Tracking, customers may notice a page that says “Your connection is not private” with an “ERR_CERT_COMMON_NAME_INVA...
Thanks for the update @FredlyFire 🙌🏻
Hi, I used Novu Dashboard v2 and need help with email notifications. I want to trigger a custom email body from the backend using HTML content. anyone help me.