简体   繁体   English

Magento Google标记管理器手动

[英]Magento Google tag manager manually

I have a website which is running on Magento. 我有一个在Magento上运行的网站。 There i'd like to add a code inside the body tag of each page. 我想在每页的body标签内添加代码。 Where can i find this on my website? 在我的网站上哪里可以找到? Is this a single file or do i have to do this on every page. 这是一个文件还是我必须在每个页面上执行此操作?

Anything would be helpful. 一切都会有所帮助。

You can add it in Magento backend: 您可以在Magento后端中添加它:

  1. Log into Magento backend; 登录到Magento后端;
  2. Navigate to System→Configuration, under 'General' open 'Design', scroll down and click to extend the Html Head section; 导航到“系统”→“配置”,在“常规”下打开“设计”,向下滚动并单击以扩展“ Html Head”部分。
  3. Paste the GTM Code into the field next to Miscellaneous Scripts; 将GTM代码粘贴到“其他脚本”旁边的字段中;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM