Marketo is triggered for every behavior, we should likely only do it once.

Comments

RobLoach created an issue. See original summary.

robloach’s picture

StatusFileSize
new1.76 KB
robloach’s picture

Status: Needs review » Reviewed & tested by the community

Running this on a site successfully.

andrew_mallis’s picture

In the context of the Panels In-Place-Editor, marketo forms were loading twice for editors.
Patch solves this problem, in addition to performance gains.

mccrodp’s picture

Thanks for this @RobLoach. I merged it over at the development repo for marketo_rest module. Should have a dev release of that after issues: #6 & #5 land :)

  • jyokum committed 975d89f on 7.x-1.x
    Issue #2765039 by RobLoach: Resolves issue where Marketo javascript...
jyokum’s picture

Assigned: Unassigned » jyokum
Status: Reviewed & tested by the community » Closed (fixed)

Thanks for the patch. Now included in 7.x-1.x-dev

For my own future reference - https://www.drupal.org/update/modules/6/7#jquery_once