Installation guide
2 min · Easy
Install BackToMe on Custom-built shop.
Follow the path for Custom-built shop, paste your tag and then check its detection. Simply paste one line into your shop’s <head> tag.
Installation
Before copying the tag.
Check the required access, then use the location shown for your platform.
Prerequisites
- Edit access to your shop’s source code (FTP, Git, or a built-in editor)
- A shared layout file (header.html, base.html, _document.tsx, etc.) or a templating system that automatically injects the <head> tag on every page
- If you have a CSP (Content Security Policy), the permissions to run scripts from https://backtome.fr
Location in Custom-built shop
Before the closing </head> of the HTML served on every page where purchases can be made
- 01Identify 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)
- 02Locate the </head> tag
- 03Paste the tag just before this tag
- 04For a SPA site (React, Vue, Svelte, Angular), use the framework’s native <head> injection mechanism, see the pitfalls below
- 05Deploy and check in a private tab that the tag appears in the HTML source
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 custom-built shop
An update or theme change can remove a script that worked until then.
- A deployment that rebuilds the template without the tag.
- A content security policy tightened during a security pass.
- A front-end rewrite, or a move to server-side rendering that does not re-inject 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.
The status changes to Detected in BackToMe and the button appears on the public shop.
- 01Open a private window.
- 02Load a public page of the shop.
- 03Check the button position and label.
- 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.
Troubleshooting
The most common blockers.
SPA sites: inject via the framework, not in index.html
Overly restrictive CSP
Shops with a build step
WordPress without WooCommerce (memberships, courses, donations)
Paid newsletters (Substack, Ghost, Beehiiv, ConvertKit Commerce)
Standalone pages (Carrd, Linktree, simple page builders)
The button does not appear after publishing
The status remains Not detected
The form does not open
Can I give the installation to my developer?
Official Custom-built shop documentation
Still stuck? Contact us with the shop URL and a screenshot.
Other platforms
View all guides