Disable display features

Because display features can be enabled through your Google Analytics admin settings, there may be cases where you need to disable them programmatically.

To disable display features using gtag.js, set the parameter allow_display_features to false in your property's config:

gtag('config', 'GA_TRACKING_ID', { 'allow_display_features': false });