Add GetFoxChat to your WooCommerce site
WooCommerce runs inside WordPress, so paste the snippet into the Footer box of the free WPCode plugin under Code Snippets, Header & Footer in the WordPress admin; it then loads on every page, including shop, cart and checkout. The line loads the GetFoxChat chat bubble on every page, and the operator behind it answers your visitors from your own public pages.
The line to add
Yours has your own site ID in place of YOUR_SITE_ID.
<script src="https://getfoxchat.com/widget.js" data-site-id="YOUR_SITE_ID" defer></script>
Add GetFoxChat to WooCommerce, step by step
- In GetFoxChat, open the install step for your site and copy your snippet. It already has your site ID in it. No account yet? Create one free.
- Log in to the WordPress admin of your store and go to Plugins, then Add New Plugin. source
- Search for WPCode, click Install, then Activate. source
- In the sidebar, open the new Code Snippets menu and click Header & Footer. source
- Paste the GetFoxChat line into the Footer section. source
- Click Save Changes. source
- If you use a caching plugin, clear the cache, then open your shop page and check the chat bubble. source
- Back in GetFoxChat, press Check my site. The chat switches on once GetFoxChat finds the snippet on your live pages.
WooCommerce's own guide: WordPress.org: WPCode Insert Headers and Footers plugin. Checked 2026-09-30; if WooCommerce renames a menu, its guide has the current wording.
WooCommerce gotchas
- Clear your page cache after saving, or visitors may keep getting the old pages without the widget. source
- WPCode must stay active. If the plugin is deactivated, the snippet stops loading on the site. source
- WooCommerce advises against editing theme files directly for small changes; a plugin keeps the change safe when the theme updates. source
- On a free WordPress.com site you cannot install plugins until you move to a paid plan. source
Removing it later
Go to Code Snippets, Header & Footer, delete the GetFoxChat line from the Footer section, click Save Changes, and clear your cache.
Runs on WordPress? See GetFoxChat for WordPress, the WordPress plugin page.
WPCode is a free third-party plugin listed in the official WordPress.org plugin directory; its menu names come from the plugin maker's own docs on wpcode.com. WooCommerce itself has no core screen for site-wide scripts. The same install works for any WordPress site, so the page writer can reuse it.
Find out what your visitors can't find
See the 5 questions your visitors are likely to ask that your pages don't clearly answer. Free, no account needed.
The chat starts as Foxy. Rename it and change the avatar anytime. Plans and what each includes: pricing.