Skip to content

Instantly share code, notes, and snippets.

@Epigene
Created November 10, 2016 12:26
Show Gist options
  • Save Epigene/431c51704227b46595f450af9a7d7c50 to your computer and use it in GitHub Desktop.
Save Epigene/431c51704227b46595f450af9a7d7c50 to your computer and use it in GitHub Desktop.
Offer-User interaction logs
# Existing
seen: 0, # Offer has been seen / rendered
opened: 1, # Offer has been opened - button pressed
accepted: 2, # Offer has been accepted - see CreativeSubscriptions::OffersController track_purchase
rejected: 3, # Offer has been rejected - either CreativeSubscriptions::OffersController#reject or CreativeSubscriptions::OffersController#track_purchase
registered: 4, # User has successfully registered for recurring payments (purchased product)
registered_without_retry: 5, # Registration has been completed without any failed payments
retry_seen: 6, # Retry after failed payment has been seen
retried: 7, # Has retried after seeing retry
retry_registered: 8, # Registration has been completed right after retried
chose_first_data: 9, # When user was prompted to chose payment system - chose first_data (only set when user chooses a payment system)
chose_paypal: 10, # When user was prompted to chose payment system - chose paypal (only set when user chooses a payment system)
redirected_to_first_data: 11, # Counts system redirects to first_data neverthless if direct redirect to payment system or user chose one
redirected_to_paypal_classic: 12, # Created whenever user visits the respecive #new action in pay controllers
redirected_to_paypal_express: 13, # Created whenever user visits the respecive #new action in pay controllers
redirected_to_paypal_recurring: 14, # Created whenever user visits the respecive #new action in pay controllers
# Pre-Paymode
seen: 0,
opened: 1,
accepted: 2,
rejected: 3,
chose_first_data: 9,
chose_paypal: 10,
# with paymode diff [These need to be added!]
redirected_to: X each_paymode
retry_seen: X each_paymode
retried: X each_paymode
retry_registered: X each_paymode
registered_without_retry: X each_paymode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment