Skip to content

Commit

Permalink
Regsiter new instance of GTag class in main Plugin bootstrap class.
Browse files Browse the repository at this point in the history
  • Loading branch information
10upsimon committed Mar 18, 2024
1 parent cb715a9 commit b1aad5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ function() use ( $options, $activation_flag ) {
( new Core\Key_Metrics\Key_Metrics( $this->context, $user_options, $options ) )->register();
( new Core\Prompts\Prompts( $this->context, $user_options ) )->register();
( new Core\Consent_Mode\Consent_Mode( $this->context, $options ) )->register();
( new Core\Tags\GTag() )->register();

// If a login is happening (runs after 'init'), update current user in dependency chain.
add_action(
Expand Down

0 comments on commit b1aad5f

Please sign in to comment.