Plugin options
All available plugin options with their default values
{
enabled: true,
bootstrap: true,
onReady: null,
onError: null,
onBeforeTrack: null,
onAfterTrack: null,
customResourceURL: "https://www.googletagmanager.com/gtag/js",
customPreconnectOrigin: "https://www.googletagmanager.com",
deferScriptLoad: false,
pageTrackerTemplate: null,
pageTrackerExcludedRoutes: [],
pageTrackerEnabled: true,
pageTrackerScreenviewEnabled: false,
pageTrackerUseFullPath: false,
pageTrackerPrependBase: true,
pageTrackerSkipSamePath: true,
disableScriptLoad: false,
appName: null,
globalDataLayerName: "dataLayer",
globalObjectName: "gtag",
defaultGroupName: "default",
includes: null,
config: {
id: null,
params: {
send_page_view: false,
},
},
}
Last updated