You can now import your links into Dub from a CSV file. This is useful if you have a large list of links to import or if you want to import links from another provider.
When you upload a CSV file, Dub AI will automatically map the columns in the file to the supported data fields in Dub. You can then review and edit the mappings before submitting the import.
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.
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.
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 }, ...]
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.