!function (e) {
    if (!window.ThinkingDataAnalyticalTool) {
        var n = e.sdkUrl, t = e.name, r = window, a = document, i = "script", l = null, s = null;
        r.ThinkingDataAnalyticalTool = t;
        var o = ["track", "quick", "login", "identify", "logout", "trackLink", "userSet", "userSetOnce", "userAdd", "userDel", "setPageProperty", "setSuperProperties", "setDynamicSuperProperties", "clearSuperProperties", "timeEvent", "unsetSuperProperties", "initInstance", "trackFirstEvent", "trackUpdate", "trackOverwrite"];
        r[t] = function (e) {
            return function () {
                if (this.name) (r[t]._q = r[t]._q || []).push([e, arguments, this.name]); else if ("initInstance" === e) {
                    var n = arguments[0];
                    r[t][n] = {name: n};
                    for (var a = 0; a < o.length; a++) r[t][n][o[a]] = r[t].call(r[t][n], o[a]);
                    (r[t]._q1 = r[t]._q1 || []).push([e, arguments])
                } else (r[t]._q = r[t]._q || []).push([e, arguments])
            }
        };
        for (var u = 0; u < o.length; u++) r[t][o[u]] = r[t].call(null, o[u]);
        r[t].param = e, r[t].__SV = 1.1, l = a.createElement(i), s = a.getElementsByTagName(i)[0], l.async = 1, l.src = n, s.parentNode.insertBefore(l, s)
    }
}(
    {
        appId: 'fhyx-js', //系统分配的APPID
        name: 'fhyx_ta', //全局的调用变量名，可以任意设置，后续的调用使用该名称即可
        sdkUrl: 'https://static.fhyx.com/js/lib/thinkingdata.min.js', //统计脚本URL
        serverUrl: 'https://shushu-client.fhyx.com', //数据上传的URL
        autoTrack: {
            pageShow: false, //开启页面展示事件，事件名ta_page_show
            pageHide: false, //开启页面隐藏事件，事件名ta_page_hide
        },
        loaded: function (ta) {
            // var currentId = ta.getDistinctId();
            // ta.identify(currentId);
            // ta.quick('autoTrack');
        },
        showLog:false
    });
