• Resolved carmelobaglieri

    (@carmelobaglieri)


    please add ; to end js line on function get_event_code
    /wp-content/plugins/woocommerce-google-analytics-integration/includes/class-wc-google-gtag-js.php:116

Viewing 5 replies - 1 through 5 (of 5 total)
  • hrn1995 (woo-hc)

    (@aguinaldodarla)

    Hi @carmelobaglieri

    It seems that it would like you to add a semicolon (;) to end a JavaScript line in the function get_event_code located in the class-wc-google-gtag-js.php file.

    Could you please share with us more information about the issue you are encountering? This will help us identify the issue better.

    Also, please share a copy of your site’s System Status Report so that we can better understand your site’s current environment.

    • System Status Report: navigate to WooCommerceStatus → select Get system report and then Download for support. This will download a TXT file that has the contents of the SSR to share with us.
    • Fatal Error log: Share a copy of any fatal error log found under WooCommerceStatusLogs.
    Thread Starter carmelobaglieri

    (@carmelobaglieri)

    Sure, it’s just because with an html minification cause the set of the code as in same line, so when you call

    $( ‘.product.post-“….

    $ is not a function

    It’s necessary to close instruction with (;)

    Woocommerce status is ok

    Plugin Author Tomek

    (@tomalec)

    Hi @carmelobaglieri,

    Thank you once again for the report!
    I submitted the fix, hopefully, we will release shortly.

    Plugin Author Tomek

    (@tomalec)

    The fix was released today with 1.8.10

    Plugin Support Sven L. a11n

    (@sverleis)

    Hi there @carmelobaglieri,

    As we’ve not received any updates for the last few days, and as the fix should resolve the issue experienced, I’ll mark this ticket as resolved.

    Thank you for bringing up the bug report, and for your continued use of the extension.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘gTag event js error’ is closed to new replies.