SOLVED

Re: Email ID as query string parameter

Go to solution
jamespapke
Level 1

Email ID as query string parameter

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!

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Email ID as query string parameter

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

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Email ID as query string parameter

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

jamespapke
Level 1

Re: Email ID as query string parameter

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
Level 10 - Community Moderator

Re: Email ID as query string parameter

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