Hi,
I would like to install the Google Tag Manager. Therefore I have two instructions. (1. Insert this code as high up as possible in the <head> of the page. 2. Also, insert this code directly after the opening <body> tag:) I have read the other threads on this, but still don’t know my way around. If I understand it correctly, I add the code under Google Services > Google Measurement ID (Google Analytics Tracking Code). Does this apply to both paragraphs?
Kind regards,
ebenanders
Hey ebenanders,
Please try this in your child theme functions.php file:
function ebenanders_add_gmt(){
?>
YOUR CODE GOES HERE
<?php
}
add_action('ava_after_body_opening_tag', 'ebenanders_add_gmt');
Best regards,
Rikard
Hi Rikard,
thank you for your help! Please provide further assistance: The Editor field does not exist on this website, how can that be?
Kind regards,
Karin
Hi,
If you have questions outside the current topic, then please open a new thread.
Best regards,
Rikard