You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/spec/page.md
+28-14Lines changed: 28 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,46 +89,60 @@ Reserved properties we have standardized:
89
89
<tr>
90
90
<td>`name`</td>
91
91
<td>String</td>
92
-
<td>Name of the page
93
-
<p> This is reserved for future use.</p>
92
+
<td>Name of the page.
93
+
94
+
This is reserved for future use.
95
+
94
96
</td>
95
97
</tr>
96
98
<tr>
97
99
<td>`path`</td>
98
100
<td>String</td>
99
-
<td>Path portion of the URL of the page
100
-
<p> Equivalent to [`canonical path`](https://github.com/segmentio/analytics.js/blob/master/analytics.js#L6499-L6503) which defaults to [`location.pathname`](https://developer.mozilla.org/en-US/docs/Web/API/Location) from the DOM API.</p>
101
+
<td>Path portion of the URL of the page.
102
+
103
+
104
+
Equivalent to [`canonical path`](https://github.com/segmentio/analytics.js/blob/master/analytics.js#L6499-L6503) which defaults to [`location.pathname`](https://developer.mozilla.org/en-US/docs/Web/API/Location) from the DOM API.
101
105
</td>
102
106
</tr>
103
107
<tr>
104
108
<td>`referrer` </td>
105
109
<td>String</td>
106
-
<td>Full URL of the previous page
107
-
<p> Equivalent to [`document.referrer`](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) from the DOM API.</p></td>
110
+
<td>Full URL of the previous page.
111
+
112
+
113
+
Equivalent to [`document.referrer`](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) from the DOM API.</td>
108
114
</tr>
109
115
<tr>
110
116
<td>`search`</td>
111
117
<td>String</td>
112
-
<td>Query string portion of the URL of the page
113
-
<p> Equivalent to [`location.search`](https://developer.mozilla.org/en-US/docs/Web/API/Location) from the DOM API.</p></td>
118
+
<td>Query string portion of the URL of the page.
119
+
120
+
121
+
Equivalent to [`location.search`](https://developer.mozilla.org/en-US/docs/Web/API/Location) from the DOM API.</td>
114
122
</tr>
115
123
<tr>
116
124
<td>`title`</td>
117
125
<td>String</td>
118
-
<td>Title of the page
119
-
<p> Equivalent to [`document.title`](https://developer.mozilla.org/en-US/docs/Web/API/Document/title) from the DOM API.</p></td>
126
+
<td>Title of the page.
127
+
128
+
129
+
Equivalent to [`document.title`](https://developer.mozilla.org/en-US/docs/Web/API/Document/title) from the DOM API.</td>
120
130
</tr>
121
131
<tr>
122
132
<td>`url`</td>
123
133
<td>String</td>
124
-
<td>Full URL of the page
125
-
<p> First we look for the canonical url. If the canonical url is not provided, we use [`location.href`](https://developer.mozilla.org/en-US/docs/Web/API/Location) from the DOM API.</p></td>
134
+
<td>Full URL of the page.
135
+
136
+
137
+
First we look for the canonical url. If the canonical url is not provided, we use [`location.href`](https://developer.mozilla.org/en-US/docs/Web/API/Location) from the DOM API.</td>
126
138
</tr>
127
139
<tr>
128
140
<td>`keywords`</td>
129
141
<td>Array[String]</td>
130
-
<td>A list/array of kewords describing the content of the page.
131
-
<p> 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) tag for SEO purposes. This property is mainly used by content publishers that rely heavily on pageview tracking. This is not automatically collected.</p>
142
+
<td>A list/array of keywords describing the content of the page.
143
+
144
+
145
+
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) tag for SEO purposes. This property is mainly used by content publishers that rely heavily on pageview tracking. This is not automatically collected.
0 commit comments