• Resolved alimaserrat

    (@alimaserrat)


    I’m using a Hubspot form to collect leads from customers, once I activate the Autoptimize plugin, and if the following option is enabled:
    -Aggregate all linked JS-files to have them loaded non-render blocking? If this option is off, the individual JS-files will remain in place but will be minified.

    >> it pushes the form after the footer. I tried everything but it won’t work, I still want to benefit from reducing my js files for better seo.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    You’ll probably have to exclude all of hubspot from Autoptimize JS optimization and from Async Javascript as well (and maybe from some of the litespeed optimization as well).

    Thread Starter alimaserrat

    (@alimaserrat)

    Thanks for prompt reply. I have tried it but their work. Is there anyway to ignore all JS files at once ? Maybe I didn’t know right.

    For the other plugins I just enabled them, I’m going to resolve this issue one plugin at a time to benefit like before.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Problem is hubspot is pretty complex, using a combination of inline JS & linked JS from different domains, so there is no one way to identify all of their JS.

    Only thing I can tell you is that even with Autoptimize & Async JS disabled (by adding ?ao_noptimize=1&aj_noptimize=1 to the URL), I’m still getting this Hubspot-related error;

    ReferenceError: hbspt is not defined

    so the problem is bigger then just the AO (or ASyncJS) impact ..

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Any news about this alimaserrat ?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    closing due to lack of activity, feel free to follow up if still relevant.

    frank

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with the Forms and Autoptimize’ is closed to new replies.