Skip to content

Commit 3374993

Browse files
committed
Indicate the agent landing page the user came from
1 parent 7838e9c commit 3374993

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

apps/web-roo-code/src/app/pr-fixer/content-a.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const content: AgentPageContent = {
3535
cta: {
3636
buttonText: "Try now for free",
3737
disclaimer: "",
38+
tracking: "&agent=pr-fixer",
3839
},
3940
},
4041
howItWorks: {

apps/web-roo-code/src/app/reviewer/content-b.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export const content: AgentPageContent = {
3434
cta: {
3535
buttonText: "Try now for free",
3636
disclaimer: "",
37+
tracking: "&agent=reviewer",
3738
},
3839
},
3940
howItWorks: {

apps/web-roo-code/src/app/reviewer/content.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export const content: AgentPageContent = {
3434
cta: {
3535
buttonText: "Try now for free",
3636
disclaimer: "",
37+
tracking: "&agent=reviewer",
3738
},
3839
},
3940
howItWorks: {

apps/web-roo-code/src/app/shared/AgentLandingContent.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export function AgentLandingContent({ content }: { content: AgentPageContent })
9292
className="w-full sm:w-auto backdrop-blur-sm border hover:shadow-[0_0_20px_rgba(59,130,246,0.5)] transition-all duration-300"
9393
asChild>
9494
<a
95-
href={EXTERNAL_LINKS.CLOUD_APP_SIGNUP_PRO}
95+
href={`${EXTERNAL_LINKS.CLOUD_APP_SIGNUP_PRO}${content.hero.cta.tracking}`}
9696
target="_blank"
9797
rel="noopener noreferrer"
9898
className="flex w-full items-center justify-center">
@@ -219,11 +219,11 @@ export function AgentLandingContent({ content }: { content: AgentPageContent })
219219
className="bg-black text-white hover:bg-gray-800 hover:shadow-lg hover:shadow-black/20 dark:bg-white dark:text-black dark:hover:bg-gray-200 dark:hover:shadow-white/20 transition-all duration-300"
220220
asChild>
221221
<a
222-
href={EXTERNAL_LINKS.CLOUD_APP_SIGNUP_PRO}
222+
href={`${EXTERNAL_LINKS.CLOUD_APP_SIGNUP_PRO}${content.hero.cta.tracking}`}
223223
target="_blank"
224224
rel="noopener noreferrer"
225225
className="flex items-center justify-center">
226-
{content.cta.buttonText}
226+
{content.hero.cta.buttonText}
227227
<ArrowRight className="ml-2 h-4 w-4" />
228228
</a>
229229
</Button>

apps/web-roo-code/src/app/shared/agent-page-content.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface AgentPageContent {
4545
cta: {
4646
buttonText: string
4747
disclaimer: string
48+
tracking: string
4849
}
4950
}
5051
howItWorks: {

0 commit comments

Comments
 (0)