Title: Google for Woocommerce error
Last modified: August 12, 2026

---

# Google for Woocommerce error

 *  [davidc27](https://wordpress.org/support/users/davidc27/)
 * (@davidc27)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/google-for-woocommerce-error-3/)
 * This is the error i keep getting when trying to connect google for woocommerce.
 *     ```wp-block-code
       TypeError: Cannot read properties of undefined (reading ‘split’)at F (https://enerset-shop.rs/wp-content/plugins/google-listings-and-ads/js/build/get-started-page.js?ver=71d5de2b93e7945bc733:1:22965) at D at div at Y at div at WithAdminPageShell(Component) at Suspense at Oe (https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=ce5e6a2fbfb89a63a074:2:177626) at div at div at ye (https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=ce5e6a2fbfb89a63a074:2:176419) at div at Rac (https://enerset-shop.rs/wp-includes/js/dist/components.min.js?ver=5dedfe13f08880193a28:10:124282) at FC (https://enerset-shop.rs/wp-includes/js/dist/components.min.js?ver=5dedfe13f08880193a28:10:125036) at w (https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/admin-layout/index.js?ver=a5130e96397abb3fb080:2:2770) at Pn (https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=ce5e6a2fbfb89a63a074:2:238803) at O (https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=ce5e6a2fbfb89a63a074:2:145201) at P (https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=ce5e6a2fbfb89a63a074:2:144646) at a (https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=ce5e6a2fbfb89a63a074:2:139200) at https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=ce5e6a2fbfb89a63a074:2:241430 at https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=6b38d231f83c5b197e72:2:160290 at https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=6b38d231f83c5b197e72:2:161343 at https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=6b38d231f83c5b197e72:2:158242 at https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=6b38d231f83c5b197e72:2:158242 at https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=6b38d231f83c5b197e72:2:159435 at zn (https://enerset-shop.rs/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=ce5e6a2fbfb89a63a074:2:245875)
       ```
   
    -  This topic was modified 1 week, 4 days ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 1 week, 4 days ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Formatting
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-for-woocommerce-error-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/google-for-woocommerce-error-3/#post-18991544)
 * Hi [@davidc27](https://wordpress.org/support/users/davidc27/)!
 * Thanks for sharing the full error details.
 * The error means the plugin’s JS code tried to run `.split()` on a value it expected
   to be a string (likely something like a URL or connection ID), but the value 
   came back empty/undefined, usually caused by stale or corrupted connection data
   between the plugin, your Google account, and WooCommerce’s admin data layer.
 * Please try reconnecting your accounts by following these steps:
    1. Go to [https://example.com/wp-admin/admin.php?page=connection-test-admin-page](https://example.com/wp-admin/admin.php?page=connection-test-admin-page).(
       replace the example.com with your site url )
    2. Under **Merchant Center**, click **MC Disconnect**.
    3. Under **Google Account**, click **Disconnect Google Account**.
    4. Under **Jetpack**, click **Disconnect Jetpack**. (if available)
    5. Next, please go to your [Google account’s security settings](https://myaccount.google.com/security),**
       _remove all access permissions for WooCommerce_**
    6. Clear your browser/site cache, then repeat the setup process in Google for WooCommerce.
    7. Then repeat the setup process in the plugin.
 * For a full guide on connecting your Google Merchant Center account, please refer
   to[ this article](https://woocommerce.com/document/google-listings-and-ads/#connect-your-store-with-google-merchant-center).
 * If that does not work, Please also share the following so we can investigate 
   further:
    - Your **System Status Report** from **WooCommerce → Status → System Status**.
    - Any relevant **error logs** from **WooCommerce → Status → Logs**, particularly
      logs generated around the time the error occurs.
 * Please paste the System Status Report and relevant error log into [Pastebin](https://pastebin.com/)
   and share the generated links with us. When creating the Pastebin entries, please
   enable the **Burn after reading** option.
 * Once we have these details, we can investigate the issue further.
 *  Plugin Support [Jason Kytros](https://wordpress.org/support/users/jasonkytros/)
 * (@jasonkytros)
 * [5 days, 11 hours ago](https://wordpress.org/support/topic/google-for-woocommerce-error-3/#post-18996370)
 * Hey [@davidc27](https://wordpress.org/support/users/davidc27/) ,
 * This is Jason, a Technical Product Manager working with this extension.
 * The error that you describe indicates that the store’s country in WooCommerce
   settings was not saved correctly. This could be the result of either a plugin
   conflict, or the WooCommerce onboarding failing to complete properly.
 * To resolve this:
    - Go to WooCommerce > Settings > General.
    - Choose a new country temporarily in Country/State.
    - Click Save.
    - Choose your original country.
    - Click Save.
 * Can you give this a try and let me know if the issue is resolved?

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-for-woocommerce-error-3%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/google-listings-and-ads/assets/icon.svg?rev=2775988)
 * [Google for WooCommerce](https://wordpress.org/plugins/google-listings-and-ads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-listings-and-ads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-listings-and-ads/)
 * [Active Topics](https://wordpress.org/support/plugin/google-listings-and-ads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-listings-and-ads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-listings-and-ads/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Jason Kytros](https://wordpress.org/support/users/jasonkytros/)
 * Last activity: [5 days, 11 hours ago](https://wordpress.org/support/topic/google-for-woocommerce-error-3/#post-18996370)
 * Status: not resolved