Skip to content

Commit

Permalink
Update quality-foundation-implementation-guide.mdx
Browse files Browse the repository at this point in the history
add table shell
  • Loading branch information
barbnewrelic committed Sep 2, 2021
1 parent 96d6917 commit 77d2649
Showing 1 changed file with 79 additions and 1 deletion.
Expand Up @@ -132,10 +132,88 @@ Quality Foundation measures the following KPIs:
* [Browser Pro installed in all pages](/docs/browser/browser-monitoring/installation/)
* [SPA enabled for single page applications](/docs/new-relic-solutions/best-practices-guides/full-stack-observability/browser-monitoring-best-practices-guide/#how-to-do-it)
* Synthetics monitors configured:

- [Ping monitors configured for anonymous users ](/docs/synthetics/synthetic-monitoring/using-monitors/add-edit-monitors/)
- [Scripted synthetics check configured for login flow](/docs/synthetics/synthetic-monitoring/using-monitors/store-secure-credentials-scripted-browsers-api-tests/)
- Monitors should be configured to [test from all regions applicable to your users](/docs/synthetics/synthetic-monitoring/using-monitors/add-edit-monitors/#setting-location)
- Monitors should be configured for each domain and each login flow
* Data retention for browser events is at least 2x an average sprint.

## Establish current state [#current-state]

### Tune Browser Configuration

#### Review Instrumented Pages

Review Browser apps and pages to make sure that everything you expect to report back to New Relic is. You can do this by reviewing the Page Views tab in the Browser UI or running the following query:

```
SELECT uniques(pageUrl) from PageView LIMIT MAX
```

You may need to filter out URLs that contain request or customer ID.

#### Validate Browser URL Grouping

Ensure Browser segments are captured correctly so user experience performance is measurable in both the NewRelic UI as well as at the aggregate level when querying via NRQL.

A segment is the text between two `/` in a URL or between `.` of a domain name. For example, in the URL `website.com/product/widget-name`, the segments are:

* `website`
* `.com`
* `product`
* `widget-name`

When there are a lot of URLs with a lot of segments, URLs can get crushed, so that `website.com/product/widget-name` becomes `website.com/` **or** `website.com/product/`. In this example, the first crushed URL is not particularly useful, but the second one may be a useful way of aggregating customer experience data for the product.

Not sure whether you need to tune your configuration? Import the [Segment Allow List Investigation dashboard in GitHub](https://github.com/newrelic/oma-resource-center/tree/main/src/content/docs/oma/value-drivers/customer-experience/use-cases/quality-foundation#readme) to help.

![cx_segment_whitelist_investigation](./images/cx_segment_whitelist_investigation.png "Segment Allow List (Whitelist) investigation")

Once you’ve identified which segments to add, you can add them using [Segment allow lists in Browser](/docs/browser/new-relic-browser/configuration/group-browser-metrics-urls/#adding).

### Understand How You Will Segment Your Data

Make Customer Experience data understandable and actionable by breaking it out into different segments. In this case, segments refer to groups of data. It does not refer to sections of URLs, as in [segment allow lists](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/group-browser-metrics-urls/#adding).

Consider the following statements:

* Most of our users experience 3 seconds or better to first input delay.
* On average, we see 2 seconds to the largest contentful paint.
* Last week, there were 1 million page views.

Compared to:

* Most of the users in the US, Canada, and EMEA experience 2 seconds or better to first input delay. Malaysia and Indonesia users experience 4 seconds; we are looking into this.
* Customers buying car insurance typically see 1 second to largest contentful paint. For home insurance, it’s 4 seconds.
* Last week, there were 700,000 page views on mobile browser apps compared to 300,000 on desktop. Let’s make sure we’re optimizing our mobile experience.

Typical segmentation involves breaking down user experience into the following categories:

<table>
<thead>
<tr>
<th style={{ width: "150px" }}>
xx
</th>

<th>
xx
</th>
</tr>
</thead>

<tbody>
<tr>
<td>
xx
</td>

<td>
xx
</td>
</tr>

</tbody>
</table>

0 comments on commit 77d2649

Please sign in to comment.