xác thực google maps

Google Deploy Optimize Và Google Analytics khác nhau như thế nào

Thảo luận trong 'Thảo luận SEO' bắt đầu bởi NguyenNgocAnh, 21 Tháng sáu 2018.

Lượt xem: 1,399

  1. NguyenNgocAnh

    NguyenNgocAnh Thành viên tích cực

    Bài viết:
    440
    Đã được thích:
    88
    Chào các bác,

    Hiện em đang làm cho 1 bên nước ngoài, họ gửi cho em 2 mã và yêu cầu gắn vào code, 2 mã này e hiểu đc cái mã Google Analytics, còn 1 cái mã nữa em ko biết là dùng để làm gì và theo dõi cái gì, em post lên đây nhờ các bác tư vấn giúp em với ạ.

    PHP:
    <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create''UA-99357393-1''auto'); ga('require''GTM-NF856T4'); ga('send''pageview'); </script>
    Mã:
    <style>.async-hide { opacity: 0 !important} </style> <script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date; h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')}; (a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c; })(window,document.documentElement,'async-hide','dataLayer',4000, {'GTM-NF856T4':true});</script>
    

    [​IMG]

    [​IMG]
     

Chia sẻ trang này