A minimal, update-proof Ahrefs Web Analytics integration for PrestaShop.
This module injects the official Ahrefs tracking script inside the <head> via displayHeader.
✅ No theme edits (safe for theme updates)
✅ Back-office configuration (enable/disable + data-key)
✅ Works with PrestaShop 1.7 / 8.x (and should be compatible with newer versions that keep displayHeader)
Get the latest version from the Releases page:
https://github.com/iamadlx/prestashop-ahrefs-analytics/releases
If you're looking for a hosting provider with 1-click PrestaShop installation, easy maintenance, and automated backups, Infomaniak offers a dedicated PrestaShop hosting plan:
- 1-click installation + easy management
- Easy updates + protection against known security vulnerabilities
- Automatic backups & restore
👉 https://www.infomaniak.com/fr/creer-un-site/cms/hebergement-prestashop
- Download the latest release zip.
- In PrestaShop Back Office: Modules → Module Manager → Upload a module
- Upload the zip and install it.
- Create a free Ahrefs Webmaster Tools account: https://ahrefs.com/webmaster-tools
- In Ahrefs, open Web Analytics and copy your
data-key. - In PrestaShop: Modules → Ahrefs Web Analytics → Configure
- Paste the key, enable tracking, and save.
- Back in Ahrefs, click Verify installation.
Ahrefs states that Web Analytics is privacy-friendly and doesn’t require cookie banners by default. You are still responsible for complying with GDPR and local privacy regulations.
MIT