Gridsome plugin-google-analytics tracking never show up on GA plateform
That plugin you mentioned works with the Universal version of Google Analytics (which is what has the ids in the format UA-XXXXXXXXX-X
), like the example in your link:
module.exports = { plugins: [ { use: '@gridsome/plugin-google-analytics', options: { id: 'UA-XXXXXXXXX-X' // <-- Universal Analytics tracking ID } } ]}
The code you entered in the example, G-NNQ12FXXX
, refers to the new Google Analytics 4 which, being a different system from the previous one and does not work (yet) with that plugin.
So I suggest you to create a Universal Analytics type Property and use its ID (UA-XXXXX-X) with the plugin you indicated. You can find it by clicking on Show advanced options
(when you create a new property):