Google Analytics

Google Analytics

Implement Google Analytics into your notion page.
Try in your page !

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.
33 comments

Gaylene

Hello, thank you very much for this work, it is really cool!I have a question if you can help me. In the attempt, I think I embedded the link more than once, but now I can't find the embed, do you know how can I check them and delete the ones that don't correspond?

about 1 year ago

Apption

Hi Gaylene. If you want full control of your Embed Apps, you need to sign up.( https://apption.co/users/sign_up ) The Apps you created after sing in, you can manage them through dashboard. ( https://apption.co/dashboards/embeds )

about 1 year ago

Damian

Hello, thank you very much for answering, I was referring to the embedded links on my Notion page, in this case the ones I used for Google Analytics, since once I added them with the embed block, I can't see them to delete it or check it

about 1 year ago

Apption

ohh I see. It's in the middle of the section you put. It is really small so you need to focus your cursor well. (or use history feature from Notion)

about 1 year ago

Damian

Thank you for all!

about 1 year ago

Sylvain

Hi! Super excited to have found this. I had found the corresponding github but I wasn't understanding how to implement. I signed up (and really like what you're doing) but I have an issue: my page is private...Is there another way to preview embed URLS?

about 1 year ago

Apption

Hey Sylvain. I don't think it's possible to track private page, since even Google cannot track your page.

about 1 year ago

Sylvain

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

about 1 year 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 1 year 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 1 year 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 1 year ago

Rache Wong

Thank You! Your guide is awesome!

about 1 year ago

Reno

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

about 1 year ago

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 1 year ago

Apption

Val, can you please send your code through help@apption.co

about 1 year ago

Apption

Renoλ‹˜ μ•ˆλ…•ν•˜μ„Έμš”, μ§€κΈˆ κ΅¬μ‘°μ—μ„œλŠ” λ„£μœΌμ‹œλ©΄ μ°ΎκΈ°κ°€ νž˜λ“€κΈ΄ν•©λ‹ˆλ‹€ γ… γ…  λΉ λ₯Έμ‹œκ°„내에 μˆ˜μ •ν•΄μ„œ μ°ΎκΈ° νŽΈν•˜λ„λ‘ λ³€κ²½ν•  μ˜ˆμ •μž…λ‹ˆλ‹€.

about 1 year ago

EB

1λ²ˆλΆ€ν„° 3번 μŠ€ν…μ€ λ‹€ν–ˆλŠ”λ° 4번 μŠ€ν…μ—μ„œ λ§‰νžˆλ„€μš”. νŠΈλ ˆν‚Ή μ•„μ΄λ””λŠ” GAμ—μ„œ λ°œν–‰λ°›μ€ μ•„μ΄λ””λ‘œ μˆ˜μ •ν–ˆλŠ”λ° μˆ˜μ •ν•΄μ•Ό ν•  ν•΄λ‹Ή λ…Έμ…˜ λ„λ©”μΈμ΄λž‘ νŽ˜μ΄μ§€κ°€ 무엇인지 ν—·κ°ˆλ¦¬λ„€μš”.

12 months ago

Sherrell

12 months ago

sohini

hey, i'm getting incorrect numbers on the user count (analytics shows user numbers higher than the number of people we have shared it with)

12 months ago

Rolo

same here, I called Google they said they can't help me.

11 months ago

Danny Smith

Hey! Is it possible to delete the embedded blocks from notion? (I can't seem to select them at all and therefore can't remove them)

10 months ago

Amanda

Does this work with the new Google Analytics 4 properties?

10 months ago

Elena

Hey Sylvain! Thanks so much for developing this tool. However, it doesn't seem to work with my Notion. I've been trying all day and the views keep staying on 0. Any chance you could help? Thanks

9 months ago

Zoe

Does this process work with google analytics 4?

9 months ago

Fateen Tahseen Alam

It doesn't seem to work

8 months ago

Tae

GA4도 μ§€μ›λ˜λŠ”κ°€μš”?

8 months ago

Jane

Doesn't work for me

7 months ago

mbash

UPDATED :: I have just made a quick solution to allows for GA-4 to for this Apption: use this link, like so -> https://svelte-notion-ga-v5.migbash.vercel.app/?gaV4_id="" inside the /embed. Although I have noticed that it only seems to work only with Safari...

7 months ago

Suraj

Also doesn't work for me

6 months ago

ada

doesnt work

6 months ago

Arufon

Guys make sure you use the Universal Analytics in the hidden option when creating google analytics. (https://support.google.com/analytics/answer/10269537)

6 months ago

Marloes

Does this also work with a normal website? I want to show the Google Analytics Data in my Notion dashboard, but I can't seem to make it work. I have an UA-ID. The part "notion.so" is changed into "flowplanners.nl" (my website), but I'm not quite sure what to put here: "YOUR_NOTION_PAGE=/whatever-i-want-to-label-my-page". Right now I have &host=flowplanners.nl&page=Google-Analytics-a191163855w264255792p238510409, but don't know whether or not it's correct.

5 months 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 ?

3 months ago
πŸ–Ό Widgets Made
74,940
πŸ”₯ Widgets Views Count
8,971,534

10 minutes ago

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