Can "Not You?" functionality only be enabled with js? | Community
Skip to main content
keithnyberg
Level 7
January 18, 2017
Solved

Can "Not You?" functionality only be enabled with js?

  • January 18, 2017
  • 2 replies
  • 5397 views

Hi All,

I'm looking for a way to enable the "Not You?" link on our forms and all discussions related to enabling this require the use of js or jQuery. As I am not proficient in coding, I am wondering if anyone has found other ways to enable this. If not, looking for an up to date guide on how to do this with js and maybe some follow-up assistance. Lastly, should this be used all webforms? Or just in places like the Subscription Center/Unsubscribe?

Sincerely,

Keith Nyberg

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

@Sanford Whiteman​ - tagging you to ensure you saw my request for assistance above regarding enabling "Not You?" on forms without using "If visitor is know" function.


@Keith Nyberg​​ check out Marketo Forms Patterns: The “Not You?” session regen link

2 replies

SanfordWhiteman
Level 10
January 18, 2017

The "Not You?" (session regeneration) link is automatically inserted if you use Known Lead HTML ("If known lead, use custom HTML" in Form Editor).

It always uses JavaScript.  There is no way to simulate the same behavior without JS.

keithnyberg
Level 7
March 13, 2017

Hey @Sanford Whiteman,

Where do I insert the JS to enable this? And can you provide me with the JS to accomplish this?

Not sure if this JS should be added into the LP HTML or the Form Rich Text (using forms 2.0 from landing pages). My JS skills are like zero on a scale of 1-10 so any guidance you can provide is very appreciated.

October 6, 2017

@Keith Nyberg@Keith Nyberg​

Check out this code:

NOT-YOU.html

github.com/yanirclsr/MarTech/blob/master/Not-You/NOT-YOU.html

SanfordWhiteman
Level 10
October 6, 2017

You don't want to delete all cookies, though, Yanir. That wouldn't be expected behavior. Just the _mkto_trk has to go.

Also, you need to remove the aliId and mkt_tok from the URL before reloading, or you'll be back where you started!

October 7, 2017

Thanks for the feedback @Sanford Whiteman​.

I've updated the script to support clearing MKTO cookies only and also added a functionality of removing all or mkto only URL params:

NOT-YOU.html