Agreed, @carlwhat, GitHub issue opened: https://github.com/lat9/ga4-analytics/issues/13
The issue can be corrected via edit to /includes/auto_loaders/config.ga4_analytics.php, changing this section
Code:
$autoLoadConfig[90][] = [
'autoType' => 'class',
'loadFile' => 'observers/class.ga4_analytics.php'
];
$autoLoadConfig[90][] = [
'autoType' => 'classInstantiate',
'className' => 'ga4_analytics',
'objectName' => 'ga4_analytics'
];
to read
Code:
$autoLoadConfig[120][] = [
'autoType' => 'class',
'loadFile' => 'observers/class.ga4_analytics.php'
];
$autoLoadConfig[120][] = [
'autoType' => 'classInstantiate',
'className' => 'ga4_analytics',
'objectName' => 'ga4_analytics'
];
Bookmarks