Counterscale vs Tianji

A side-by-side comparison of two self-hosted web analytics options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureCounterscaleTianji
CategoryWeb AnalyticsWeb Analytics
LicenseMITApache-2.0
LanguageTypeScriptTypeScript
Setup difficultyEasyMedium
Min. RAM64 MB512 MB
Deploymentone-click, sourcedocker
GitHub stars★ 2,113★ 3,078
First released20242023
ReplacesGoogle AnalyticsGoogle Analytics

Why pick each one

Choose Counterscale if…

  • Almost free to run
  • Very easy deployment
Counterscale details

Choose Tianji if…

  • Multiple tools in one
  • Clean interface
Tianji details

Frequently asked questions

Is Counterscale or Tianji better?

Neither is universally better. Tianji has the larger community, while Counterscale is simpler to set up (easy difficulty). Choose based on the comparison table above and your own setup.

Are Counterscale and Tianji free and open-source?

Yes. Counterscale is licensed under MIT and Tianji under Apache-2.0. Both can be self-hosted at no software cost.

Can I run Counterscale and Tianji with Docker?

Counterscale: check the project docs for container support. Tianji: yes.

Related comparisons