Dear support,
google tag manager code is a other thing as the google analytics code.
what is the best and really working way to include the gtm code in enfold?
The way over “google services” in enfold options is not the right way….
What is the right way to inside teh gtm code?
Show GTM Code:
Copy and paste the code below on every page of your website. Paste this code as close to the top of the page as possible.
<!– Google Tag Manager –>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’: …..
Also, add this code right after the opening tag: <!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html? ….
Please give me the right, good script for functions.php or other files.
So many thanks!
Hey,
Thanks for contacting us!
You can refer to this post – https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#add-a-script-to-head-section and add your code to functions.php file of your child theme :)
Best regards,
Yigit
Yigit ….
how do I combine the two entries <head> and after open <bod> in this script??