Skip to main content

Installation guide

3 min · Easy

Install BackToMe on WooCommerce.

Follow the path for WooCommerce, paste your tag and then check its detection. Paste the tag via a header-injection plugin.

Video tutorial

Watch the installation on WooCommerce.

The video follows the same path as the written steps below. A transcript remains available under the player.

Video transcriptShow
The withdrawal button has been mandatory since 19 June 2026 (a European obligation, in all 27 EU countries). Proof is what protects you. Here is how to install BackToMe on WooCommerce in 2 minutes. As WooCommerce is a WordPress plugin, installation is identical and the button appears on all your pages, including your product pages. 1. In your BackToMe account, copy your tag. 2. In WordPress, go to Plugins > Add New, search for 'WPCode', then install and activate the plugin. 3. Open the 'Code Snippets' menu, then 'Header & Footer'. 4. Paste the tag into the Header field, then click Save Changes. 5. The button is live on your WooCommerce product page. 6. Your customers can now withdraw in two clicks. The BackToMe difference: it is more than a button. Every withdrawal is timestamped, sealed with a SHA-256 fingerprint, confirmed on a durable medium and archived in the European Union for 5 years. Proof that holds up and strengthens the evidential value of your records (electronic proof admissible in all 27 EU countries). Installing the button covers the European obligation. Remember to update your terms and conditions too, to be fully compliant. 7-day free trial at backtome.fr.

Installation

Before copying the tag.

Check the required access, then use the location shown for your platform.

Prerequisites

  • A WordPress shop with the WooCommerce plugin installed and active
  • WordPress administrator rights (the Administrator role)
  • Ideally a child theme set up, otherwise your changes will be overwritten at the next update of the parent theme

Location in WooCommerce

Recommended method: a custom-code management plugin (WPCode, Insert Headers and Footers, or equivalent)

  1. 01WordPress admin > Plugins > Add New
  2. 02Search for 'WPCode' or 'Insert Headers and Footers', install it and activate it
  3. 03In the sidebar, open Code Snippets > + Add Snippet (WPCode) or Settings > Insert Headers and Footers
  4. 04Paste the tag into the 'Header' field (it will be injected into <head> on every page)
  5. 05Save. No theme file is modified, no risk at the next update.

Copy your BackToMe tag

Replace YOUR_ID with the shop identifier shown in your account.

Save and publish

The change must be published on the version your customers actually see.

Tag to copy into the <head>

<script async src="https://backtome.fr/widget.js" data-site="YOUR_ID"></script>

Over time

What removes the button from a WooCommerce shop

An update or theme change can remove a script that worked until then.

  • A parent theme update, when the tag was not added through a child theme.
  • A caching or optimisation plugin stripping scripts from the output it stored.
  • A shop redesign that starts again from a fresh theme, without the tag.

BackToMe tracks the last signal received

The dashboard shows the tag’s last detection. If the button disappears, you have a precise starting point for checking the shop.

Verification

Check the published shop.

Do not stop at the editor’s confirmation. Open the public site and check what is actually loaded.

Expected result

The status changes to Detected in BackToMe and the button appears on the public shop.

  1. 01Open a private window.
  2. 02Load a public page of the shop.
  3. 03Check the button position and label.
  4. 04Open the form without submitting a real request.

After the click

Every request joins a verifiable case.

BackToMe records the request, sends the acknowledgement and keeps the information needed for tracking. The certificate states exactly what can be checked.

Understand the certificate

Troubleshooting

The most common blockers.

Every answer can be closed and used from the keyboard.
Never edit the parent theme directly
If you edit header.php of a theme like Storefront, Astra or Hello Elementor, your changes will be lost at the next theme update. Either use a plugin (recommended), or create a child theme via Appearance > Theme File Editor.
Cache plugins can strip out the script
WP Rocket, W3 Total Cache, LiteSpeed Cache and WP Super Cache sometimes have optimisation rules that combine or remove external scripts. If the button does not appear after installation, check the JS exclusions in your cache plugin and add backtome.fr/widget.js to the allow-list.
An overly strict CSP blocks the button
If you have set up a Content-Security-Policy via a security plugin (Wordfence, iThemes Security), make sure script-src allows https://backtome.fr and connect-src allows the requests to the api subdomain.
The button does not appear after publishing
Open the WooCommerce shop in a private window. Then check the published theme, tag identifier and its position in the head.
The status remains Not detected
The tag reports when a public page loads it. Visit the published shop in a private window, then refresh the status in BackToMe.
The form does not open
Test without browser extensions. Also check the CSP policy and any tool that blocks third-party scripts.
Can I give the installation to my developer?
Yes. Send them the tag and this guide. They do not need access to your account to add the line to the site.

Official WooCommerce documentation

Still stuck? Contact us with the shop URL and a screenshot.

WooCommerce handles your orders. BackToMe proves the withdrawals.