Google跟踪代码管理器,自定义HTML跟踪代码和PHP

时间:2020-09-02 08:24:26

标签: javascript php google-tag-manager

实际上,可以在Google跟踪代码管理器中使用自定义HTML代码,例如

<img src="//ad.miodominio.it/scripts/sale.php?ProductID=test&AccountId=default1&OrderID={{variabile}}" width="1" height="1">

出于安全原因,有些人更喜欢使用支持的标签(https://support.google.com/tagmanager/answer/6106924?hl=en)或Google批准的自定义模型(https://tagmanager.google.com/gallery/#/?page=1)。

有一个教程将自定义HTML标记转换为沙盒javascript标记(https://developers.google.com/tag-manager/templates/convert-existing-tag),但我认为这种方式仅适用于javascript标记。

问题:是否可以将基于php的标记转换为沙盒javascript标记?

0 个答案:

没有答案
相关问题