On Dub, you can create a public analytics dashboard for your short links.
This allows you to share the analytics for a given short link with clients or other external stakeholders without having to invite them to your Dub workspace.
For further control, you can also set a password for your public analytics dashboard, or enable search engine indexing for the dashboard.
In this guide, we'll go over how to set up public analytics dashboards for your Dub short links.
How to create a public analytics dashboard
To create a public analytics dashboard for a given short link, you'll need to first open up the Share Dashboard modal for the link.
There are two ways to do this:
Option 1: On the links dashboard, hover over the clicks
counter button for a given short link and click on the Share dashboard button.
Option 2: On the analytics page for a given short link, click on the Share button in the top right corner.
Then, inside the Share Dashboard modal, toggle the Enable public sharing switch to ON.
Behind the scenes, Dub creates a public page for your link's analytics and automatically copies the link to your clipboard. Here's an example.
View demo in browser ↗
Setting a password for your public analytics dashboard
You can also set a password for your public analytics dashboard to further secure the page. To do that, toggle the Password protection switch to ON and set a password in the field below.
Then, when someone visits the public analytics dashboard, they will be prompted to enter the password in order to view the page.
Enabling search engine indexing for your public analytics dashboard
If you want to enable search engine indexing for your public analytics dashboard, toggle the Search engine indexing switch to ON.
This will make the page more discoverable by search engines like Google.
Otherwise, public analytics dashboards are served with a noindex
meta tag by default, which tells search engines not to index the page.
How to disable a public analytics dashboard
Follow the same steps as the "How to create a public analytics dashboard" section above, but toggle the Enable public sharing switch to OFF.
Dub will automatically disable the public analytics page for the given link. You will still be able to view the analytics for the link on your Dub dashboard, but the public page will no longer be accessible.
Warning: By disabling a public analytics dashboard for a given link, your existing dashboard link will break and you'll have to create a new one – which will have a different URL. This action is irreversible.