Changelog

All the latest updates, improvements, and fixes to Dub.co

Subscribe to updates →

New sidebar navigation layout

New sidebar navigation layout

Today, we're excited to share a fresh new look for Dub's dashboard.

We've redesigned our dashboard to a sidebar navigation layout instead of our previous top-navbar layout. This is part of our effort to make our dashboard more powerful and support our growing product offering in the future.

A few other fixes and improvements that we shipped:

Signup with email and password

Signup with email and password

You can now sign up for a Dub account with an email and password.

Previously, we only supported single-sign-on (SSO) via Google and GitHub. This was limiting for users who were not using Google or GitHub.

Now, you can sign up with your work email + password, and you'll receive a one-time passcode (OTP) to complete your signup.

Full Referer URLs in Analytics

Full Referer URLs in Analytics

You can now see the full referer URL in Dub Analytics. If you're a Business customer, you can also see the full referer URL in the Real-time Events Stream dashboard.

Before, we only showed the domain of the referer (e.g. dub.co). Now, you can see the full URL (e.g. dub.co/pricing), which is helpful for understanding the specific URL where your users are clicking on your links.

Learn more about how you can use this to track internal traffic/product-led growth, or check out the live demo here (scroll to the Referers section and click on the Referer URLs tab).

New Onboarding Flow

New Onboarding Flow

We've revamped our onboarding flow to make it more intuitive and beginner-friendly.

This is a huge improvement on our old flow, with simplified, guided steps for:

  • creating a link
  • adding a custom domain
  • inviting a teammate

Feel free to sign up for an account and try it out here.

CSV Import

CSV Import

Login with password

Login with password

You can now login to your Dub account with an email and password. This is convenient if you use a password manager and prefer to login with password instead of an email magic link.

If you have a Dub account, you can set up a password for it by going to your Account Security settings and selecting Create account password.

Note that this only applies to existing Dub users – we will be adding email + password sign up for new users soon.

Continents support in analytics

Continents support in analytics

You can now filter your analytics by continents. This is a great way to see which continents are driving the most traffic to your links.

Here's the full list of supported continents: Africa, Asia, Europe, North America, South America, Oceania, Antarctica.

You can also filter by continents when you export your analytics data.

Notifications Center

Notifications Center

We've introduced a new Notifications Center to help you keep track of important events in your workspace.

You can also choose to subscribe or unsubscribe to various email notifications (e.g. monthly summary emails, domain configuration updates, etc.).

Export links to CSV

Export links to CSV

You can now export your workspace's links to a CSV file. This is useful if you want to analyze the data locally or share them with an external stakeholder.

Learn how to export your links to CSV.

Improvements to domain management flow

Improvements to domain management flow

Advanced link features for root domain links

Advanced link features for root domain links

New Date Range Picker for custom date ranges

New Date Range Picker for custom date ranges

We've added a new Date Range Picker to our Analytics dashboard to make it easier to select custom date ranges for your reports.

You can select from a few preset date ranges like "Last 30 days", "Last 3 months", "Year to Date", or choose a custom date range. Here's a live demo for you to try it out.

This is also supported in our API via the start and end query parameters. Here's an example:

get-analytics.ts
import { Dub } from "dub";
 
const dub = new Dub();
 
const data = await dub.analytics.retrieve({
  groupBy: "timeseries",
  start: "5 days ago", // natural language is supported
  end: new Date(Date.now()),
});
 
console.log(data); // [{ start: "2024-05-17", clicks: 69 }, { start: "2024-05-18", clicks: 42 }, ...]

Check out the docs to learn more.

noindex Support

noindex Support

If you're using Dub with a custom domain, your short links are now served with a noindex response header by default to prevent search engines from indexing them.

This helps avoid issues with Google Search console where short links might be indexed and show up in search results, which could potentially have a negative SEO impact.

Learn more about how the we handle noindex for short links on Dub.

mailto Links Support

mailto Links Support

mailto: links are now supported on Dub! Here's an example: d.to/mailto-feedback

You can now create short links that open the user's default email client with a pre-filled email.

This is useful for creating email links in your marketing campaigns or contact pages.

DX Improvements

DX Improvements

We've made a few DX (Developer Experience) improvements to our API:

1. New externalId prop for simplified link management

You can now set an externalId prop when creating a short link to associate it with a link in your database. This lets you use your own link ID to retrieve or update the link, which eliminates the need to store the Dub-generated ID in your database.

Read this blog post to see it in action.

2. Arbitrary start and end parameters for analytics endpoints

All our analytics endpoints now support passing arbitrary start and end query parameters for retrieving analytics data within a specific time range. We will be adding support for this in our dashboard soon, but you can start using it now with the API.

Check out the API and SDK docs to learn more.

3. New upsert method for efficient link creation

We added a new dub.links.upsert method for you to create or update a link in one API call. With upsert, you can shorten a URL once and all subsequent calls with that URL will return the same short link. This helps you optimize your links usage by not creating duplicate short links.

Check out the API and SDK docs to learn more.

In-app help portal

In-app help portal

We've added an in-app help portal to help you with any questions you may have about Dub.

You can access the help portal by clicking on the ? button at the bottom right corner of the screen.

The help portal contains articles on how to use Dub, answers to frequently asked questions, and a way to easily contact our support team if you can't find the answer you're looking for.

Transfer domains between workspaces

Transfer domains between workspaces

You can now easily transfer your custom domains from one Dub workspace to another, making it easier to transfer ownership of domains between different teams or organizations.

Learn more about how you can transfer domains between workspaces in just a few clicks.

Custom Expiration URLs

Custom Expiration URLs

Export Link Analytics

Export Link Analytics

You can now export your link analytics on Dub.co to a CSV file.

This is a great way to analyze your link data in a spreadsheet or import it into another business intelligence (BI) tool like Tableau or Power BI.

Learn how to export your link analytics to a CSV file in our help center article.

Introducing Workspaces

Introducing Workspaces

Workspaces are a new way to organize your links and collaborate with your team on Dub.

They replace the old concept of "Projects" on Dub and are designed for teams at companies of all sizes. You can create a workspace for your team and:

If you're a Dub API user, here are some changes you should be aware of:

  • The projectSlug query parameter has now been replaced by workspaceId, which can be found under your Workspace's Settings tab. We will still support the projectSlug query parameter for backward compatibility, but we recommend using workspaceId for new integrations.