0
我有一個已經生成的彈出式調查Jacascript代碼,顯示我的調查。我怎樣才能創建一個cookie,使其僅在用戶進入網站後30秒彈出,並且每30天只發生一次?如何爲SurveyMonkney Javascript創建一個cookie?
這裏是我的腳本文件:
(function(t, e, n, o) {
var s, c, a;
t.SMCX = t.SMCX || [], e.getElementById(o) || (s = e.getElementsByTagName(n), c = s[s.length - 1], a = e.createElement(n), a.type = "text/javascript", a.async = !0, a.id = o, a.src = ["https:" === location.protocol ? "https://" : "http://", "widget.surveymonkey.com/collect/website/js/AhN7nUpZa9_2F3gC6vSJkN3VsWkmDw6Oj7PaJqgjpmRLRGE8ot_2F8YzI1OnVSkE7Fll.js"].join(""), c.parentNode.insertBefore(a, c))
})(window, document, "script", "smcx-sdk");
任何意見將幫助!謝謝