Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Referer → Referrer

Steven Teyfc244f6c7ccb
diff --git a/apps/web/lib/middleware/utils/handle-not-found-link.ts b/apps/web/lib/middleware/utils/handle-not-found-link.ts
index 680a8dd48c..b43639df61 100644
--- a/apps/web/lib/middleware/utils/handle-not-found-link.ts
+++ b/apps/web/lib/middleware/utils/handle-not-found-link.ts
@@ -13,7 +13,7 @@ export const handleNotFoundLink = async (req: NextRequest) => {
headers: {
...DUB_HEADERS,
"X-Robots-Tag": "googlebot: noindex",
- // pass the Referer value to the not found URL
+ // pass the Referer [sic] value to the not found URL
Referer: req.url,
},
status: 302,
diff --git a/apps/web/ui/analytics/events/events-table.tsx b/apps/web/ui/analytics/events/events-table.tsx
index 914ab6441e..bbf73f094c 100644
--- a/apps/web/ui/analytics/events/events-table.tsx
+++ b/apps/web/ui/analytics/events/events-table.tsx
@@ -395,7 +395,7 @@ export default function EventsTable({
},
{
id: "referer",
- header: "Referer",
+ header: "Referrer",
accessorKey: "click.referer",
meta: {
filterParams: ({ getValue }) => ({ referer: getValue() }),
diff --git a/apps/web/ui/analytics/use-analytics-filters.tsx b/apps/web/ui/analytics/use-analytics-filters.tsx
index d7853448c7..27f466e52e 100644
--- a/apps/web/ui/analytics/use-analytics-filters.tsx
+++ b/apps/web/ui/analytics/use-analytics-filters.tsx
@@ -681,8 +681,8 @@ export function useAnalyticsFilters({
{
key: "referer",
icon: ReferredVia,
- label: "Referer",
- getOptionIcon: (value, props) => (
+ label: "Referrer",
+ getOptionIcon: (value, _props) => (
<ReferrerIcon display={value} className="h-4 w-4" />
),
options: