Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SWA-198][INFRA] - Track click events on Landing page "Launch App" buttons #130

Merged

Conversation

ElRodrigote
Copy link
Collaborator

Fixes: SWA-198

Description

  • Create Anaytics context, FA installation script. and .env.example file
  • Update ButtonLink component and types to use onClick handlers
  • Apply "Launch App" click tracking + site traffic analytics to the Landing page

Visual Evidence

https://app.usefathom.com/?range=last_30_days&site=CRHSMTWK -> this is the link to Stackly dapp (dev env) site analytics

Screenshot:
image

How to test the changes

  1. Pull this branch
  2. Run the project locally
  3. Go to Stackly Landing
  4. Connect your wallet
  5. Clicking any "Launch App" or "Stack Now" button should trigger a FA event

Copy link

vercel bot commented Oct 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stackly-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2023 9:21pm

@Diogomartf
Copy link
Collaborator

Diogomartf commented Oct 31, 2023

I think we're missing this button on the CTA.

image

@Diogomartf
Copy link
Collaborator

Diogomartf commented Oct 31, 2023

what do you think of tracking clicked Qs on the FAQ? Is that too much?

image

Since we have the setup I'm wondering if we should go a bit further. Might give us ideas to what people have more questions.

Also the links on navbar, we could also check if they we are being clicked: "faqs" and "how it works".

Copy link

cloudflare-workers-and-pages bot commented Nov 1, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a3fd669
Status: ✅  Deploy successful!
Preview URL: https://e94ff25d.stackly-ui.pages.dev
Branch Preview URL: https://infra-stk-198-add-analytics.stackly-ui.pages.dev

View logs

@ElRodrigote ElRodrigote force-pushed the infra/stk-198-add-analytics-to-stackly-landing-page branch from a3339ce to a3fd669 Compare November 1, 2023 21:20
@ElRodrigote
Copy link
Collaborator Author

what do you think of tracking clicked Qs on the FAQ? Is that too much?

image Since we have the setup I'm wondering if we should go a bit further. Might give us ideas to what people have more questions.

Also the links on navbar, we could also check if they we are being clicked: "faqs" and "how it works".

Added missing event tracking + created FAQ tracking

Copy link
Collaborator

@berteotti berteotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Good job Rorry

@ElRodrigote ElRodrigote merged commit ede09ae into develop Nov 2, 2023
@ElRodrigote ElRodrigote deleted the infra/stk-198-add-analytics-to-stackly-landing-page branch November 2, 2023 13:54
berteotti pushed a commit that referenced this pull request Nov 9, 2023
…ttons (#130)

* infra(STK-198): apply click tracking to Launch App buttons
* infra(STK-198): update FAQ section structure to support QA abstraction and FA events
berteotti pushed a commit that referenced this pull request Nov 9, 2023
…ttons (#130)

* infra(STK-198): apply click tracking to Launch App buttons
* infra(STK-198): update FAQ section structure to support QA abstraction and FA events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants