Wooptpm is not defined
-
As visitor cookie consent is igrored, i added this code to load wooptpm before the inline scripts:
add_filter( 'sgo_javascript_combine_exclude', 'js_combine_exclude' ); function js_combine_exclude( $exclude_list ) { $exclude_list[] = 'wooptpm_front_end_scripts'; $exclude_list[] = 'ajax_wooptpm_get_cart_items'; $exclude_list[] = 'ajax_wooptpm_get_product_ids'; $exclude_list[] = 'ajax_purchase_pixels_fired_handler'; $exclude_list[] = 'wooptpm'; $exclude_list[] = 'wooptpmGoogleInlineScripts.js'; return $exclude_list; }
Constantly for 2 weeks the warning in console is gone but 50% sales are dropped.
Because of loading wooptpm before other scripts my website’s loading speed is dropped from 60 to 40 on google pagespeed insights.
Maybe the methode which i am using is wrong. Please can somebody guide me to solve this.
Thankyou.
Regards,
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Wooptpm is not defined’ is closed to new replies.