Building the traffic analytics module for 1C-Bitrix portcore.analytics
The original problem was familiar for Bitrix projects: external analytics tools showed overall trends, but did not help with technical traffic review, suspicious IPs, referrer chains or bot behavior inside a real catalog context.
I considered several options: keep everything in external analytics, build scattered custom logs inside each project, or package the logic as a standalone module. The module approach won because it created a reusable product with its own admin UI, unified storage model and a cleaner rollout path for other Bitrix projects.
The product detail for portcore.analytics shows what this case eventually became: the screens, the signal model and the practical value in production use.
Context
The initial situation was not about “more charts”, but about the absence of an engineering-grade tool for traffic-quality analysis inside Bitrix. Marketing had numbers, but could not connect them to suspicious IPs, referrer sources, GEO context or section-level behavior.
During design I considered three approaches: keep everything in external systems, add a narrow set of custom logs to one project, or package the capability as a product module. The first option was too weak for technical diagnostics, the second had no reuse value, so the third path was chosen: a standalone module that could be deployed repeatedly and evolved independently of one site.
Solution
The chosen solution was a standalone module with dedicated visit, suspicious-IP and threat-rule tables, integration with an external GeoIP/antifraud API and admin screens for traffic review. This immediately removed dependence on scattered custom code.
Several product features were designed and implemented along the way: visit cards with UTM and GEO context, separation between human and bot traffic, suspicious-IP summaries, convenient source filters and a rule set that can be strengthened gradually without breaking the current flow.
Business impact
The outcome was not an internal workaround, but a real product module that can be shown, deployed and adapted to specific project needs. From an SEO perspective, the case also creates a strong reason to open the product detail and see what makes portcore.analytics more concrete than generic “traffic analytics” claims.