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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

EP-217: Create event for Pledge Submit CTA #1096

Merged
merged 2 commits into from
Feb 17, 2021

Conversation

leighdouglas
Copy link
Contributor

@leighdouglas leighdouglas commented Feb 11, 2021

馃摬 What

Added track event for "pledge submit" button clicks that fires when the "Pledge" button is pressed on the checkout screen.

馃 Why

Segment Integration

馃洜 How

  • Created a new function to our AnalyticsEvents class that handles sending the event name and properties to the client.
  • Added this function to the PledgeFragmentViewModel when the "Pledge" button is pressed.

馃憖 See

This is the button that fires this event:
Screenshot_1612993850

馃搵 QA

  • Tap on a live project
  • Tap "Back this project" CTA at bottom of screen
  • Select a reward and/or addons
  • On the checkout screen, tap "Pledge"
  • Both Segment (CTA Clicked) and DataLake (Pledge Submit Button Clicked) should appear in the segment dashboard.
    You should see context_cta = "pledge_submit" as well as context_type = "credit_card"

Screen Shot 2021-02-11 at 4 38 23 PM

Screen Shot 2021-02-11 at 2 18 27 PM

Story 馃摉

EP-217: Android: CTA Clicked (pledge_submit)

Copy link
Contributor

@Arkariang Arkariang left a comment

Choose a reason for hiding this comment

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

lgtm!

@leighdouglas leighdouglas merged commit df7793c into master Feb 17, 2021
@leighdouglas leighdouglas deleted the leigh/ep-217-pledge-submit branch February 17, 2021 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants