---
title: "Comment by Maxi Contieri on \"Install Google Analytics On Your Hashnode Blog\" | Hashnode"
description: "nice article ! how do we add new analytics ? They are G-XXXX instead of UA-XXXXX"
url: "https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be/comment/5fe0c70c7cd4e55d1d465cfd"
---

[Discussion](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be)

Comment [Install Google Analytics On Your Hashnode Blog](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be)

[Maxi Contieri](https://hashnode.com/@mcsee)

[Dec 21, 2020](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be/comment/5fe0c70c7cd4e55d1d465cfd)

nice article !

how do we add new analytics ? They are G-XXXX instead of UA-XXXXX

[K M H Mubin](https://hashnode.com/@kmhmubin)

[Dec 21, 2020](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be/comment/5fe0c70c7cd4e55d1d465cfd#reply-5fe0f0717cd4e55d1d466101)

As far as I know, You cannot add the way UA-XXXX added. But you can add G-XXXX manually in the meta tags.

[Maxi Contieri](https://hashnode.com/@mcsee)

[Dec 21, 2020](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be/comment/5fe0c70c7cd4e55d1d465cfd#reply-5fe0f89f0134f65eed0c90aa)

[K M H Mubin](https://hashnode.com/@kmhmubin) but it is a JavaScript snippet. How would you do so in meta tags ?

[K M H Mubin](https://hashnode.com/@kmhmubin)

[Dec 23, 2020](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be/comment/5fe0c70c7cd4e55d1d465cfd#reply-5fe2f6fc77471c04b4b3031f)

[Maxi Contieri](https://hashnode.com/@mcsee) Hey, thanks for asking. I talked with the Hashnode Support Team; they said currently, new G-XXXX tags are not supported.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1608707944772/ZlZzUppNb.png)

Let's try to solve it in a new way.

The answers to the query are here,

1.  first, copy the JavaScript snippet from Google Analytics, then go to your hashnode blog **dashboard/setting** option.
2.  Select **Integrations** tab. now look at the bottom of the page; you will find out a section called **Meta Tags**
3.  Inside the **Meta Tags** option, paste the JavaScript snippets you copied from GA.

![Screenshot 2020-12-23 133528.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1608709234348/KXSQb6Tap.png) fig: selecting integration tab

![Screenshot 2020-12-23 133553.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1608709245629/NcijMHLX2.png) fig: adding JS snippets in meta tags section

---

I hope it will be work just like other JS snippets worked. I never use the new Google Analytics G-XXXX code. It might be a gamble. If it works, please let me know. I will add to my post for new members.  
Thank you.

[Maxi Contieri](https://hashnode.com/@mcsee)

[Dec 23, 2020](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be/comment/5fe0c70c7cd4e55d1d465cfd#reply-5fe3609dddcb940a6d28c9b2)

[K M H Mubin](https://hashnode.com/@kmhmubin) of course it worked !!!

Please DO add it to your post, so we can make it work together!

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1608736916876/VJ932nLuK.png)

[Kumar Ashwin Hubert](https://hashnode.com/@kumar-ashwin-hubert)

[Feb 20, 2021](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be/comment/5fe0c70c7cd4e55d1d465cfd#reply-6031591672a689446db3e109)

[Maxi Contieri](https://hashnode.com/@mcsee) does it work even now ? I tried adding the Google Tag Manager snippet, but don't see data in Google Analytics.

[Maxi Contieri](https://hashnode.com/@mcsee)

[Feb 20, 2021](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be/comment/5fe0c70c7cd4e55d1d465cfd#reply-60318f42f51caf444856261a)

[Kumar Ashwin Hubert](https://hashnode.com/@kumar-ashwin-hubert)

yes, indeed

[Vincent Tsen](https://hashnode.com/@vtsen)

[Sep 16, 2021](https://hashnode.com/posts/install-google-analytics-on-your-hashnode-blog/5fa2f94286603914943d43be/comment/5fe0c70c7cd4e55d1d465cfd#reply-6142a809b95e345575e9aa6c)

[K M H Mubin](https://hashnode.com/@kmhmubin) This doesn't seem to work for me but the UA-XXX one works.
