We have an issue with rendering tracking URLs in emails for some content pages.
The result is that a URL comes broken in the email body.
Replicating the issue
The content structure is as follows:
-
First root is the main site, with a domain assigned, eg, mydomain.com
-
The second root is a business site, with a domain, eg, mydomain.com/business
We have several email templates, both campaign and transactional, where we insert links to business site pages, eg, pages of the secondary root with a separate domain as above.
Each time we insert a content page URL in the email body (Content > Text control), it looks correct in the Text control’s code view:
/{localLink:umb://document/4dd37182719c478ea56b1e4fa72a59ff}
as the anchor’s href value. The URLs render correctly in the preview tab.
However, in the email, it comes as a broken link (anchor with empty href).
Hacking the issue
Since the beginning, we have gone around this by inserting URLs manually, which means, instead of selecting the relevant content node when inserting the link, we just fill in the Link field with the full page URL we want to link to. This can obviously lead to mistakes.
As we are getting more and more email templates, this becomes more difficult to control.
Solution?
Is there anything that could be done to fix it?
Versions
Umbraco version 13.2.1
Newsletter Studio version 13.0.16






