Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cập nhật code google analytics mới #2981

Closed
truongemcom opened this issue Jul 26, 2020 · 4 comments
Closed

Cập nhật code google analytics mới #2981

truongemcom opened this issue Jul 26, 2020 · 4 comments
Assignees

Comments

@truongemcom
Copy link

Hiện tại Google đã thay đổi code thống kê: Google analytics.
Vậy mong đội code hướng dẫn giúp để cập nhật mã mới này. Cảm ơn nhiều!

@hoaquynhtim99
Copy link
Contributor

@truongemcom chắc bạn nói cái mới là googletagmanager phải không?

@truongemcom
Copy link
Author

đúng rồi, google nó chuyển sang gtag.js rồi

@hoaquynhtim99
Copy link
Contributor

hoaquynhtim99 commented Aug 5, 2020

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxx-y"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-xxxx-y');
</script>

@truongemcom
Copy link
Author

ý là trong code NukeViet vẫn còn là bản cũ, sửa ở file nào để cập nhật cái mới này vào đó bạn ơi!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants