Google Analytics

Google Analytics

52.2K
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.
39 comments

_1 OR 2+953_953_1=0+

1

about 1 year ago

Heyo

GA4, can't use UA, RIP

about 1 year ago

no work

doesn't work

about 2 years ago

Stanislas BASQUIN

Really Hard to implement, I haven't figured out how to make it work, on both GA4 and UA. The views are working though inside Apption but G-Analytics doesn't count them

over 2 years ago

Yas

Also doesn't work for me

over 2 years ago

David Hahn

I don't think it's working... :-(

over 2 years ago

Rames

Hi guys, works well for me ! A question though : is it normal that all geographic data comes from San José, CA ? Is there a way to get around this issue and have the real insights about users ?

over 3 years ago

looking for something else?

🖼 Widgets Made
468,095
🔥 Widgets Views Count
69,188,830

12 minutes ago

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