四种关注隐私的Google Analytics(分析)替代方案

In 2019 I wrote an article about how Google Analytics is problematic due to its privacy problems and immense size, and encouraged developers to use an alternative for tracking website or app usage. Plenty of privacy-minded developers have noticed that Google Analytics requires over 40KB of JavaScript and gathers much more data than is generally needed to understand how users interact with their projects. As a result, alternative analytics platforms are popping up that are more lightweight, open-source, and privacy-focused.

在2019年,我写了一篇文章,介绍了由于其隐私问题和庞大的规模而导致Google Analytics(分析)出现问题的方法,并鼓励开发人员使用其他方法来跟踪网站或应用的使用情况。 许多注重隐私的开发人员已经注意到,Google Analytics(分析)需要40KB以上JavaScript,并且所收集的数据要比理解用户如何与他们的项目进行交互所需的数据要多得多。 结果,出现了更加轻巧,开源和注重隐私的替代分析平台。

This article takes a closer look at the stand-out solutions that will allow you to avoid using Google Analytics. All of the following platforms are either free or reasonably priced.

本文仔细研究了出色的解决方案,这些解决方案使您可以避免使用Google Analytics(分析)。 以下所有平台都是免费的或价格合理的。

1. GoAccess (1. GoAccess)

GoAccess is a terminal-based web log analyzer. While other analytics platforms place a snippet in your website’s HTML, GoAccess simply parses logs generated by default on most hosting platforms, assembling analytics data while adding zero additional code to the front end.

GoAccess是基于终端的Web日志分析器。 虽然其他分析平台在您网站HTML中放置了一段代码,但GoAccess只是解析大多数托管平台上默认生成的日志,在收集分析数据的同时向前端添加零附加代码。

Pros

优点

  • Requires no snippet on front-end

    不需要前端代码段
  • No user consent required

    无需用户同意

Cons

缺点

  • Requires proficiency with the command line — if you are not familiar with terminal commands, consider another tool

    需要精通命令行-如果您不熟悉终端命令,请考虑使用其他工具
  • Unable to gather data from front-end events

    无法从前端事件收集数据

2.阿基 (2. Ackee)

Ackee is a self-hosted analytics provider that is easy to set up. Documentation includes a one-click Heroku deploy that will provision a virtual server and database instance for you. For small applications, you can use Heroku’s free option which will periodically put your Ackee instance to sleep, but still allow you to gather data effectively.

Ackee是易于设置的自托管分析提供商。 文档包括一键式Heroku部署,它将为您提供虚拟服务器和数据库实例。 对于小型应用程序,您可以使用Heroku的免费选项,该选项将定期使您的Ackee实例进入睡眠状态,但仍允许您有效地收集数据。

Image for post

Pros

优点

  • GDPR-compliant by default

    默认情况下符合GDPR
  • Easy to host yourself with free options

    轻松托管免费选项

Cons

缺点

  • Does not provide data on user locations or other advanced features such as funnels or custom events

    不提供有关用户位置或其他高级功能(例如渠道或自定义事件)的数据
  • Advanced features require user consent

    高级功能需要用户同意

3. Matomo (3. Matomo)

Matomo is an open-source, ethical analytics platform that offers both a self-hosted and paid cloud option where data is hosted for you. You have complete control over the data therein and can export it at any time. Matomo offers advanced features like custom events, acquisition, goals, and funnels, and its initial script is still much smaller than that of Google Analytics.

Matomo是一个开放源代码的道德分析平台,它提供了自托管和付费云选项,可以为您托管数据。 您可以完全控制其中的数据,并且可以随时将其导出。 Matomo提供了高级功能,例如自定义事件,获取,目标和渠道,其初始脚本仍然比Google Analytics(分析)小得多。

Image for post

Pros

优点

  • Offers both PaaS and self-hosted versions

    提供PaaS和自托管版本
  • Robust features like custom events, acquisition, goals, and funnels

    强大的功能,例如自定义事件,获取,目标和渠道

Cons

缺点

  • Relatively large script size (though still much smaller than Google Analytics)

    相对较大的脚本大小(尽管比Google Analytics(分析)小得多)
  • Advanced features require user consent

    高级功能需要用户同意

4.简单分析 (4. Simple Analytics)

Simple Analytics is an affordable analytics PaaS that focuses on privacy. Their servers are located in the Netherlands and the service does not use cookies so there is no need to get user consent to track anonymous data. The company states that they “designed [their] analytics in a way that doesn’t track your users. [They] don’t collect any data that’s not necessary.” While their API allows for easy tracking of outbound links and custom events, it is not quite as robust as Matomo.

Simple Analytics是负担得起的分析PaaS,专注于隐私。 他们的服务器位于荷兰,该服务不使用Cookie,因此无需征得用户同意即可跟踪匿名数据。 该公司表示,他们“以无法追踪用户的方式来设计他们的分析”。 [他们]不收集任何不必要的数据。” 尽管他们的API可以轻松跟踪出站链接和自定义事件,但它不如Matomo强大。

Image for post

Pros

优点

  • Paid PaaS version only — no self-hosting available

    仅付费PaaS版本-没有自托管功能
  • No cookies used — no user consent required

    不使用Cookie-无需用户同意

Cons

缺点

  • API not as robust as Matomo

    API不如Matomo强大

结论 (Conclusion)

Switching to a provider other than Google Analytics is a win for both you and your users. As responsible analytics platforms surface, it is important that we take the opportunity to switch to these better alternatives, not only for the sake of our projects, but to encourage the continuing development of more equitable web tools.

切换到Google Analytics(分析)以外的提供商对您和您的用户都是双赢。 随着负责任的分析平台浮出水面,重要的是,我们借此机会切换到这些更好的替代方案,不仅是为了我们的项目,而且是为了鼓励继续开发更公平的Web工具。

翻译自: https://levelup.gitconnected.com/four-google-analytics-alternatives-that-focus-on-privacy-8e12a4770f15

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值