• Resolved wemrtin

    (@wemrtin)


    This page contains a convertkit form in two places. If the SG Optimizer plugin is enabled the form does not load and the information related to the plugin does not show in the page source. If the SG Optimizer is deactivated the form loads as expected. I would like to continue to use the SG Optimizer.
    The plugin is currently deactivated.

    This is the url for external access to the form
    https://denverbusinesshelp.ck.page/743b29170a

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey there @wemrtin,

    Since the resources for that form are being loaded from external resources, it is interfering when JS Combination is enabled.

    You can exclude external script from being combined using the filter we’ve designed for that purpose. Here’s an example of the code:

    add_filter( 'sgo_javascript_combine_excluded_external_paths', 'js_combine_exclude_external_script' );
    function js_combine_exclude_external_script( $exclude_list ) {
        $exclude_list[] = 'script-host.com';
        $exclude_list[] = 'script-host-2.com';
    
        return $exclude_list;
    }

    You just need to replace the script host that the form is using.

    Kind regards,
    Stoyan

    Thread Starter wemrtin

    (@wemrtin)

    Thanks Stoyan,
    Please advise where in the wordpress the filter code should be placed?
    Thanks for the reply.
    Bill

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘convertkit form not showing’ is closed to new replies.