Marketo form follow up external URL to open in new window | Community
Skip to main content
Level 2
Sep 16, 2019 6:15 AM UTC
Solved

Marketo form follow up external URL to open in new window

How do I get my Marketo form follow up external URL to open in new window. I have tried a few codes and I can't seem to get it work correctly. I have 3 options depending "external URL's" it may open in depending on a selection by the user. Currently it opens in a the same window. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Sep 16, 2019 7:12 AM UTC

yes however, how do I put in variable URL's in this code? Can you please provide an example?


You replace the quoted string

  "http://whatever.example.com"

with the exact text

  thankYouURL

as noted above.

There's nothing more to it; it's replacing a quoted string with an unquoted variable name.

9 replies

Level 2
Sep 16, 2019 6:36 AM UTC

Thanks for the reply.

I have tried this code already however the target links overrides the logic in the form External URL logic. There are currently 3 options for external links.

Translate
SanfordWhiteman
Level 10
Sep 16, 2019 6:52 AM UTC

The variable

  thankYouURL

is the value of the Advanced Thank You Page, as decided using the options in Form Editor. Merely use that instead of a hard-coded value.

Translate
Level 2
Sep 16, 2019 6:58 AM UTC

So what do I need to change in the below code so  the target URL is what is the form editor? 

Translate