Appearance
PrestaShop
Finding your Site ID
Log in at dash.botfighter.dev → your Site ID is shown at the top of the dashboard.
Add the snippet to your theme
One edit to your theme's footer template covers every page of your store.
- In your theme directory (
themes/<your-theme>/templates/), open_partials/footer.tpl(orlayouts/layout-both-columns.tplon older PrestaShop versions — whichever includes the closing</body>for your theme). - Paste the snippet immediately before
</body>:
html
<script
src="https://botfighter.dev/botfighter.js"
data-site="YOUR-SITE-ID"
data-api="https://api.botfighter.dev"
data-honeypot="true"
defer>
</script>
</body>- Clear the Smarty cache: Advanced Parameters → Performance → Clear cache (or delete
var/cache/*on PrestaShop 1.7/8). - Visit your storefront and check your dashboard for the first signal.
TIP
If you're not comfortable editing theme files directly, a "Custom code" / "Google Tag Manager" module from the PrestaShop Addons marketplace can inject the same snippet without touching template files.
Want real blocking, not just detection?
This page installs the JavaScript snippet (detection only). Since PrestaShop gives you full server access, the PHP integration works here too — a real 403 before content is served, one edit to your bootstrap.
Need help? Check the dashboard for your live signal feed.