Google Analytics

Google Analytics

27.4K
Implement Google Analytics into your notion page.
Try in your page ! (demo)

paste the url into your Notion page's /embed block.

1. Go to your Google Analytics dashboard and Click "Set up for free." 2. Create account -> select Web -> Fill property set up (use your URL from step 1) -> click create If you have your own domain for your page, use yours instead of 'notion.so' 3. After creating, you will face your 'Tracking ID' like below. 4. Build your Embedding URL using Tracking ID, domain, page info to below. Embedding URL template (don't paste this directly. make sure you put your OWN information)
https://notion-ga.astrocket.vercel.app/collect?tid=YOUR_TRACKING_ID&host=YOUR_NOTION_DOMAIN&page=YOUR_NOTION_PAGE
Example)
YOUR_TRACKING_ID=UA-171288301-1
YOUR_NOTION_DOMAIN=notion.so
YOUR_NOTION_PAGE=/whatever-i-want-to-label-my-page

https://notion-ga.astrocket.vercel.app/collect?tid=UA-171288301-1&host=notion.so&page=/whatever-i-want-to-label-my-page
- if you have your own domain. use your domain for YOUR_NOTION_DOMAIN. (it has to be identical with Google Analytics domain. - YOUR_NOTION_PAGE can be anything. It will be referred to a page in the Google Analytics dashboard. 5. Paste the Embedding URL from Step 5. into your Notion page's Embed block. Hooray! πŸŽ‰πŸŽ‰ Got your first GA stats.
35 comments

Val

I'm using custom URL for my notion page - this method doesn't seem to work... I tried with both notion.so domain and my custom domain - any thoughts on how I could get this to work in my case?

about 2 years ago

Reno

링크λ₯Ό 넣은 후에 μˆ˜μ •ν•˜λ €κ³  μœ„μΉ˜λ₯Ό 찾기에 어렀움이 μžˆμŠ΅λ‹ˆλ‹€. μ‰½κ²Œ μ°Ύμ„μˆ˜ μžˆλŠ” 방법 ν˜Ήμ€ 팁이 μžˆμ„κΉŒμš”?

about 2 years ago

Rache Wong

Thank You! Your guide is awesome!

about 2 years ago

Sylvain

Done, thanks! Would love any help regarding the 1st question...I tried what you mentioned to Damian but couldn't figure it out.

about 2 years ago

Apption

Hi Sylvain. Regarding your second question, we are currently developing in-apption GA integration feature. (like our Comments for Notion). Please subscribe on mailing list to get notified if you are interested. Thanks :)

about 2 years ago

Sylvain

However, 2 questions: 1. Can you detail how to find the added GA link? Before I add some everywhere I want to be sure I can delete them...Should it be visible? Should my cursor change? 2. How would you go about adding the tracking embed URL to a Notion page that is a table? I can't figure out a way.

about 2 years ago

Sylvain

It looks like it's working though. Happy to exchange on that in private.

about 2 years ago

looking for something else?

πŸ–Ό Widgets Made
224,373
πŸ”₯ Widgets Views Count
29,624,774

11 minutes ago

Apption for Notion - Find & learn Notion friendly embeddable mini apps | Product Hunt Embed