html 01_track.html

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 01_track.html相关的知识,希望对你有一定的参考价值。

<script type="text/javascript">
    var sp=sp||[];(function(){var e=["init","identify","track","trackLink","pageview"],t=function(e){return function(){sp.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var n=0;n<e.length;n++)sp[e[n]]=t(e[n])})(),sp.load=function(e,o){sp._endpoint=e;if(o){sp.init(o)};var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=("https:"===document.location.protocol?"https://":"http://")+"d21ey8j28ejz92.cloudfront.net/analytics/v1/sp.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)};
    
    sp.load("http://awt.jrcajide.com:3001"); 
    
    sp.init({
        tracking_pageview: true,      
        cookie_name: "_sp",             
        cookie_expiration: 365   
    });


    sp.identify("007", {
        email: "jhondoe@gmail.com",
        age: 30,
        gender: "male"
    });

</script>

以上是关于html 01_track.html的主要内容,如果未能解决你的问题,请参考以下文章

html 01__modal_window.html

html IF_05_01_Office_Page_HTML

html IF_04_01_Button_Event_Binding_HTML

html 01_final.html

html 01_css.html

html IF_03_01_Header_And_Footer