Skip to content

Drop the translation claim from the dashboard footnote - #250

Merged
mmcky merged 1 commit into
mainfrom
analytics/fix-translation-claim
Aug 7, 2026
Merged

Drop the translation claim from the dashboard footnote#250
mmcky merged 1 commit into
mainfrom
analytics/fix-translation-claim

Conversation

@mmcky

@mmcky mmcky commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Correction to #249. I asserted something in that footnote that turns out not to be true, and it is live on the public dashboard.

The footnote said translation traffic "is counted under the corresponding English series". That holds for three of the four translations, but not the fourth:

Translation Deployed GA tag Counted?
lecture-python.zh-cn G-J0SMYR4SG3, same as python.quantecon.org yes, under English python
lecture-python-programming.fa G-X7DH1M2DPY, same as python-programming.quantecon.org yes, under English python-programming
lecture-python-programming.fr G-X7DH1M2DPY, same as python-programming.quantecon.org yes, under English python-programming
lecture-intro.zh-cn none no — counted nowhere

lecture-intro.zh-cn has its analytics block commented out in lectures/_config.yml, and its deployed pages at quantecon.github.io/lecture-intro.zh-cn/ carry no GA tag at all. I checked the deployed HTML as well as the config, since the two can diverge.

The claim originated in QuantEcon/website-dynamic#10 and I repeated it without verifying — here, and in the pipeline's properties.yml. Thanks to @mmcky for asking the question that surfaced it.

Rather than qualify a sentence that is incidental to what the footnote is for, this removes it. The footnote now reads:

Sessions are visits rather than unique readers, summed across eight QuantEcon lecture series.

The same correction is going into properties.yml in the pipeline repo, and the untagged translation is worth tracking on its own — it is a genuine gap rather than a wording problem.

🤖 Generated with Claude Code

The footnote said translation traffic is counted under the corresponding
English series. That is true for three of the four translations and not
the fourth, so as written it is wrong.

lecture-python.zh-cn, lecture-python-programming.fa and
lecture-python-programming.fr all carry the same measurement ID as their
English site, so their readers are counted, inseparably, under the
English series. lecture-intro.zh-cn has analytics commented out in
lectures/_config.yml and its deployed pages carry no GA tag at all, so
its readership is counted nowhere.

Rather than qualify a sentence that is incidental to the point of the
footnote, it goes. The tagging gap is a real issue and is being tracked
separately in QuantEcon/website-dynamic.
Copilot AI lite review requested due to automatic review settings August 7, 2026 06:20
@netlify

netlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploy Preview for grand-swan-ca5201 ready!

Name Link
🔨 Latest commit 8573404
🔍 Latest deploy log https://app.netlify.com/projects/grand-swan-ca5201/deploys/6a75794711ad130008b628d5
😎 Deploy Preview https://deploy-preview-250--grand-swan-ca5201.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the QuantEcon analytics dashboard page to remove an inaccurate claim about translation traffic attribution in the sessions footnote, leaving only the verified statement about what “sessions” represent and what series are included.

Changes:

  • Removed the sentence asserting translation traffic is counted under the corresponding English series.
  • Kept the footnote’s remaining (accurate) description of sessions being visits summed across eight lecture series.

@mmcky
mmcky merged commit 244af5d into main Aug 7, 2026
6 checks passed
@mmcky
mmcky deleted the analytics/fix-translation-claim branch August 7, 2026 06:23
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.

2 participants