From 660c4a41e0998d1f324b8cac5598521db8f13e1f Mon Sep 17 00:00:00 2001 From: Mohammed Mohsin <59914433+mdmohsin7@users.noreply.github.com> Date: Mon, 30 Dec 2024 14:20:31 +0530 Subject: [PATCH] add ref to links in marketplace --- frontend/src/app/apps/[id]/page.tsx | 2 +- frontend/src/app/components/product-banner/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/apps/[id]/page.tsx b/frontend/src/app/apps/[id]/page.tsx index 4438ae7a1..6e0eb7677 100644 --- a/frontend/src/app/apps/[id]/page.tsx +++ b/frontend/src/app/apps/[id]/page.tsx @@ -74,7 +74,7 @@ export function generateStructuredData(plugin: Plugin, categoryName: string) { const canonicalUrl = `${envConfig.WEB_URL}/apps/${plugin.id}`; const appStoreUrl = 'https://apps.apple.com/us/app/friend-ai-wearable/id6502156163'; const playStoreUrl = 'https://play.google.com/store/apps/details?id=com.friend.ios'; - const productUrl = 'https://www.omi.me/products/friend-dev-kit-2'; + const productUrl = 'https://www.omi.me/products/friend-dev-kit-2?ref=omi_marketplace&utm_source=h.omi.me&utm_campaign=omi_marketplace_floating_banner'; return { __html: JSON.stringify([ diff --git a/frontend/src/app/components/product-banner/types.ts b/frontend/src/app/components/product-banner/types.ts index 41580d868..82b6faf1f 100644 --- a/frontend/src/app/components/product-banner/types.ts +++ b/frontend/src/app/components/product-banner/types.ts @@ -21,7 +21,7 @@ export interface CategoryBannerProps extends ProductBannerBase { export const PRODUCT_INFO = { name: 'OMI Necklace', price: '$69.99', - url: 'https://www.omi.me/products/friend-dev-kit-2', + url: 'https://www.omi.me/products/friend-dev-kit-2?ref=omi_marketplace&utm_source=h.omi.me&utm_campaign=omi_marketplace_app_detail_page', shipping: 'Ships Worldwide', images: { primary: '/omi_1.webp',