Site Analytics
Last updated
Was this helpful?
Last updated
Was this helpful?
So you want to know what your users have been up to...
Fortunately, dAppling has an analytics package to make configuring your site analytics quick and easy!
Add the as a module within your project's repository. This is a very simple package that tracks page views and unique users across your site.
Add the dappling-analytics
package to your project
Inject the Analytics component into your app by adding it to your project's root (make sure to import it from the react directory). This component injects a script into your app every time a page loads that tracks the page view and user information. The information is sent to and stored in dAppling's database and displayed in the Analytics
tab of your project.
Re-deploy your app to and see your garden growing.
If you are using a Next.js project, import and add the Analytics
component to your root.
Your site is now configured with site analytics and you can watch the views roll in!
When you push the changes to your main branch, the dAppling app should trigger a production deployment with your new changes. If a new deployment is not triggered, to deploy the analytics changes.
To view your analytics, navigate to the project page on and select the 'analytics' tab. Here you can view the total number of page views for your entire site, the total number of users, the number of views per page, and your page views over time. Change the time frame for the analytics by using the dropdown menu in the top righthand corner of the page.
Fun Fact: The Silene stenophylla, a type of campion flower, was grown from a 32,000-year-old seed discovered in Siberian permafrost.