Re: Check if Known Visitor through Javascript (read cookie) or API call?

Anonymous
Not applicable

Check if Known Visitor through Javascript (read cookie) or API call?

We are using embedded forms (Form 2.0) on our website.

I would like for Known Visitors to bypass the form and see a direct download link to whatever asset they want to view.

What is the best way to go about doing this for a large number of already existing embedded forms?

Can I check to see if they are a Known Visitor through JavaScript (read a certain value from the cookie) or an API call?

Any experiences or best-practices?

Thanks!

1 REPLY 1
John_M
Marketo Employee

Re: Check if Known Visitor through Javascript (read cookie) or API call?

Hi there

If you edit the form and clock settings, you can change what's displayed for a known visitor from "form" to "custom html" You might consider using the same forms where possible unless they all for some reason need to be unique. This is the simplest most reliable solution to this.

Will what work for you?

John

skitch.png