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
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-01 UTC."],[],[],null,["# GtagConfigParams interface\n\nA set of common Google Analytics config settings recognized by `gtag.js`.\n\n**Signature:** \n\n export interface GtagConfigParams \n\nProperties\n----------\n\n| Property | Type | Description |\n|----------------------------------------------------------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [allow_ad_personalization_signals](./analytics.gtagconfigparams.md#gtagconfigparamsallow_ad_personalization_signals) | boolean | If set to false, disables all advertising personalization with `gtag.js`. See [Disable advertising features](https://developers.google.com/analytics/devguides/collection/ga4/display-features) |\n| [allow_google_signals](./analytics.gtagconfigparams.md#gtagconfigparamsallow_google_signals) | boolean | If set to false, disables all advertising features with `gtag.js`. See [Disable advertising features](https://developers.google.com/analytics/devguides/collection/ga4/display-features) |\n| [cookie_domain](./analytics.gtagconfigparams.md#gtagconfigparamscookie_domain) | string | Defaults to `auto`. See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id) |\n| [cookie_expires](./analytics.gtagconfigparams.md#gtagconfigparamscookie_expires) | number | Defaults to 63072000 (two years, in seconds). See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id) |\n| [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) |\n| [cookie_prefix](./analytics.gtagconfigparams.md#gtagconfigparamscookie_prefix) | string | Defaults to `_ga`. See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id) |\n| [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) |\n| [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) |\n| [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) |\n| [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) |\n\nGtagConfigParams.allow_ad_personalization_signals\n-------------------------------------------------\n\nIf set to false, disables all advertising personalization with `gtag.js`. See [Disable advertising features](https://developers.google.com/analytics/devguides/collection/ga4/display-features)\n\n**Signature:** \n\n 'allow_ad_personalization_signals'?: boolean;\n\nGtagConfigParams.allow_google_signals\n-------------------------------------\n\nIf set to false, disables all advertising features with `gtag.js`. See [Disable advertising features](https://developers.google.com/analytics/devguides/collection/ga4/display-features)\n\n**Signature:** \n\n 'allow_google_signals'?: boolean;\n\nGtagConfigParams.cookie_domain\n------------------------------\n\nDefaults to `auto`. See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id)\n\n**Signature:** \n\n 'cookie_domain'?: string;\n\nGtagConfigParams.cookie_expires\n-------------------------------\n\nDefaults to 63072000 (two years, in seconds). See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id)\n\n**Signature:** \n\n 'cookie_expires'?: number;\n\nGtagConfigParams.cookie_flags\n-----------------------------\n\nAppends additional flags to the cookie when set. See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id)\n\n**Signature:** \n\n 'cookie_flags'?: string;\n\nGtagConfigParams.cookie_prefix\n------------------------------\n\nDefaults to `_ga`. See [Cookies and user identification](https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id)\n\n**Signature:** \n\n 'cookie_prefix'?: string;\n\nGtagConfigParams.cookie_update\n------------------------------\n\nIf 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)\n\n**Signature:** \n\n 'cookie_update'?: boolean;\n\nGtagConfigParams.page_location\n------------------------------\n\nThe URL of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views)\n\n**Signature:** \n\n 'page_location'?: string;\n\nGtagConfigParams.page_title\n---------------------------\n\nThe title of the page. See [Page views](https://developers.google.com/analytics/devguides/collection/ga4/views)\n\n**Signature:** \n\n 'page_title'?: string;\n\nGtagConfigParams.send_page_view\n-------------------------------\n\nWhether 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)\n\n**Signature:** \n\n 'send_page_view'?: boolean;"]]