函数appendScript(url) {var s = document.createElement(“脚本”);s.type = " text / javascript”;s.src = url;s.async = " true ";document.head.appendChild(年代);}
window.appendScript (https://www.jhbzcj.com/gtag/js?id=dc - 10764590);窗口。dataLayer =窗口。dataLayer | | [];函数gtag () {dataLayer.push(参数);} gtag('js', new Date());gtag(“配置”、“dc - 10764590”);
Var参与者=数据。与会者| | {};如果(数据)。page === 'login') {gtag('event', 'conversion', {allow_custom_scripts: true, 'send_to': 'DC-10764590/pagev0/nextr0+标准'});如果(数据}。page === 'portal') {gtag('event', 'conversion', {allow_custom_scripts: true, 'send_to': 'DC-10764590/pagev0/atten0+标准'});}
!函数(f, b, e、v、n, t, s){如果(f.fbq)返回;n = f.fbq =函数(){n.callMethod吗?n.callMethod.apply (n,参数):n.queue.push(参数)};如果(! f._fbq) f._fbq = n; n.push = n; n.loaded = ! 0; n.version = ' 2.0 ';n.queue = []; t = b.createElement (e); t.async = ! 0;t.src = v; s = b.getElementsByTagName (e) [0];s.parentNode.insertBefore (t, s)}(窗口、文档“脚本”,“https://connect.facebook.net/en_US/fbevents.js”);fbq(“init”,' 335276229987013 ');fbq(“跟踪”,“页面”);
(函数 () { // ----- 我们的代码 ----- // 尝试删除跟踪脚本链接在页面上是否已经存在var script1Id = ' rf-tracking-scripts-linked-in-1 var script2Id = ' rf-tracking-scripts-linked-in-2 var script1 = . getelementbyid (script1Id) var script2 = . getelementbyid (script2Id) / /脚本删除如果= null && script1. parentnode . removechild (script2) // LinkedIn需要一个包含pixelId的脚本标签var s = document.createElement("script");s.type = " text / javascript”;s.id = script1Id s.async = false;document.getElementsByTagName('head')[0].appendChild(s) var javascriptCode = '_linkedin_data_partner_id = ' + 3052188 s.appendChild(document.createTextNode(javascriptCode));// -----结束我们的代码----- var b = document.createElement(“脚本”);b.type = " text / javascript”;b.id = script2Id b.async = true;b.src = " / / snap.licdn.com/li.lms-analytics/insight.min.js”;s.parentNode。insertBefore(b, s); })();