Marketo form follow up external URL to open in new window | Community
Skip to main content
Level 2
September 16, 2019
Solved

Marketo form follow up external URL to open in new window

  • September 16, 2019
  • 2 replies
  • 5224 views

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.
Best answer by SanfordWhiteman

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.

2 replies

SanfordWhiteman
Level 10
September 16, 2019
Level 2
September 16, 2019

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.

SanfordWhiteman
Level 10
September 16, 2019

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.

Level 2
September 16, 2019

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