Home › Forums › WoodMart support forum › Google Anlitics – How to add it without a plugin? › Reply To: Google Anlitics – How to add it without a plugin?
January 17, 2024 at 1:10 pm
#530746
Hung Pham
Keymaster
Hi Matimti,
Please remove previous code try to add to functions.php file in Child theme.
function child_google_analytics() {
?>
<!-- Paste your Google Analytics code here and remove this message -->
<?php
}
add_action('wp_body_open', 'child_google_analytics');
Regards,