Skip to content

Commit dc11a27

Browse files
authored
update page-view links in analytics docs (#7994)
1 parent 4d88f08 commit dc11a27

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

docs-devsite/analytics.gtagconfigparams.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ export interface GtagConfigParams
2929
| [cookie\_flags](./analytics.gtagconfigparams.md#gtagconfigparamscookie_flags) | string | Appends additional flags to the cookie when set. See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id) |
3030
| [cookie\_prefix](./analytics.gtagconfigparams.md#gtagconfigparamscookie_prefix) | string | Defaults to <code>_ga</code>. See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id) |
3131
| [cookie\_update](./analytics.gtagconfigparams.md#gtagconfigparamscookie_update) | boolean | If set to true, will update cookies on each page load. Defaults to true. See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id) |
32-
| [page\_location](./analytics.gtagconfigparams.md#gtagconfigparamspage_location) | string | The URL of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/page-view) |
33-
| [page\_title](./analytics.gtagconfigparams.md#gtagconfigparamspage_title) | string | The title of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/page-view) |
34-
| [send\_page\_view](./analytics.gtagconfigparams.md#gtagconfigparamssend_page_view) | boolean | Whether or not a page view should be sent. If set to true (default), a page view is automatically sent upon initialization of analytics. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/page-view) |
32+
| [page\_location](./analytics.gtagconfigparams.md#gtagconfigparamspage_location) | string | The URL of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views) |
33+
| [page\_title](./analytics.gtagconfigparams.md#gtagconfigparamspage_title) | string | The title of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views) |
34+
| [send\_page\_view](./analytics.gtagconfigparams.md#gtagconfigparamssend_page_view) | boolean | Whether or not a page view should be sent. If set to true (default), a page view is automatically sent upon initialization of analytics. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views) |
3535

3636
## GtagConfigParams.allow\_ad\_personalization\_signals
3737

@@ -105,7 +105,7 @@ If set to true, will update cookies on each page load. Defaults to true. See [Co
105105

106106
## GtagConfigParams.page\_location
107107

108-
The URL of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/page-view)
108+
The URL of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views)
109109

110110
<b>Signature:</b>
111111

@@ -115,7 +115,7 @@ The URL of the page. See [Page views](https://developers.google.com/analytics/de
115115

116116
## GtagConfigParams.page\_title
117117

118-
The title of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/page-view)
118+
The title of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views)
119119

120120
<b>Signature:</b>
121121

@@ -125,7 +125,7 @@ The title of the page. See [Page views](https://developers.google.com/analytics/
125125

126126
## GtagConfigParams.send\_page\_view
127127

128-
Whether or not a page view should be sent. If set to true (default), a page view is automatically sent upon initialization of analytics. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/page-view)
128+
Whether or not a page view should be sent. If set to true (default), a page view is automatically sent upon initialization of analytics. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views)
129129

130130
<b>Signature:</b>
131131

docs-devsite/analytics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The Firebase Analytics Web SDK. This SDK does not work in a Node.js environment.
4242
| [logEvent(analyticsInstance, eventName, eventParams, options)](./analytics.md#logevent_800159e) | Sends a Google Analytics event with given <code>eventParams</code>. This method automatically associates this logged event with this Firebase web app instance on this device.<!-- -->See [Measure exceptions](https://developers.google.com/analytics/devguides/collection/ga4/exceptions)<!-- -->. |
4343
| [logEvent(analyticsInstance, eventName, eventParams, options)](./analytics.md#logevent_9c11aa9) | Sends a Google Analytics event with given <code>eventParams</code>. This method automatically associates this logged event with this Firebase web app instance on this device.<!-- -->List of recommended event parameters can be found in [the GA4 reference documentation](https://developers.google.com/gtagjs/reference/ga4-events)<!-- -->. |
4444
| [logEvent(analyticsInstance, eventName, eventParams, options)](./analytics.md#logevent_1f3f282) | Sends a Google Analytics event with given <code>eventParams</code>. This method automatically associates this logged event with this Firebase web app instance on this device.<!-- -->List of recommended event parameters can be found in [the GA4 reference documentation](https://developers.google.com/gtagjs/reference/ga4-events)<!-- -->. |
45-
| [logEvent(analyticsInstance, eventName, eventParams, options)](./analytics.md#logevent_0792e28) | Sends a Google Analytics event with given <code>eventParams</code>. This method automatically associates this logged event with this Firebase web app instance on this device.<!-- -->See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/page-view)<!-- -->. |
45+
| [logEvent(analyticsInstance, eventName, eventParams, options)](./analytics.md#logevent_0792e28) | Sends a Google Analytics event with given <code>eventParams</code>. This method automatically associates this logged event with this Firebase web app instance on this device.<!-- -->See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views)<!-- -->. |
4646
| [setAnalyticsCollectionEnabled(analyticsInstance, enabled)](./analytics.md#setanalyticscollectionenabled_494179c) | Sets whether Google Analytics collection is enabled for this app on this device. Sets global <code>window['ga-disable-analyticsId'] = true;</code> |
4747
| [setCurrentScreen(analyticsInstance, screenName, options)](./analytics.md#setcurrentscreen_a6168fa) | Use gtag <code>config</code> command to set <code>screen_name</code>. |
4848
| [setUserId(analyticsInstance, id, options)](./analytics.md#setuserid_86d82f6) | Use gtag <code>config</code> command to set <code>user_id</code>. |
@@ -780,7 +780,7 @@ void
780780

781781
Sends a Google Analytics event with given `eventParams`<!-- -->. This method automatically associates this logged event with this Firebase web app instance on this device.
782782

783-
See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/page-view)<!-- -->.
783+
See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views)<!-- -->.
784784

785785
<b>Signature:</b>
786786

packages/analytics-types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export interface FirebaseAnalytics {
197197
* automatically associates this logged event with this Firebase web
198198
* app instance on this device.
199199
* See
200-
* {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view
200+
* {@link https://developers.google.com/analytics/devguides/collection/ga4/views
201201
* | Page views}.
202202
*/
203203
logEvent(

packages/analytics/src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ export function logEvent(
441441
* app instance on this device.
442442
* @public
443443
* See
444-
* {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view
444+
* {@link https://developers.google.com/analytics/devguides/collection/ga4/views
445445
* | Page views}.
446446
*/
447447
export function logEvent(

packages/analytics/src/public-types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ export interface GtagConfigParams {
2727
* Whether or not a page view should be sent.
2828
* If set to true (default), a page view is automatically sent upon initialization
2929
* of analytics.
30-
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view | Page views }
30+
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/views | Page views }
3131
*/
3232
'send_page_view'?: boolean;
3333
/**
3434
* The title of the page.
35-
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view | Page views }
35+
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/views | Page views }
3636
*/
3737
'page_title'?: string;
3838
/**
3939
* The URL of the page.
40-
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view | Page views }
40+
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/views | Page views }
4141
*/
4242
'page_location'?: string;
4343
/**

packages/firebase/compat/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4959,7 +4959,7 @@ declare namespace firebase.analytics {
49594959
* automatically associates this logged event with this Firebase web
49604960
* app instance on this device.
49614961
* See
4962-
* {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view
4962+
* {@link https://developers.google.com/analytics/devguides/collection/ga4/views
49634963
* | Page views}.
49644964
*/
49654965
logEvent(

0 commit comments

Comments
 (0)