EF.configure({
// You only need to set the tracking domain you want to use
tracking_domain: 'https://<tracking-domain>.com',
})
如果使用国家预防机制模块,Everflow SDK实例会被导出为默认.
const EverflowSDK = require('@everflow/everflow-sdk');
EverflowSDK.configure({
// You only need to set the tracking domain you want to use
tracking_domain: 'https://<tracking-domain>.com',
})
// before
scheme := "http"
// after
scheme := "https"
创建一个 index.html 与在提议中找到的跟踪脚本有关的文件,在跟踪卡中:
<!DOCTYPE html>
<html>
<body>
<!-- paste the script from the offer's Tracking card here -->
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>