Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Issue with Marketo Forms getting duplicated when using VEC

mhomaid
Level 1
Level 1

Hi, 

Have you guys had issues with Marketo Forms getting duplicated again and again? Here are the steps I am doing:

  1. One the page -> Highlight a container -> Remove item
  2. Insert Element ( section that has text + image + Marketo Form)

Once that is done. When I try to preview Experience B in preview mode I get javascript errors and the Form keeps getting duplicated 3-4 times. Here is an example: http://www.purestorage.com/microsites/gartner-mq-2016.html?at_preview=9MN7ShlCED5r3NouKnAV7CPcuGP0Cw

1 Accepted Solution
ParitMittal
Correct answer by
Level 10
Level 10

Hi Homaid,

The behavior of the inserted element depends on the structure of your page, your CSS, and other page configuration options

Please see the below link to figure out & Debug scenarios to show how changes made to your page affect Target's ability to display an experience.

https://marketing.adobe.com/resources/help/en_US/target/target/c_vec_scenarios.html

Regards

Parit Mittal

View solution in original post

4 Replies
ParitMittal
Level 10
Level 10

Hi ,

 We have debugged the issue at our end and the problem seems to be with Script Loading Marketo forms (forms2.min.js) .

Can you please confirm whether you are getting same Javascript errors on the live website as well once you activate the Activity ?

Thanks & Regards

Parit Mittal

mhomaid
Level 1
Level 1

ParitMittal wrote...

Hi ,

 We have debugged the issue at our end and the problem seems to be with Script Loading Marketo forms (forms2.min.js) .

Can you please confirm whether you are getting same Javascript errors on the live website as well once you activate the Activity ?

Thanks & Regards

Parit Mittal

 

 

Hi Parit,

Thanks so much for looking at this issue. Yes, we have seen the forms2.min.js issue on the optimized (Experience B) version of the targeted content. Even if we use the same exact content. Somehow, the Insert Element seems to either change or break form and make the form js not able to find the form name.

Thanks in advance,

Homaid

ParitMittal
Correct answer by
Level 10
Level 10

Hi Homaid,

The behavior of the inserted element depends on the structure of your page, your CSS, and other page configuration options

Please see the below link to figure out & Debug scenarios to show how changes made to your page affect Target's ability to display an experience.

https://marketing.adobe.com/resources/help/en_US/target/target/c_vec_scenarios.html

Regards

Parit Mittal

View solution in original post

ParitMittal
Level 10
Level 10

Hi Homaid,

Is the above issue resolved?

Thanks & Regards

Parit Mittal