Skip to content

Commit

Permalink
Correct missed instances of pageload to page load
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed Apr 10, 2017
1 parent 69efbed commit 0e700d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ This document lists the changes between each minor and patch versions. For chang

### 2.3.1 (2017-04-09)

- Rename misspelled `pageloadMetricIndex` option to `pageloadsMetricIndex`
- Rename misspelled `pageLoadMetricIndex` option to `pageLoadsMetricIndex`

### 2.3.0 (2017-04-07)

- Add a `sendInitialPageview` option to the `pageVisibilityTracker` plugin (#167)
- Add a `pageloadMetricIndex` option to the `pageVisibilityTracker` plugin (#167)
- Add a `pageLoadMetricIndex` option to the `pageVisibilityTracker` plugin (#167)

### 2.2.0 (2017-03-28)

Expand All @@ -22,7 +22,7 @@ This document lists the changes between each minor and patch versions. For chang

### 2.1.0 (2017-03-06)

- Fix a double-pageview bug on pageload after session timeout (#150)
- Fix a double-pageview bug on page load after session timeout (#150)
- Add a `visibleThreshold` option to `pageVisibilityTracker` (#148)

### 2.0.4 (2017-02-24)
Expand Down
2 changes: 1 addition & 1 deletion docs/common-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ga('require', 'urlChangeTracker', {
}
});
ga('send', 'pageview', {
dimension1: 'pageload'
dimension1: 'page load'
});
```

Expand Down
4 changes: 2 additions & 2 deletions docs/plugins/url-change-tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ ga('require', 'urlChangeTracker', {

### Differentiating between virtual pageviews and the initial pageview

If you want to be able to report on pageviews sent by the `urlChangeTracker` separately from pageviews sent in the initial pageload, you can use a [custom dimension](https://support.google.com/analytics/answer/2709828) to add additional metadata to the pageview hit.
If you want to be able to report on pageviews sent by the `urlChangeTracker` separately from pageviews sent in the initial page load, you can use a [custom dimension](https://support.google.com/analytics/answer/2709828) to add additional metadata to the pageview hit.

The following code uses the `fieldsObj` option to set a custom dimension at index 1 for all pageview hits sent by the `urlChangeTracker` plugin:

Expand All @@ -131,6 +131,6 @@ ga('require', 'urlChangeTracker', {
}
});
ga('send', 'pageview', {
dimension1: 'pageload'
dimension1: 'page load'
});
```

0 comments on commit 0e700d9

Please sign in to comment.