Non-trackable landing page is still identifying me

Highlighted

Re: Non-trackable landing page is still identifying me

Thx Dan,

I still have a error in the code on the "MktoForms2.whenReady( function(form)" line : Uncaught ReferenceError : MktoForms2 is not defined.

I m using a guide LP. The page is here : inficiences

Thx for any help 🙂

-Greg

Highlighted
Level 10 - Champion Alumni

Re: Non-trackable landing page is still identifying me

Now that I look more closely at our pages, we're getting the same error.  This is the standard code that both Sanford Whiteman​ and Kenny Elkington​ have shared.

Highlighted
Level 10 - Community Moderator

Re: Non-trackable landing page is still identifying me

The code that calls MktoForms2 methods must appear after the forms2.js script is loaded.

Highlighted
Level 10 - Champion Alumni

Re: Non-trackable landing page is still identifying me

So this can't be part of landing page template and instead needs to be manually added to any page that uses a form?

Highlighted
Level 10 - Champion Alumni

Re: Non-trackable landing page is still identifying me

...and if that's the case, how do you force it to appear after the forms2.js script is loaded when we can't alter the placement of those scripts (HTML snippet)?

Highlighted
Level 10 - Community Moderator

Re: Non-trackable landing page is still identifying me

<script>

$(function() {

        MktoForms2.whenReady(function(form) {

                form.addHiddenFields({

                        "_mkt_trk": ""

                });

                form.onSubmit(function(form) {

                        form.vals({

                                "_mkt_trk": ""

                        });

                })

        })

});

</script> 

I hate jQuery but since it's already loaded, that's the easiest way to wrap it up.

Highlighted
Level 10 - Champion Alumni

Re: Non-trackable landing page is still identifying me

pastedImage_0.png

Highlighted
Level 10 - Community Moderator

Re: Non-trackable landing page is still identifying me

Does this LP actually have a form on it?  Can you post the URL?

Highlighted

Re: Non-trackable landing page is still identifying me

Hi Sanford Whiteman​,

The error is gone, thx

But the page is still recognizing me, displaying my lead id (I use a token). The form is empty because I set the fields to not auto fill.

-Greg

Highlighted

Re: Non-trackable landing page is still identifying me

The URL is here :  inficiences Untraced Page

-Greg