Title: Js error while not using plugin gtag.js code
Last modified: May 17, 2022

---

# Js error while not using plugin gtag.js code

 *  Resolved [Arkadiusz Rzadkowolski](https://wordpress.org/support/users/fliespl/)
 * (@fliespl)
 * [4 years ago](https://wordpress.org/support/topic/js-error-while-not-using-plugin-gtag-js-code/)
 * Settings:
    [https://ss.codeone.pl/ss-2022-05-17-13-35-17-1652787317-N5nDkGt3.png](https://ss.codeone.pl/ss-2022-05-17-13-35-17-1652787317-N5nDkGt3.png)
 * Error:
    [https://ss.codeone.pl/ss-2022-05-17-13-40-04-1652787604-vl5leKWK.png](https://ss.codeone.pl/ss-2022-05-17-13-40-04-1652787604-vl5leKWK.png)
 * [https://ss.codeone.pl/ss-2022-05-17-13-40-14-1652787614-3JwKuCH8.png](https://ss.codeone.pl/ss-2022-05-17-13-40-14-1652787614-3JwKuCH8.png)
 * Probably checking if variable is defined should take please prior to checking
   if empty.

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

 *  Plugin Support [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * (@hitendra-chopda)
 * [4 years ago](https://wordpress.org/support/topic/js-error-while-not-using-plugin-gtag-js-code/#post-15672587)
 * Hello Fliespl,
 * Thanks for reaching out to us and for sharing the screenshots here.
 * From the screenshot, we are unable to get the exact file or settings to check.
 * Can you please check the file path of the JS? Also, share the full page settings
   screenshot.
 * Best Regards,
    Hitendra & Dotstore Team
 *  Plugin Support [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * (@hitendra-chopda)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/js-error-while-not-using-plugin-gtag-js-code/#post-15736219)
 * Hello Fliespl,
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved.
 * If you have any further questions, you can start a new thread.
 * Best Regards,
    Hitendra & Dotstore Team

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

The topic ‘Js error while not using plugin gtag.js code’ is closed to new replies.

 * ![](https://ps.w.org/woo-ecommerce-tracking-for-google-and-facebook/assets/icon-
   256x256.png?rev=3011361)
 * [Enhanced Ecommerce Google Analytics for WooCommerce](https://wordpress.org/plugins/woo-ecommerce-tracking-for-google-and-facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-ecommerce-tracking-for-google-and-facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-ecommerce-tracking-for-google-and-facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-ecommerce-tracking-for-google-and-facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-ecommerce-tracking-for-google-and-facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-ecommerce-tracking-for-google-and-facebook/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/js-error-while-not-using-plugin-gtag-js-code/#post-15736219)
 * Status: resolved