你好,我已经安装了Google标签
design/themes/[YOUR THEME]/templates/addons/my_changes/hooks/index/main_content.pre.tpl
一切都很好,除了谷歌标签助手给我以下错误
<script> tag must not be included in a <div>
我将感谢任何帮助
请将文件重命名为content.pre.tpl
也请确保文档看起来像这样:
{literal}
google tag manager code
{/literal}