Skip to content

Latest commit

 

History

History
88 lines (66 loc) · 5.64 KB

prisma.mdx

File metadata and controls

88 lines (66 loc) · 5.64 KB
title publishedAt summary image company companyLogo companyUrl companyDescription companyIndustry companySize companyFounded plan
How Prisma Uses Dub to Improve Insights for Pris.ly links
2023-09-07
Prisma recently migrated their pris.ly short links to Dub. Learn why they chose Dub and how it has helped them better understand their users' needs.
Prisma
Prisma creates Data DX tools to build modern data-driven applications with a great developer experience.
Developer Tools, SaaS
10-50
2016
Enterprise

Prisma provides excellent tools for developers to build data-driven applications.

At its core, the popular open-source Prisma ORM for Node.js and TypeScript is known for its intuitive data model, migrations, type-safety, and auto-completion. It currently has ~1.5M weekly NPM downloads and is used by millions of developers around the world.

In fact, Dub itself uses the Prisma ORM under the hood to handle database queries and migrations – here is our Prisma Schema file, fully open-source as well!

With Prisma Accelerate and Prisma Pulse, Prisma is also providing new tools to build modern applications with great developer experience.

The challenge: Managing and tracking 250+ short links

Earlier this month, Petra from the Prisma team reached out with one simple request – they wanted to migrate their existing pris.ly short links to Dub.

For context, pris.ly links were used in their various online communications, as well as the Prisma ORM to link to documentation and other resources. For example, the following link in the default Prisma schema would redirect to the Prisma Schema docs page:

Example of a pris.ly link used in Prisma Schema

In the past, Prisma used a custom-built solution to handle short links. However, this solution was not ideal for a few reasons:

  1. Lack of analytics: There was no way to track which links were clicked on the most, or where the clicks were coming from.
  2. Potential for link conflicts: As the number of links grew, it became increasingly difficult to ensure that each link was unique.
  3. Complicated UX and slow updates: To add a new link, a user would have to create a new pull request on the GitHub repository, merge it, and wait ~10 seconds for the new link to be deployed.

The solution: An easy-to-use link management tool with built-in analytics

Dub was the perfect solution for Prisma's use case – given its ease of use and powerful analytics.

In less than a day, Prisma was able to migrate all 250+ of their existing pris.ly links to Dub, and the value prop was clear from the start:

  1. Analytics on each link: Dub provides detailed analytics on each link, including the number of clicks over time, location data, device data, and more.
  2. Easy to create new links: Dub provides a simple UI to create new links, along with useful features such as tags to help organize links.
  3. Smooth UX and instant updates: With Dub, Prisma can now easily create short links that are instantly available to use – no more waiting for 10 seconds for the link to be deployed.

The results: Smoother UX for the entire Prisma team

Since migrating to Dub, Prisma has been able to quickly create new links and track the performance of each link. This gave them insight into which links are most used and how they can make even better use of those resources.

As an Enterprise customer on Dub, Prisma has also been leveraging Dub's SAML/SSO feature to manage access to their links. This has been especially useful for Prisma, as they have been able to easily manage access to links for their entire team.