Skip to content

Commit 9c4d0f0

Browse files
committed
Update provider settings docs.
1 parent 703f04c commit 9c4d0f0

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

projects/ngx-google-analytics/src/lib/interfaces/i-google-analytics-settings.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ import {IGoogleAnalyticsCommand} from './i-google-analytics-command';
44
* Standardize a key-value object to configure GA installation.
55
*/
66
export interface IGoogleAnalyticsSettings {
7-
/** It's mandatory to provide a tracking code folks... */
7+
/** GA4 Tag Id ("G-XXXXXX") */
88
ga4TagId: string;
99
/**
1010
* You can inject custom initialization commands like UserId or other e-commerce features.
11-
* If set, it will run any GA Commands in sequence after setup GA environment.
11+
* If set, it will run any GA Commands in sequence after setting up GA environment.
1212
*/
1313
initCommands?: Array<IGoogleAnalyticsCommand>;
1414
/**
15-
* If Google changes the uri and I die, you can survive!
16-
* When set, it will change the default js script URI to the provided one.
15+
* Instead of the default "https://www.googletagmanager.com/gtag/js" script, you can also use tag manager script:
16+
* "https://www.googletagmanager.com/gtm.js". If you use "gtm.js", remember to also use tag manager ID:
17+
* "GTM-XXXXXX" instead of gtag id "G-XXXXXX".
1718
*/
1819
uri?: string;
1920
/** If true, trace GA tracking errors in production mode */

0 commit comments

Comments
 (0)