Skip to content

Commit

Permalink
Add ref to links in marketplace to track sales from it (#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
beastoin authored Dec 31, 2024
2 parents 8675dfa + 660c4a4 commit c21c148
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/apps/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/components/product-banner/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c21c148

Please sign in to comment.