我在Magento网站上安装Clicky代码.我想仅在支持HTTPS的Magento页面上使用他们的HTTPS跟踪器.我怎样才能做到这一点?
我试过了
<?php if($_SERVER['https'] == 'on') : ?>
Run Code Online (Sandbox Code Playgroud)
但这不起作用.
有关识别HTTPS页面的任何建议都会有很大帮助!
谢谢.
我在此文件中添加了所有自定义入口点:\ custom\Extension\application\Ext\EntryPointRegistry\customEntryPoint.php
有没有更好的方法或地方来处理这个问题?