Contents +

What if my CMS restricts code placement?

Source: 创同盟

Date: 2024-02-01

Views: 1228

Xiao Chuang: The GTM <script> code can actually be placed anywhere on the website, but the higher the code is placed in the website's source code, the faster it loads, and therefore the more accurate the web tracking will be. However, if the CMS only allows the code to be placed within the <body> tag, that's also fine.

Note : Never place the <noscript> code within <head> on a website; all other variations are allowed. For example, both code snippets can be placed after the opening <body> tag, or both code snippets can be placed before the closing </body> tag.

CTMON

Thank you for getting in touch. Leave your email address and requirements below, and we will send you more information and respond as soon as possible.

Please enter your name

Company Name

Please enter a valid phone number

Please enter a valid email address

Please select a service

Please enter your message

You must agree to the Privacy Policy
0.337614s