Form not recognizing web page URL | Community
Skip to main content
Kim_Koserski
Level 2
June 19, 2018
Question

Form not recognizing web page URL

  • June 19, 2018
  • 2 replies
  • 5296 views

Hello! We're encountering an issue with a form on one of our web pages. I want to switch it to a global form, but am unable to because the form isn't recognizing what URL it's being filled out on. In the activity log, Marketo populates the Interesting Moment with: "Filled Out Form: (campaign.name) on" (where usually the URL would follow), and 'Fill Out Form' with the webpage ID = 0 and the referrer URL = blank.

Has anyone ever experienced this error before or could point us in the right direction to investigate potential solutions?

This is the page and form in question: https://www.vidyard.com/platform/personalized-video/

Let me know if I can clarify anything.

Thank you.

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

2 replies

Grégoire_Miche2
Level 10
June 20, 2018

hi Kim,

How is your interesting moment populated? In other terms, the issues is likely in the smart campalign rather than in the page itself.

can you display here the smart list and flow of the smart campaign that creates the IM?

-Greg

Kim_Koserski
Level 2
June 20, 2018

Certainly!

Smart List = Fills out Form (trigger)

Interesting Moment Type = Web, Description = "Filled Out Form: {{trigger.Name}} on {{trigger.Web Page}}"

This smart campaign works for all our other forms except this one, which leads me to believe it's something to do with the coding on the page.

Cheers,

Kim

SanfordWhiteman
Level 10
June 20, 2018

The form on that page is not a Marketo form, Kim.

It's a custom form that posts to your server and then is relayed to Marketo, presumably via the /save2 endpoint (no idea why it's set up this way as it reduces your capacity to handle inbound form posts to only 30/minute across the whole instance).

So while the backend code (PHP, I can tell!) is getting the URL, it's not passing it properly to Marketo. You can't fix that on the client side.

Kim_Koserski
Level 2
June 21, 2018

Thanks for the reply Sanford. You are 100% correct. We were able to discover that issue and have our dev update the code to push the URL manually.

Here is what he did in case anyone encounters the same issue in the future:

"If you need to use Marketo webhooks to send data to Marketo via POST and the form needs to be a global form, you won't have any information regarding which page the form is being filled out on. A solution is to create a hidden field called "_mktoReferrer" inside your webhooks form to manually fill out and send the current page URL to Marketo."

SanfordWhiteman
Level 10
June 21, 2018

OK, if you could mark my answer as correct, thanks...