コンテンツにスキップ

アナリティクスの最適化

Webアナリティクスを使用すると、アプリケーション上でのユーザーの行動(ページビュー、セッション、カスタムイベントなど)を測定できます。

Cloudflareは、これらのアナリティクスを収集する方法のプライバシーとパフォーマンスを向上させる2つの方法を提供しています。

Cloudflare Webアナリティクス

サードパーティツールを使用せずにアナリティクスを取得したい場合は、Cloudflare Webアナリティクスをチェックしてください。

Cloudflare Web Analytics provides free, privacy-first analytics for your website without changing your DNS or using Cloudflare’s proxy. Cloudflare Web Analytics helps you understand the performance of your web pages as experienced by your site visitors.

All you need to enable Cloudflare Web Analytics is a Cloudflare account and a JavaScript snippet on your page to start getting information on page views and visitors. The JavaScript snippet (also known as a beacon) collects metrics using the Performance API, which is available in all major web browsers.

セットアップ

トラフィックがCloudflareを介してプロキシされている限り、Webアナリティクスのセットアップは数ステップで完了します。

  1. Log in to the Cloudflare dashboard, and select your account.
  2. Select the Analytics & Logs drop-down and choose Web Analytics.
  3. Select Add a site.
  4. Select a hostname from the drop-down menu > Done.

アクセス

Webアナリティクスを有効にしたら、いつでもアナリティクスを確認できます:

  1. Cloudflareダッシュボードにログインし、アカウントを選択します。
  2. Analytics & Logsのドロップダウンを選択し、Web Analyticsを選びます。
  3. ゾーンを選択します。
  4. Cloudflareが提供するさまざまなメトリクスを確認します。

通知

Web Analytics uses Cloudflare’s Notification service. When enabled, Web Analytics sends you a weekly report with aggregate visits, page views and median page load time for all your sites, so you can monitor their performance.


Cloudflare Zaraz

すでにウェブサイトでサードパーティツールを使用している場合は、Cloudflare Zarazをチェックしてください。

Cloudflare Zaraz gives you complete control over third-party tools and services for your website, and allows you to offload them to Cloudflare’s edge, improving the speed and security of your website. With Cloudflare Zaraz you can load tools such as analytics tools, advertising pixels and scripts, chatbots, marketing automation tools, and more, in the most optimized way.

Cloudflare Zaraz is built for speed, privacy, and security, and you can use it to load as many tools as you need, with a near-zero performance hit.