• After activating the JetPack boost and toggling on the Defer Non-Essential JavaScript function, all the web forms on the blog are pushed down to the footer (probably the last thing on the page)

    I don’t want this. How can I get the web forms to remain in their position and still have the JetPack Defer Non-Essential JavaScript function enabled?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @adeone

    Enabling the ‘Defer Non-Essential JavaScript’ shouldn’t move page elements further down the page – I wonder if what may be happening here is that the forms are considered to be using non essential JavaScript, but the way the page loads means that the form scripts need to run at a specific time in order to appear where intended.

    However before we look into whether that it an issue, I do notice that your site appears to use Cloudflare, so as a first step could you please try pausing Cloudflare to see if that makes any difference here?

    I’d also recommend deactivating any other plugins that could possibly be conflicting with Boost – caching plugins for example – and toggling on the ‘Defer Non-Essential JavaScript’ option again.

    Lastly, could you share more about the forms that are being pushed down to the footer – are they created by a specific plugin or via the theme? If not via the theme, what happens if you temporarily switch to a default theme such as Twenty Twenty?

    Thread Starter Shamsudeen Adeshokan

    (@adeone)

    @wpkaren Thanks for the response.

    I have deactivated all cache-related plugins, yet the problem exists. Though I use EasyWP managed WordPress hosting from NameCheap which comes with a built-in cache system.

    I don’t know if this could be a compatibility issue with the hosting environment. I haven’t paused Cloudflare nor changed the theme.

    The forms are not created by plugins but by the Getresponse email marketing app (copy/paste the embed code to the blog).

    Thread Starter Shamsudeen Adeshokan

    (@adeone)

    @wpkaren Pausing Cloudflare didn’t have any effect as the web forms still appear in the blog footer section after enabling Defer non-essential Javascript function.

    What could probably be the cause?

    I’m waiting. Thank you.

    Hello @adeone

    Please contact us via this contact form, providing the code from GetResponse, so we can investigate with more in-depth tools.

    Please include a link to this thread in your message and your site URL.

    Let me know if you have any questions.

    My best regards,

    Michelle

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help with JetPack Boost: Defer Non-Essential JavaScript’ is closed to new replies.