Email ID as query string parameter | Community
Skip to main content
New Participant
April 10, 2024
Solved

Email ID as query string parameter

  • April 10, 2024
  • 1 reply
  • 2620 views

Hello all - I can't seem to find this answer, so any help is appreciated. I'd like to automatically append the email id (marketo asset email id) to a query string parameter. As it's not available in the field list when creating an Email Script token, does that mean it's impossible? Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

You can use the code here (which should be cross-posted to the official Products blog but I haven’t gotten around to it!).

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
April 10, 2024

You can use the code here (which should be cross-posted to the official Products blog but I haven’t gotten around to it!).

New Participant
April 11, 2024

Thank you, @sanfordwhiteman! I can't say I know exactly how this works even having ChatGPT explain it to me haha.  But with limiting the printed value to ${marketoSend.AssetId}, this works perfectly. 

SanfordWhiteman
New Participant
April 11, 2024

There is quite a lot of special sauce in there for sure.