- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4.7k
Closed
Description
Feature request
support google analytics 4
use gtag.js
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=XXXXXXXXX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-xxxxx');
</script>I applied a new media, and use Google Analytics Plugin, but it doesn't work.
The new ID is like 'G-xxxxx', not 'UA-00000000-0'
loureirorg, borttrob, nasermirzaei89, lorisleiva, alex-rupprecht and 7 more
Metadata
Metadata
Assignees
Labels
No labels