Aller au contenu principal
EU obligation · Mandatory since 19 June 2026
CU
2 minEasy

Install the withdrawal button on Custom-built site

The button is mandatory. Proof is what protects you. Simply paste one line into your site's <head> tag.

Get my code for free

7-day free trial, 0 € today. Your unique tag in 2 minutes.

Installation

In three steps

Get your tag in BackToMe, paste it into your site, check. That's all.

01

Get your tag

Create your account, add your site: you get a unique tag in Settings > Installation.

02

Paste it before </head>

The same line across the whole site, just before the closing <head> tag, then save.

Tag to copy into the <head>

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

It's live

The ‘Withdraw from the contract’ button appears bottom right. BackToMe detects it on its own and sets the status to ‘Detected’.

Where to paste on Custom-built site

Before the closing </head> of the HTML served on every page where purchases can be made

  1. 1Identify the layout file shared by every page (static HTML: footer.html is not the right one, it is a main layout such as base.html)
  2. 2Locate the </head> tag
  3. 3Paste the tag just before this tag
  4. 4For a SPA site (React, Vue, Svelte, Angular), use the framework's native <head> injection mechanism, see the pitfalls below
  5. 5Deploy and check in a private tab that the tag appears in the HTML source

The BackToMe difference

A button, yes. Proof above all.

Most solutions stop at the form. BackToMe turns every withdrawal into proof that holds up, and that is what protects you in a dispute or an audit.

Sealed timestamp

Every request is sealed with a fingerprint that breaks at the slightest alteration.

Acknowledgement on a durable medium

The customer receives the acknowledgement of receipt required by law, which they keep as evidence.

Archived in France, 5 years

Stored and hosted in France, exportable in one click for a judge or the supervisory authority.

Strengthens the evidential value of your withdrawals (electronic proof admissible in all 27 member states under the eIDAS Regulation (EU) 910/2014).

Frequently asked questions

If you get stuck

Check that everything works and unblock the most common cases.

How do I check that the button works?
Open your site in a private window: the blue 'Withdraw from the contract' button appears bottom right. Click it, fill in the test form with your email: you receive the acknowledgement of receipt within a minute, and the withdrawal appears, timestamped, in your BackToMe dashboard.
SPA sites: inject via the framework, not in index.html
On a React (Next.js, CRA), Vue (Nuxt) or Svelte (SvelteKit) project: do not edit the final served index.html, but use the framework's mechanism. Next.js: layout.tsx or _document.tsx. Nuxt: nuxt.config.ts (head.script). SvelteKit: app.html. Otherwise the script is correctly present on the first load but can be lost during client-side navigation.
Overly restrictive CSP
If your site has a strict Content-Security-Policy header (often the case in B2B), make sure the following directives allow backtome.fr: script-src 'self' https://backtome.fr ; connect-src 'self' https://backtome.fr https://*.supabase.co. Without this, the browser blocks the button silently.
Sites with a build step
If your site is built (Hugo, Jekyll, Astro, Eleventy, etc.), add the tag in the layout template or via a global variable, then rebuild and redeploy. Editing the HTML directly in the dist/ folder will not survive the next build.
WordPress without WooCommerce (memberships, courses, donations)
Do you sell subscriptions via MemberPress, courses via LearnDash or Tutor LMS, donations via Give, or any monetisation plugin other than WooCommerce? The withdrawal-button obligation applies just the same as soon as there is a sale to a consumer in the EU. The installation mechanism is identical to the WooCommerce guide: use a header-management plugin (WPCode, Insert Headers and Footers) and paste the tag into the Header area. No dependency on WooCommerce is needed, the button is universal.
Paid newsletters (Substack, Ghost, Beehiiv, ConvertKit Commerce)
Substack and some paid-newsletter platforms do not allow free injection of JavaScript into the <head> of public pages (the HTML is locked). In that case, BackToMe cannot be installed directly on the platform. Options: (1) add a link to a withdrawal page hosted elsewhere (a custom-built site or a subdomain you control), (2) send the withdrawal by email in line with the EU obligation, mentioning this route in your terms and conditions. Ghost and Beehiiv allow custom injection via their settings, so the tag works on them.
Standalone pages (Carrd, Linktree, simple page builders)
Carrd Pro, some free page builders and bio-link platforms (Linktree, Beacons) do not give access to the <head>. If your commercial activity runs only through these pages, you must host a compliant withdrawal page elsewhere and link to it from your links. For Carrd Pro specifically, custom code injection is available and the button works.
I can't see the button on my site
Clear the cache (Ctrl+Shift+R or Cmd+Shift+R) and check that you did publish or save after pasting the tag. On Custom-built site, a server or theme cache can delay the display by a few minutes.
The form won't submit
An ad blocker or a corporate firewall can block the submission. Test in a private window with no extensions: if it works, the blocking comes from the browser, not from BackToMe.
I'm not receiving the acknowledgement of receipt
Check your spam and the promotions tab. The email is sent from notifications@backtome.fr. If nothing arrives after 5 minutes, check the address entered in the site settings: a single typo is enough.
The status stays on 'Not detected'
The button reports to BackToMe when a visitor loads your site. Open it from another device or in a private window, then click '↻ Refresh' in the site settings to re-read the latest detection.

Still stuck? Write to us, we reply quickly.

Put your button on Custom-built site

Get your unique tag and paste it in a few minutes. 7-day free trial, 0 € today, cancel in one click.

Create my free account