Changelog

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

Subscribe to updates →

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:

import { Dub } from "dub";

const dub = new Dub({ workspaceId: "ws_xxx" });

const data = await dub.analytics.clicks.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.
  • You can now create new workspaces programmatically via the POST /workspaces endpoint.
Updates to link redirect status codes on Dub.co

Updates to link redirect status codes on Dub.co

Short links on Dub.co now redirect with a 302 status code by default.

On the other hand, for root domain redirects, Dub uses 301 redirects for maximum SEO value.

Learn more about the differences between 301 and 302 redirects in our latest blog post.

Workspace Invite Links

Workspace Invite Links

You can now invite your teammates to join your workspace on Dub.co via an invite link.

This is especially useful if you have a large team and want to invite multiple people at once. You can also use this feature to invite people who are not yet on Dub.co.

Learn more about workspace invite links.

Destination URL Analytics

Destination URL Analytics

Unlike other link management tools, Dub.co lets you update the destination URL for your short links as many time as you want.

Now, you can see the historical analytics for each destination URL variation for a Dub.co short link – sorted by their respective number of clicks.

Transfer links between workspaces

Transfer links between workspaces

You can now easily transfer your Dub.co short links from one workspace to another, making it easier to manage or reorganize your links.

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

Edited links now retain their analytics

Edited links now retain their analytics

You can now safely edit your short links on Dub.co and they will retain their analytics history.

In the past, editing a short link (e.g. d.to/abcd.to/xyz) would reset the analytics history for the link, which wasn't ideal. Well, not anymore!

This is helpful when you need to update a link for any reason (e.g. company rebrands). Analytics for the link will now be preserved and will continue to accumulate from where it left off.

Sign In With GitHub

Sign In With GitHub

You can now sign in to your Dub.co account with GitHub.

If you have an existing Dub.co account with an email address that matches your GitHub account, you can sign in with either method moving forward.

Links on Dub are now case-insensitive

Links on Dub are now case-insensitive

Short links on Dub are now case-insensitive by default.

This means that if you have a short link d.to/GitHub, you can now access it via d.to/Github or d.to/github – and the click events will be aggregated under the lowercase version of the link.

This will help prevent broken links when users accidentally type the wrong case.

Updates to dub.sh Links

Updates to dub.sh Links

You can now use the default domains on Dub (e.g. dub.sh, chatg.pt, spti.fi, amzn.id) inside your Dub workspace.

As part of this change, all personal links have also been migrated to a workspace on Dub. You can find your personal links under a workspace named after your name or email.

This also means that you can now use dub.sh links with our REST API.

Rebrandly Migration Assistant

Rebrandly Migration Assistant

We've built a tool to help you migrate your Rebrandly links to Dub.

With the Rebrandly migration assistant, all you need to do is enter your Rebrandly API key, choose the domains & tags you want imported, and we'll handle the rest!

Learn more about the Rebrandly migration assistant in our help center.

Bot clicks are no longer counted

Bot clicks are no longer counted

Clicks by bots are no longer counted for Dub-powered links.

Some examples of bots include search engine crawlers (GoogleBot), social media bots (Twitterbot), and link preview bots (Slackbot-LinkExpanding).

In the past, we've received feedback that bots were inflating the click counts for Dub-powered links. This update will help to address that.

Deduplicate Clicks Tracking

Deduplicate Clicks Tracking

Clicks on Dub-powered links are now deduplicated for better tracking accuracy.

In the past, we've received feedback that duplicate clicks from the same IP address can be misleading – especially for affiliate link tracking.

From now on, Dub will only count the first click from each IP address within a 1-hour period. This will help you get a more accurate picture of your link performance.

Improvements to Password-Protected Links

Improvements to Password-Protected Links

We've made a few improvements to password-protected links on Dub.

  • Clicks on password-protected links are only tracked when the correct password is entered
  • You can now pass a pw query parameter to the link to automatically authenticate and redirect the user to the destination URL (shoutout to Alex for the feature request)
  • On a Pro plan and above, you can now set a custom logo for your password-protected links
  • Previously, password-protected links didn't work with geo/device-targeting. This has been fixed.

Learn more about password-protected links here.

Sort Links by Last Clicked Date

Sort Links by Last Clicked Date

You can now quickly access the last clicked date for your short links simply by hovering over the click count badge on your links.

You can also sort your links by their last clicked date to see which links are still active and which are not.

Shoutout to Patrick for the feature request!

Link Inspector

Link Inspector

You can now inspect short links on Dub by adding a + sign to the end of the short link.

For example, if you want to inspect the short link https://d.to/github, you can visit https://d.to/github+ to see the destination URL for the short link.

You can also report a short link if you think it is malicious or spam – learn more.

Redirect users based on their location

Redirect users based on their location

You can now redirect your users to different links based on their location.

This is useful if you want to do location-based personalization. For example, you can redirect your UK users to a UK-specific landing page, with the rest of the world going to your global landing page.

Learn more about Geo Targeting.

Add comments to your links

Add comments to your links

Update (Dec '23): You can now use hyperlinks in your comments – shoutout to Aakash for the PR!

You can now use comments to add context to your short links – for you and your team.

Learn more about link comments.

Unsplash Integration

Unsplash Integration

You can now search for the best thumbnail image for your short link using our new Unsplash integration.

This is a significant improvement to our Custom Social Media Cards feature, which allows you to customize the title, description, and image of your short link when sharing on social media.

Alternatively, you can also paste a URL to an image of your choice or upload / drag-and-drop an image from your computer to use as the thumbnail image.

Check out a demo of this feature.

Pagination

Pagination

You can now paginate through your links in the Dub dashboard.

This is useful if you have a lot of links and want to browse through them quickly.

Shoutout to Alex Bass from Efficient for the feature request!

Mask Your Destination URL

Mask Your Destination URL

You can now mask your destination URL with your short link using the new link cloaking feature.

When link cloaking is enabled, your short link will be shown in your users' browser address bar when they visit your link instead of the destination URL.

Learn more about Link Cloaking in our help center.

Custom QR Codes

Custom QR Codes

You can now set custom QR codes for your links on Dub's Pro plan.

This is useful for creating personalized QR codes to make your promotional material stand out from the crowd.

Learn more about custom QR codes on Dub.

Detailed Link Stats

Detailed Link Stats

We've added "View All" buttons for the Locations, Devices, and Referrer sections on the Link Stats page.

When clicked, this opens up a modal that lets you explore all data points for a given section via a fuzzy search interface. Here's an example.

This is helpful for sections like City that tend to have a lot of data points. Instead of scrolling through a long list, you can now search for a specific city.

Learn more about how you can create links and beautiful stats pages like this on Dub.

Improved Link Cards

Improved Link Cards

We've improved the design of link cards on Dub to make them more readable – without sacrificing functionality.

The QR Code modal has been moved to the dropdown on the right. It can also be accessed via the q keyboard shortcut.

The link creation timestamp has been converted to absolute timestamps (e.g. Mar 26) for links created more than 24 hours ago. This is similar to the way Twitter displays timestamps, and has better readability (as opposed to 110d ago).

Shoutout to Sean, Alex, and Jason for the feedback!

Monthly Summaries

Monthly Summaries

We're excited to launch monthly summaries – a monthly email newsletter that gives you an overview of your Dub activity for the month.

This includes statistics like:

  • Total number of clicks across all links
  • Number of new links created
  • Top 5 best performing links

Shoutout to Mahmoud for the feature request!

New Tag Creation Flow

New Tag Creation Flow

We're improving the way you create tags on Dub.

Instead of a separate link tagging modal, we've combined it with the link creation flow. This makes it easier to create tags, and also allows you to add tags to your links as you create them.

Here's a quick 2-min Loom video explaining the difference between the old and new flows.

Shoutout to Fazle from Hashnode for the feature request!

Learn more about how to use tags in this help article.

Pass URL Parameters to Destination URL

Pass URL Parameters to Destination URL

You can now pass URL query parameters (utm_source, ref, etc.) from your short link to its destination URL.

If there are any duplicate parameters, the parameter in the short link will override its counterpart in the destination URL.

For example:

Team Invites

Team Invites

You can now invite teammates to your Dub workspace. This is useful if you want to collaborate with your team on a workspace.

Note: You can only invite teammates on a Pro plan or above. Learn more about inviting teammates.

Sign In With Google

Sign In With Google

You can now sign in to your Dub account with Google.

We're also deprecating email sign ups as they have been a constant source of spam and abuse (via phishing links).

If you have an existing Dub account, you will still be able to sign in with email, but we recommend connecting your Google account to enable Google sign in moving forward.

We've also added a "Delete Account" feature to the settings page. You can now delete your Dub account and all associated data, if that's what you want to do.

All-Time Link Stats

All-Time Link Stats

You can now view the all-time statistics for each of your Dub shortlinks via the "All Time" filter option.

Note: This is a Pro-only feature, along with the 90-day ("Last 3 months") filter.

Shoutout to Matt for the feature request!

Introducing Tags

Introducing Tags

Update (July 2, 2023): We are changing the way you create tags on Dub (changelog).

Introducing Tags – a smarter way to manage your links on Dub.

With tags, you can now:

  1. Organize your links by campaigns, clients, or any other categories you can think of.
  2. Filter your links by tags and get a shareable link to the filtered results.
  3. Easily edit/delete your tags with a Notion-style dropdown interface.

This has been a highly requested feature since day one (shoutout to our friends at Refine as well), and we're excited to finally ship it!

Learn more about how to use tags in this help article.

Improved Link Management

Improved Link Management

Today, we are introducing a range of improvements to our link management offering:

  1. Archiving links: You can now archive your links with the click of a button. Archived links will still work & accrue stats, but will be hidden on your dashboard by default.

  2. Show my links only: You can now filter your workspace's links with the "Show my links only" filter, which will hide all links created by other users in your organization, and only show links that you created.

  3. Allow '/' in custom shortlinks1: You can now use '/' in your custom shortlinks. This is useful for adding structure to your shortlinks, e.g. doma.in/r/abc. Huge shoutout to Alex Bass from Efficient for this feature request!

1 This feature is only available for shortlinks with a custom domain, not dub.sh links.

Keyboard shortcuts

Keyboard shortcuts

Introducing keyboard shortcuts on Dub. With shortcuts, you'll be able to speed up your workflow and navigate around Dub faster.

Here's a list of all the shortcuts to get you started:

ShortcutFunctionLink specific?
cCreate a new short linkNo
/Focus on the link search inputNo
eEdit the selected short linkYes
dDuplicate the selected short linkYes
qShow the QR code for the selected short linkYes
aArchive the selected short linkYes
xDelete the selected short linkYes

Have any suggestions for new shortcuts? Let us know by creating a new issue.

Shoutout to Flo for this feature request!

Multiple custom domains per workspace

Multiple custom domains per workspace

You can now add multiple custom domains to your Dub workspace. This means you no longer need to create multiple workspace for all of your company domains.

You can also filter your existing links by domains, and get an accurate count of how many links you have for each domain.

This feature is available for all plans – including the Free plan. Learn more about how to add a custom domain to your Dub workspace.

Improved pricing, with higher limits for Pro users.

Improved pricing, with higher limits for Pro users.

Migrating our time-series data to Tinybird earlier this year allowed us to scale our platform by magnitudes.

Thanks to that, we are increasing the limits of our Pro plan from 10,000 clicks per month to 50,000 clicks per month. We hope that this will let you grow your marketing further before having to upgrade to the next billing tier.

We have also sunsetted the previous usage-based pricing model and consolidated everything into the Pro plan.

Check out our new pricing model.

Link search

Link search

You can now search through your existing short links on Dub.co by their key and destination URL.

This has been a highly requested feature amongst folks with a ton of short links and we're excited to finally ship it!

Ability to duplicate a link

Ability to duplicate a link

You can now duplicate a link on Dub with a single click.

This is a quality-of-life improvement for busy marketers to quickly create multiple versions of a link without having to re-enter the same information over and over again.

Shoutout to Cameron Archer from Tinybird for the feature request!

Workspace-level billing

Workspace-level billing

Previously, having billing on a personal account level was a confusing UX.

  • Often times, users would upgrade to Pro on their personal accounts, but the Pro plan only applied to the workspaces they owned, not the ones that they are a member of.
  • They also couldn't invite teammates to pay invoices.

Migrating billing to the workspace-level fixes that. You can now manage your billing settings under Settings > Billing in your Dub workspace.

Public stats pages

Public stats pages

You can now create a public stats dashboard for your short links on Dub.

This allows you to share the stats for a given short link with clients or other external stakeholders without having to invite them to your Dub workspace.

Read more on how to create a public stats page here.

Tinybird migration

Tinybird migration

We recently migrated all Dub's time-series analytics data from Redis to Tinybird.

This resulted in a ~100x reduction in request bandwidth (and a similar reduction in request speeds).

For context, Tinybird is a serverless analytical backend for you to ingest data and analyze it with SQL. Built on top of Clickhouse, Tinybird is incredibly scalable when it comes to storing and processing time-series events.

Expect faster load times for your link stats pages moving forward!