Installation guide
5 min · Intermediate
Install BackToMe on PrestaShop.
Follow the path for PrestaShop, paste your tag and then check its detection. Paste the tag into your theme’s head.tpl file, or via a code-injection module.
Installation
Before copying the tag.
Check the required access, then use the location shown for your platform.
Prerequisites
- A PrestaShop 1.7, 8.x or 9.x store (versions 1.6 and earlier work but are no longer maintained and have a different file structure)
- Administrator access to your back office (SuperAdmin profile)
- Access to the theme files (FTP, SFTP or your host’s file manager), or the ability to install a module
Location in PrestaShop
Reliable method: paste the tag into the theme’s head.tpl, just before </head>. File-free alternative: a code-injection module.
- 01By file (reliable, all versions): connect to your theme files via FTP, SFTP or your host’s file manager
- 02Open themes/[your-theme]/templates/_partials/head.tpl (default theme: themes/classic/). Make sure it is head.tpl, which contains the <head>, not to be confused with header.tpl (the visible header: logo, menu, basket)
- 03Paste the BackToMe tag just before the </head> tag, then save the file
- 04Clear the cache: back office, Advanced Parameters > Performance > Clear cache
- 05File-free alternative: install a code-injection module (a 'Custom Code' type), paste the line into its header (head) field, then save. Check its compatibility first: free modules do not always keep up with PrestaShop 8 and 9
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 PrestaShop shop
An update or theme change can remove a script that worked until then.
- A theme update that rewrites head.tpl and wipes the change.
- Cache not cleared after a change: the old output keeps being served.
- A template override taking back control of the file you edited.
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.
head.tpl and header.tpl: do not confuse them
Clear the cache after every change
Default theme: watch out for updates
An overly strict CSP blocks the button
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 PrestaShop documentation
Still stuck? Contact us with the shop URL and a screenshot.
Other platforms
View all guides