• Resolved Ajay

    (@ajay)


    I have a strange issue that I only recently noticed on my site. I use the ConvertKit block to display an inline form – you’ll see it at the bottom of the website (and other pages). When I’m in the admin view, editing the page, it only displays once, however, when I’m viewing the front end, I see it being duplicated in the same place.

    I can’t tell when exactly this happened as I only noticed it today, but wondering if this happened in the latest plugin update.

    I’ve also tried other inline forms and I see the same issue.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kit

    (@convertkit)

    Would need to see:

    • How and where you’re adding the block to advise further (every Page, the site editor etc)
    • Screenshot of settings at Settings > ConvertKit. Be sure to exclude your API Key and Secret from the screenshot, as these are sensitive.
    Thread Starter Ajay

    (@ajay)

    Sure, it’s a peculair issue that I think happens on the first time it’s called and not again.

    Please check out https://webberzone.com and scroll to the bottom. This is added as the ConvertKit block within a footer widget.

    If you now check out https://webberzone.com/wordpress-block-development-building-the-block/ you’ll see that same form only displays once. However, if you see the sidebar you’ll see the form display twice. This is also a widget in the sidebar added as the block. It’s the same issue on any of the other posts. e.g. https://webberzone.com/disable-wordpress-auto-update-emails/

    I’ve tried replacing the form with another but it causes the same issue.

    Screenshot: https://ibb.co/2F96YPW

    Let me know if you need anything else.

    Plugin Author Kit

    (@convertkit)

    Which caching, performance and/or JS minification/defer Plugins are you using on the site that produces this output?

    Thread Starter Ajay

    (@ajay)

    Thanks for checking this. I just turned off Autooptimize and the problem went away. I still see the same type though but it only displays once. I was able to exclude the wz.ck.page from being defered and it’s now displaying once.

    Thank you for checking this and pointing me in the right direction!

    Plugin Author Kit

    (@convertkit)

    Thanks for the update @ajay. Would you mind sharing screenshots of the settings used when Autoptimize is enabled and causing this problem?

    We can then automatically add exclusions in the next Plugin update to ensure this doesn’t happen again.

    Thanks!

    Frank of Autoptimize here; the defer flag could be AO’s, but the type="<random string>-text/javascript" attribute is not from AO (could be CloudFlare Rocket Loader though).

    Thread Starter Ajay

    (@ajay)

    On my mobile. But you can go to the Autooptimize settings page in the JS section. In the setting Exclude scripts from Autooptimize, I added the domain of my CK forms wz.ck.page.

    @optimizingmatters It wasn’t related to the random string. It’s still there and I think it is CF indeed.

    In my settings page I have these enabled for JS.

    Do not aggregate but defer? Individual JS-files will be minified and deferred, making them non-render-blocking.

    Also defer inline JS? Also defer inline JS. Generally this will allow all JS to be deferred, so you should remove default exclusions, test and only exclude specific items if still needed.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Duplicate form’ is closed to new replies.