Install Benson on WooCommerce

Add the Benson snippet to WooCommerce as a site-wide header snippet (WPCode) or in header.php, then check it's live.

Install
Updated 26 September 20261 min

These are the same steps the setup wizard shows for WooCommerce.

Your snippet#

Your real snippet, with your site key, is in the setup wizard and under Site settings → Install:

<script async src="https://cdn.trybenson.com/benson.js" data-site="pk_live_YOUR_SITE_KEY"></script>

Add it to WooCommerce#

  1. In WordPress, open Code Snippets → Add Snippet (WPCode) and create a Header snippet.
  2. Paste the snippet, set the location to Site Wide Header, and save it active.
  3. No plugin? Paste it into your theme's header.php, right before </head>.

Check it's live#

Open your store in a normal browser tab. The setup wizard shows Verified: Benson is live within a few seconds. If it doesn't, see Troubleshooting.

The WooCommerce plugin#

For checkout code policies on WooCommerce, install the Benson for WooCommerce plugin as well. It checks coupons server-side in extension sessions and can sync your coupons to Benson. Download it from Checkout → Install in your Benson dashboard, upload it under Plugins → Add New → Upload Plugin, activate it, and paste your policy key into WooCommerce → Benson.

On WooCommerce, Benson's script also runs on your checkout page, so it can hide extension pop-ups there too.

Stuck? Email [email protected].

Find out what's leaking. 14 days of Own, no card.