A couple of things to keep in mind, even though you can have 50 websites for $9/month, the 10,000 “pageviews” is across all 50 websites. Furthermore, any custom event tracking counts towards that pageview count. That means if you have only 5,000 actual page views but have 5,000 custom events in a span of a week, you have now gone over your limit. You also don’t have to add the provider in the head of your layout. It can still wrap your application like normal. This is helpful if you embed lets say a Sanity studio into your Next.js application, you don’t want your editors messing with your analytics data.
@@colbyfayock no problem! I learned the hard way of adding it to the head and noticed I had an 18 minute visit duration and then noticed it was primarily all the sanity studio 😂
Hey, I hope I still get some answer here :D. I'm self hosting plausible and NextJS and when I click on a link to go for example to /privacy-policy, it doesn't fire an event and it doesn't track it. When I refresh the website after that, I get the event. It also works, when I write /privacy-policy into the URL. It just doesn't work when I click on the link button on the page. Does anyone know how I can fix that?
Learn how to build a full stack Next.js app in my upcoming course: colbyfayock.com/course
A couple of things to keep in mind, even though you can have 50 websites for $9/month, the 10,000 “pageviews” is across all 50 websites. Furthermore, any custom event tracking counts towards that pageview count. That means if you have only 5,000 actual page views but have 5,000 custom events in a span of a week, you have now gone over your limit.
You also don’t have to add the provider in the head of your layout. It can still wrap your application like normal. This is helpful if you embed lets say a Sanity studio into your Next.js application, you don’t want your editors messing with your analytics data.
good points, thanks for sharing!
@@colbyfayock no problem! I learned the hard way of adding it to the head and noticed I had an 18 minute visit duration and then noticed it was primarily all the sanity studio 😂
It seems that it's only 9 sites at the moment.
Great video! It seems like plausible is going to be my analytics option 🙌🏻
Thanks glad it was helpful!
@@colbyfayock absolutely! Then I saw a few other of your vids and now I’m a subscriber. Looking forward for more!
A very helpful video Colby! Thank you so much!
no problem! 🙌
Nice, this is a good walkthrough. Was looking for one now I have a good reference
glad it helped!
Excellent tutorial. Exactly what I needed!
thanks glad it helped!
Thanks Colby got this setup in 10 mins
awesome to hear that!!
Hey, I hope I still get some answer here :D. I'm self hosting plausible and NextJS and when I click on a link to go for example to /privacy-policy, it doesn't fire an event and it doesn't track it. When I refresh the website after that, I get the event. It also works, when I write /privacy-policy into the URL. It just doesn't work when I click on the link button on the page. Does anyone know how I can fix that?
Get fresh tutorials and other free content straight to your inbox! colbyfayock.com/news
Great video - amazing radio voice! :^)
thank you 😁
Great vid. Thanks
🙌
can I fetch the amount of views on a page, so for example I want my blog articles to show how many visitors
looks like they do have an API! plausible.io/docs/stats-api#get-apiv1statsaggregate