{{system.unsubscribeLink}} Not Resolving Inside Dynamic Token Content Sent via Smart Campaign API
Hi Marketo Community,
We are triggering Smart Campaigns via the Marketo API and sending dynamic HTML/RTF content through tokens.
Our dynamic token content includes the standard Marketo system unsubscribe token:
{{system.unsubscribeLink}}
However, when the email is delivered, this token does not get resolved and shows up as raw text instead of being replaced with the actual Marketo unsubscribe URL.
Use Case
-
We generate a lot of HTML content on our side
-
The content already contains our own unsubscribe link
-
We want Marketo to reliably replace it with the correct Marketo unsubscribe URL at send time
-
Since content is dynamic, we inject different HTML blocks via tokens
Problem
It seems Marketo does not support nested token resolution (system tokens inside other token values).
Question
Is there any supported way to:
-
Insert or replace a custom variable in our token content with
{{system.unsubscribeLink}} -
Force Marketo to resolve system tokens inside injected token-based HTML
-
Or handle unsubscribe links correctly when sending dynamic content via API?
Any guidance or best practices would be really appreciated.
Thanks!