← Back to Help Center

How to Install the Enkore Widget on WooCommerce

This guide walks you through adding your Enkore widget to your WooCommerce order confirmation page — the page your customers see immediately after completing a purchase. The entire process takes about 5 minutes and does not require any coding experience.

Before you begin, make sure you have your Enkore snippet ready. Your snippet was included in your welcome email. It looks like this:

<script src="https://widget.tryenkore.com/w.js?id=ek_XXXXXXXX" async></script>

If you can’t find your snippet, contact us at eddys@brainbankmedia.com and we’ll resend it.

Note: This guide covers the most common WooCommerce setup. This works the same on newer block-based themes, including Twenty Twenty-Five and other FSE-compatible themes. No different steps needed. If you’re not sure which setup you have or run into any issues, reach out to us at eddys@brainbankmedia.com and we’ll help you get set up.

Step 1 — Log in to your WordPress admin

Go to your WordPress site and log in to your admin dashboard at yoursite.com/wp-admin.

Step 2 — Install the WPCode plugin (if you don’t already have it)

WooCommerce doesn’t have a built-in field for adding custom scripts to the order confirmation page, so we’ll use a free plugin called WPCode — one of the most widely used and well-maintained script management plugins for WordPress.

If you already have a plugin that lets you add custom scripts to specific pages (such as Insert Headers and Footers or a similar tool), you can use that instead and skip to Step 4.

To install WPCode: In your WordPress admin, go to Plugins → Add New. Search for WPCode. Click Install Now, then Activate.

Step 3 — Open WPCode

In your WordPress admin left-hand menu, go to Code Snippets → + Add Snippet.

Step 4 — Create a new snippet

Click Add Your Custom Code (New Snippet). When prompted to choose a code type, select JavaScript Snippet.

Step 5 — Paste your Enkore snippet

In the code editor, paste your Enkore snippet exactly as it appeared in your welcome email:

<script src="https://widget.tryenkore.com/w.js?id=ek_XXXXXXXX" async></script>

Do not modify the snippet.

Step 6 — Set the snippet to run on the order confirmation page only

Under Insertion, set the location to Footer. Then add a page condition so the snippet only runs on your WooCommerce order confirmation page — not on every page of your site.

In WPCode, set the condition to Page URL contains /order-received/

This targets the WooCommerce order confirmation page specifically, which always contains /order-received/ in its URL.

If you’ve customized your checkout page URL, adjust this rule to match your actual confirmation page address instead of /order-received/.

Step 7 — Name, activate, and save

Give your snippet a name (e.g. “Enkore Widget”). Toggle it to Active. Click Save Snippet.

Step 8 — Test your widget

Place a test order on your store. After completing the purchase, you should see the Enkore widget appear on your order confirmation page within about 1.5 seconds.

If the widget doesn’t appear, double-check that your snippet was pasted correctly and that the page condition is set to /order-received/. If you still need help, contact us at eddys@brainbankmedia.com.

Closing note: Once your widget is live, let us know and we’ll verify it on our end. After verification, your install status will be updated and your widget will be officially active in the Enkore network.