• Resolved miculgigant

    (@miculgigant)


    Hello,

    is it absolutely necessary for your plugin to add this bit to the page header ?

    <!-- WooCommerce JavaScript -->
    <script type="text/javascript">
    jQuery(function($) { 
    tvc_lc="RON";
    
    tvc_smd={"tvc_wcv":"3.2.1","tvc_wpv":"4.9.4","tvc_eev":"1.2.2","tvc_cnf":{"t_ee":"yes","t_df":true,"t_gUser":false,"t_UAen":"yes","t_thr":"6"}};
     });
    </script>

    Because in my case I get a javascript error because of it: “Uncaught ReferenceError: jQuery is not defined”. And secondly because it’s a rather ugly solution to whatever problem it solves.

    Thank you!

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

    (@tatvic)

    Hi,

    Thank you for contacting us!

    Our plugin is designed in such a way to track the data from your store using “jQuery”.

    You are getting this error since “jQuery” library is not initialized in your store. Click here to get more information about how to initialize or get started with “jQuery”.

    We request you to initialize the jQuery on your store & get back to us so we can verify the same.

    Hope this helps!

    Thanks & Regards,

    Thread Starter miculgigant

    (@miculgigant)

    Hello,

    I obviously have jQuery on my website. It’s just that the optimization scripts I’m using change or interfere with calling it like so jQuery

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JS added in header throws error’ is closed to new replies.