I need to import a script on the custom checkout page. I saw a prompt that pixel code can be used. However, the script needs to use variables built into Liquid. It seems that pixel code only supports native JavaScript and cannot use Liquid variables. How can this be solved? Any help is greatly appreciated.
(我需要导入一个脚本在自定义结账页面,我看到提示可以使用像素代码,然而但脚本需要使用liquid内置得变量,像素代码似乎仅仅支持原生js,不能使用liquid变量。该如何解决呢?任何帮助都非常感激。 翻译为英文)