This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
namespace Ogre\Consent\Services;
|
||||
|
||||
use Ogre\Consent as Plugin;
|
||||
use Ogre\Consent\GoogleTagManagerService;
|
||||
use Override;
|
||||
|
||||
@@ -18,7 +19,15 @@ defined('ABSPATH') || exit;
|
||||
final class GoogleAnalytics extends GoogleTagManagerService {
|
||||
|
||||
protected function __construct() {
|
||||
parent::__construct('google-analytics', consent_id: 'analytics_storage');
|
||||
parent::__construct('google-analytics', consent_id: 'analytics_storage', title: Plugin::__('Google Analytics'));
|
||||
}
|
||||
|
||||
#[Override]
|
||||
public function get_purposes(): array
|
||||
{
|
||||
return [
|
||||
'analytics',
|
||||
];
|
||||
}
|
||||
|
||||
#[Override]
|
||||
|
||||
Reference in New Issue
Block a user