Skip to content

Commit a69d4ab

Browse files
Merge pull request #7863 from segmentio/doc-1178
Update page.md to match style guide
2 parents c8fb008 + 01225b6 commit a69d4ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/connections/spec/page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Page call lets you record whenever a user sees a page of your website, along
88

99
{% include components/reference-button.html href="https://university.segment.com/introduction-to-segment/299969?reg=1&referrer=docs" icon="media/academy.svg" title="Segment University: The Page Method" description="Check out our high-level overview of the Page method in Segment University. (Must be logged in to access.)" %}
1010

11-
**Note: In `analytics.js` a Page call is included in the snippet by default** just after `analytics.load`. Many destinations require this page event to be fired at least once per page load for proper initialization. You may add an optional `name` or `properties` to the default call, or call it multiple times per page load if you have a single-page application.
11+
**Note: In `analytics.js` a Page call is included in the snippet by default**, just after `analytics.load`. Many destinations require a page event to be fired at least once per page load for proper initialization. You can add an optional `name` or `properties` object to the default call, or make a Page call multiple times per page load if you have a single-page application.
1212

1313
Here's the payload of a typical Page call with most [common fields](/docs/connections/spec/common/) removed:
1414

@@ -101,4 +101,4 @@ Reserved properties Segment has standardized:
101101
| `url` | String | Page's full URL. Segment first looks for the canonical URL. If the canonical URL is not provided, Segment uses [`location.href`](https://developer.mozilla.org/en-US/docs/Web/API/Location){:target="_blank"} from the DOM API. |
102102
| `keywords` | Array [String] | A list/array of keywords describing the page's content. The keywords would most likely be the same as, or similar to, the keywords you would find in an HTML [meta](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#Attributes){:target="_blank"} tag for SEO purposes. This property is mainly used by content publishers that rely heavily on pageview tracking. This isn't automatically collected. |
103103

104-
**Note:** In [analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/), Segment automatically sends the following properties: `title`, `path`, `url`, `referrer`, and `search`.
104+
**Note:** In [Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/), Segment automatically sends the following properties: `title`, `path`, `url`, `referrer`, and `search`.

0 commit comments

Comments
 (0)