More work on this, incomplete!
Validate Build / validate-build (push) Canceled after 0s

This commit is contained in:
Cooper Dalrymple
2026-10-06 17:00:20 -05:00
parent 5f702470cc
commit b8902b4afa
23 changed files with 2138 additions and 175 deletions
+10 -1
View File
@@ -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]