Skip to content

Commit 538b6ff

Browse files
Analytics navigation updates (#24929)
* Analytics navigation updates * Removes step 2
1 parent 892b808 commit 538b6ff

File tree

10 files changed

+71
-48
lines changed

10 files changed

+71
-48
lines changed

src/content/docs/analytics/account-and-zone-analytics/account-analytics.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ sidebar:
77

88
---
99

10+
import { DashButton } from "~/components"
11+
1012
Cloudflare account analytics lets you access a wide range of aggregated metrics from all the sites under a specific Cloudflare account.
1113

1214
:::note
@@ -18,13 +20,9 @@ For general information about all of Cloudflare's analytics offerings, refer to
1820

1921
## View your account analytics
2022

21-
To view metrics for your site:
22-
23-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
24-
25-
2. Select the appropriate Cloudflare account.
23+
To view metrics for your site, in the Cloudflare dashboard, go to the **Account Analytics** page.
2624

27-
3. Go to **Analytics & Logs** > **Account Analytics**.
25+
<DashButton url="/?to=/:account/analytics" />
2826

2927
Once it loads, the Account Analytics app displays a collection of categorized charts with aggregated metrics for your account. To understand the various metrics available, refer to *Review your account metrics* below.
3028

src/content/docs/analytics/graphql-api/tutorials/capture-graphql-queries-from-dashboard.mdx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,30 @@ title: Capture GraphQL queries with Chrome DevTools
44

55
---
66

7+
import { DashButton } from "~/components"
8+
79
Using [Chrome DevTools](https://developer.chrome.com/docs/devtools), you can capture the queries running behind the Cloudflare Dashboard analytics. In this example, we will focus on the Network Analytics dataset, but the same process can be applied to any other analytics available in your dashboard.
810

9-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
10-
2. Go to **Analytics & Logs** and select the **Network Analytics** dashboard or any other analytics dashboard you are interested in seeing the GraphQL queries in.
11+
1. In the Cloudflare dashboard, go to the **Network Analytics** page or any other analytics dashboard you are interested in seeing the GraphQL queries in.
12+
13+
<DashButton url="/?to=/:account/network-analytics" />
1114

1215
![Analytics tab](~/assets/images/analytics/analytics-tab.png)
1316

14-
3. Open the [Chrome Developer Tools](https://developer.chrome.com/docs/devtools) and select **Inspect**.
17+
2. Open the [Chrome Developer Tools](https://developer.chrome.com/docs/devtools) and select **Inspect**.
1518

1619
![Chrome developer tools](~/assets/images/analytics/chrome-developer-tools.png)
1720

18-
4. Select the **Network** tab in the Developer Tools panel.
19-
5. In the filter bar, type `graphql` to filter out the GraphQL requests. If no requests appear, try reloading the page. As the page reloads, several network requests will populate the **Network** tab. Look for requests that contain `graphql` in the name.
21+
3. Select the **Network** tab in the Developer Tools panel.
22+
4. In the filter bar, type `graphql` to filter out the GraphQL requests. If no requests appear, try reloading the page. As the page reloads, several network requests will populate the **Network** tab. Look for requests that contain `graphql` in the name.
2023

2124
![Type graphql in the search field](~/assets/images/analytics/search-field.png)
2225

23-
6. Select one of the GraphQL requests to open its details and go to the **Payload** tab. There you will find the GraphQL query. Select the query line and then **Copy value** to capture the query.
26+
5. Select one of the GraphQL requests to open its details and go to the **Payload** tab. There you will find the GraphQL query. Select the query line and then **Copy value** to capture the query.
2427

2528
![Copy query value](~/assets/images/analytics/copy-value.png)
2629

27-
7. If you want to capture a new query, adjust the filters in the **Network analytics** dashboard and a new query will appear in the GraphQL requests.
30+
6. If you want to capture a new query, adjust the filters in the **Network analytics** dashboard and a new query will appear in the GraphQL requests.
2831

2932
![Create a new query](~/assets/images/analytics/new-query.png)
3033

src/content/docs/analytics/network-analytics/configure/displayed-data.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ head:
99

1010
---
1111

12+
import { DashButton } from "~/components"
13+
1214
## Select the appropriate tab
1315

1416
To perform a broad analysis of layer 3/4 traffic and DDoS attacks, use the **All traffic** tab.
@@ -74,8 +76,11 @@ Enable the **Show annotations** toggle to show or hide annotations for advertise
7476

7577
To filter for these traffic events:
7678

77-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
78-
2. Go to **Analytics & Logs** > **Network Analytics** > **DDoS managed rules**.
79+
1. In the Cloudflare dashboard, go to the **Network Analytics** page.
80+
81+
<DashButton url="/?to=/:account/network-analytics" />
82+
83+
2. Go to **DDoS managed rules** tab.
7984
3. Select **Add filter**.
8085
- Set `Verdict equals drop`.
8186
- Set `Action equals pass`.

src/content/docs/analytics/network-analytics/get-started.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ description: Learn how to view and use data from Network Analytics.
1010

1111
---
1212

13-
import { GlossaryTooltip, Render } from "~/components"
13+
import { GlossaryTooltip, Render, DashButton } from "~/components"
1414

1515
<Render file="network-analytics-requirements" product="analytics" />
1616

1717
## View the Network Analytics dashboard
1818

19-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select an account that has access to Magic Transit or Spectrum.
19+
1. In the Cloudflare dashboard, go to the **Network Analytics** page.
2020

21-
2. Go to Account Home > **Analytics & Logs** > **Network Analytics**.
21+
<DashButton url="/?to=/:account/network-analytics" />
2222

23+
2. Select an account that has access to Magic Transit or Spectrum.
2324
3. Configure the displayed data. You can [adjust the time range](/analytics/network-analytics/configure/time-range/), [select the main metric](/analytics/network-analytics/configure/displayed-data/#select-high-level-metric) (total packets or total bytes), [apply filters](/analytics/network-analytics/configure/displayed-data/#apply-filters), and more.
2425

2526
## Get Network Analytics data via API

src/content/docs/logs/logpush/logpush-job/filters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Here is an example request using cURL via API:
8989

9090
To set filters through the dashboard:
9191

92-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select the domain you want to use.
92+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select the account or domain you want to use.
9393
2. Go to **Analytics & Logs** > **Logs**.
9494
3. Select **Add Logpush job**. A modal window will open.
9595
4. Select the dataset you want to push to a storage service.

src/content/docs/web-analytics/configuration-options/filters.mdx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ description: Learn how to use filters in Cloudflare Web Analytics.
66

77
---
88

9+
import { DashButton } from "~/components";
10+
911
To filter the data shown on Web Analytics:
1012

11-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
12-
2. Select the **Analytics & Logs** drop-down and choose **Web Analytics**.
13-
3. Select the website you want to check.
14-
4. Select **Add filter**.
15-
5. In the **New filter** box, choose your criteria from the dropdown. Refer to the [Dimensions](/web-analytics/data-metrics/dimensions/) page for a list of available filters and their descriptions.
16-
6. Select **Apply**.
13+
1. In the Cloudflare dashboard, go to the **Web Analytics** page.
14+
15+
<DashButton url="/?to=/:account/web-analytics" />
16+
17+
2. Select the website you want to check.
18+
3. Select **Add filter**.
19+
4. In the **New filter** box, choose your criteria from the dropdown. Refer to the [Dimensions](/web-analytics/data-metrics/dimensions/) page for a list of available filters and their descriptions.
20+
5. Select **Apply**.
1721

1822
### Additional tips
1923

src/content/docs/web-analytics/configuration-options/rules.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ pcx_content_type: how-to
33
title: Rules
44
---
55

6-
import { Render } from "~/components";
6+
import { Render, DashButton } from "~/components";
77

88
Use **Rules** to configure whether to track Web Analytics for specific websites or paths. By default, Web Analytics automatically creates a single rule for the zone that injects the JavaScript (JS) snippet for all pages.
99

1010
Rules are only available for sites proxied through Cloudflare. For more information, refer to [Limits](/web-analytics/limits/).
1111

12-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
13-
2. Select the **Analytics & Logs** drop-down and choose **Web Analytics**.
14-
3. Find the site you want to configure and select **Manage site**.
15-
4. Select **Advanced options** > **Add rule**.
16-
5. Select the **Action** and fill in the hostname and path(s) you want to add a rule for.
17-
6. If you want to add additional rules, select **Add rule**. Otherwise select **Update** to save the rule.
12+
1. In the Cloudflare dashboard, go to the **Web Analytics** page.
13+
14+
<DashButton url="/?to=/:account/web-analytics" />
15+
16+
2. Find the site you want to configure and select **Manage site**.
17+
3. Select **Advanced options** > **Add rule**.
18+
4. Select the **Action** and fill in the hostname and path(s) you want to add a rule for.
19+
5. If you want to add additional rules, select **Add rule**. Otherwise select **Update** to save the rule.
1820

1921
<Render file="configuration-rule-wins-over-rum-rule" product="rules" />

src/content/docs/web-analytics/data-metrics/core-web-vitals.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ sidebar:
66

77
---
88

9+
import { DashButton } from "~/components";
10+
911
[Core Web Vitals](https://www.cloudflare.com/learning/performance/what-are-core-web-vitals/) are high-level metrics designed by Google to capture the user experience. Three core Web Vitals metrics are measured: Largest Contentful Paint, First Input Delay, and Cumulative Layout Shift. Each of these metrics is automatically assigned a rating of Good, Needs Improvement, or Poor based on the industry standard methodology and testing designed by Google. Page load time statistics are supplemented by First Paint and First Contentful Paint.
1012

1113
:::note
@@ -21,9 +23,11 @@ Core Web Vitals is currently only supported in Chromium browsers, with Safari an
2123
Core Web Vitals enables you to easily pinpoint which elements in a web page are affecting the user's experience while browsing your website, in a visual form.
2224
To access Core Web Vitals:
2325

24-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
25-
2. Select the **Analytics & Logs** drop-down and choose **Web Analytics**.
26-
3. Select your website and select **Core Web Vitals**.
26+
1. In the Cloudflare dashboard, go to the **Web Analytics** page.
27+
28+
<DashButton url="/?to=/:account/web-analytics" />
29+
30+
2. Select your website and select **Core Web Vitals**.
2731

2832
### Core Web Vitals metrics
2933

src/content/docs/web-analytics/get-started/index.mdx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,20 @@ head:
88
content: Enabling Cloudflare Web Analytics
99
---
1010

11-
import { Render } from "~/components";
11+
import { Render, DashButton } from "~/components";
1212

1313
## Sites not proxied through Cloudflare
1414

15-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
16-
2. Select the **Analytics & Logs** drop-down and choose **Web Analytics**.
17-
3. Select **Add a site**.
18-
4. In **Set up hostname**, write your website's hostname.
19-
5. Select the message box that appears to choose the hostname you have input and select **Done**.
20-
6. Copy the JS snippet from **Manage site**. This is also where you can later edit the hostname you have just added.
21-
7. (Optional) Select **View Analytics sites** to go back on the Web Analytics interface. If you prefer to continue setting up Web Analytics website, continue reading.
22-
8. Add the JS snippet to any of your website’s HTML pages before the ending body tag.
15+
1. In the Cloudflare dashboard, go to the **Web Analytics** page.
16+
17+
<DashButton url="/?to=/:account/web-analytics" />
18+
19+
2. Select **Add a site**.
20+
3. In **Set up hostname**, write your website's hostname.
21+
4. Select the message box that appears to choose the hostname you have input and select **Done**.
22+
5. Copy the JS snippet from **Manage site**. This is also where you can later edit the hostname you have just added.
23+
6. (Optional) Select **View Analytics sites** to go back on the Web Analytics interface. If you prefer to continue setting up Web Analytics website, continue reading.
24+
7. Add the JS snippet to any of your website’s HTML pages before the ending body tag.
2325

2426
Web analytics is now set up on your website, but it may take a few minutes for Web Analytics data to appear.
2527

src/content/partials/web-analytics/web-analytics-proxied-setup.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33

44
---
55

6-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
7-
2. Select the **Analytics & Logs** drop-down and choose **Web Analytics**.
8-
3. Select **Add a site**.
9-
4. Select a hostname from the drop-down menu > **Done**.
6+
import { DashButton } from "~/components";
7+
8+
1. In the Cloudflare dashboard, go to the **Web Analytics** page.
9+
10+
<DashButton url="/?to=/:account/web-analytics" />
11+
12+
2. Select **Add a site**.
13+
3. Select a hostname from the drop-down menu > **Done**.

0 commit comments

Comments
 (0)