Skip to content

Comments

Track products views with full page caching#1202

Open
royduin wants to merge 2 commits intomasterfrom
track-product-views-with-fpc
Open

Track products views with full page caching#1202
royduin wants to merge 2 commits intomasterfrom
track-product-views-with-fpc

Conversation

@royduin
Copy link
Member

@royduin royduin commented Feb 19, 2026

When a product page is cached (see: https://docs.rapidez.io/5.x/cache.html#full-page-caching); product views are not tracked. With this PR we're fixing that by tracking views through a separated route.

Note: It's not recommended to use this; it's very easy to manipulate and could lead to huge database tables. Better use something external like Google Analytics and use an API to get data from there. It's implemented in Rapidez because Magento has it and popular products are based on it, see: #1171

@royduin royduin requested a review from Jade-GG February 19, 2026 14:34
@royduin royduin requested a review from indykoning as a code owner February 19, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants