Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
after #363
  • Loading branch information
tomalec committed Feb 29, 2024
1 parent 1bdf0b6 commit 372dc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ add_action( 'wp_enqueue_scripts', function () {
region: 'ES',
} );";

wp_register_script( 'my-custom-consent-mode', '', array('woocommerce-google-analytics-integration'), null, [ 'in_footer' => true ] );
wp_register_script( 'my-custom-consent-mode', '', array('woocommerce-google-analytics-integration'), null, false );
wp_add_inline_script( 'my-custom-consent-mode', $customConsentConfig );
wp_enqueue_script( 'my-custom-consent-mode' );
} );
Expand Down

0 comments on commit 372dc75

Please sign in to comment.