Files
..

Existing Yandex Metrika counter 109268613

Analytics-only successor. The counter and six exact JavaScript goal definitions are owned by the coordinating task; this integration creates no counters or UI settings.

web/lib/metrika.mjs loads the official external SDK asynchronously only on HTTPS progcode.ru and its subdomains. defer:true and one explicit hit per mounted pathname implement Next.js navigation. Hash changes produce no pageview. Standard referrer/UTM attribution remains SDK-owned. accurateTrackBounce:true retains the default 15-second calculation; no forced notBounce. Webvisor is off, clickmap and external-link tracking on. There is no unconditional noscript tracking pixel that could bypass the host guard.

  • engaged_read: actual main.article-shell .article-content, 60 seconds accumulated while visible and focused, at least 75% of the body reached, once per mounted article. About/contact/resources/tool pages are excluded.
  • search_used: explicit selection of a result while the local search is nonempty. Existing UI has no submit form. No keystroke conversion or query payload.
  • search_zero_results: actual displayed zero state after nonempty user input, debounced 500ms. No initial-empty conversion.
  • related_content_click: trusted clicks inside the actual related-content block, observed before Next.js consumes the link. Ordinary navigation stays silent.
  • download_click: enabled download anchors only. Current corpus contains none: this goal is inapplicable, not fabricated; no download-success claim.
  • content_problem: confirmed branded404, failed real article image, missing nonempty fragment after mount/hash change. Payload is only one enum reason. Unknown404 paths are replaced with /404/ in custom pageviews. No raw search, fragment, exception text or invented contacts are sent in custom event parameters.

browser-contract.json records nine intercepted browser cases, including all four negative service-page cases, real UI clicks, real failed image, missing fragment, ordinary-navigation/hash silence and host guards. Time is advanced by Playwright clock; hidden/unfocused state is explicitly modelled because this automated Chrome reports both tabs focused. This verifies the state machine, not OS background timer behaviour. browser-real-sdk.json uses the actual downloaded SDK (SHA-256 recorded), verifies asynchronous loading and serialized search/zero goal requests. All statistical requests receive local empty responses; none are delivered to Yandex. This proves client serialization, not server-side reception or report appearance.

csp.json records the absent baseline CSP in source/live headers and zero browser policy violations. No CSP is added or relaxed. The exact new SDK purpose and bundled occurrences are in analytics-outbound.json; earlier editorial-link evidence keeps its historical source scope.

preservation.json compares every one of 81 exported HTML bodies after removing scripts, the identical route set, CSS and all11media against accepted source53f217. They are byte-identical. Raw captures, bodies, dates, sanitizer, anchors and historical binaries are unchanged. The source/build and persistent frozen-preview address are in candidate.json. Full historical restoration and the Semrush174/100 reconciliation remain OPEN.

Official references checked 2026-10-27:

Replay the browser scripts in an isolated playwright-cli Chrome session; their local origin points at the frozen candidate. Do not remove interception or execute these actions against a live counter. Preserve exact exported output bytes and raw provenance.