Repository navigation
Add GA4 and Meta Pixel by pasting an ID, with a cookie banner; duplicate a product in one click.
Includes: core 3.16.0 · front 3.12.0 · shop 3.13.0 · mcp 2.1.1
✨ New
- GA4, GTM and Meta Pixel tracking — paste the ID; the code runs only for the cookie groups the visitor allows (docs)
- Cookie banner — ask first, notice only, or off; visitors change their mind any time through "Cookie settings"
- Ad revenue in GA4 and Meta — product view, add to cart, checkout and purchase events are sent automatically
- Security headers — switch each header on or off and turn HSTS on step by step from the admin (docs)
- Duplicate products and pages — one button makes a switched-off copy; change only what differs (docs)
- Find products by name in the admin product list; the category filter has a search box
- For developers: templates change the banner colours with CSS variables; import plugins write 301s from another platform's old addresses; plugins copy their own data when a product is duplicated (docs)
🔧 Improvements
- Saving products, customers and orders no longer reports duplicate keys on sites with a lot of data
- 301 redirects also work for addresses that match no page (e.g. taken from the 404 log)
- Category pages open faster on large stores
- Back up the database and the site folder, run
composer update, thenphp artisan gp247:update(adds an index to the product–category table; on very large stores run it from the command line outside peak hours) - After the update the site sends four security headers; if the site must be embedded (iframe) on another domain, switch X-Frame-Options off on the Security headers screen
- Tracking code and the cookie banner are off by default — to use them, go to SEO › Tracking code & cookies (Administrators only)
- (Running with Docker) take the new
docker/nginx/default.conffrom S-Cart so headers are not sent twice; if you edited that file, merge the change - (Custom templates) keep
<x-gp247-front::meta-head>in<head>to get the tracking code and the cookie banner