Analytics Events

Analytics Events Documentation

Below is the typical events that are sent to analytics systems like Amplitude or Posthog from web2wave

Main events

Event nameDescriptionProperties
Step %screen_index% %screen_name%User visited #screen_name page with index screen_index{value: '0', section_id: 'welcome'}
Answer %screen_name%User answered question on #screen_name page{value: 'User answer'}
Quiz finishedQuiz is finished - sent on the last quiz page(at the end), can be not delivered.
Quiz data reloadedQuiz data was reloaded dynamically{quiz_id: 'xxx', target_id: 'xxx'}
Quiz data reload errorError occurred while reloading quiz data{error: 'error message', target_id: 'xxx'}
CompleteRegistration
sign_up - in GA
User visited Paywall page
Paywall clickUser clicked on paywall
Paywall click get_my_planUser clicked on "Get my plan" button{value: '19.99', currency: 'USD', price_id: 'xxx', external_price_id: 'xxx', placement: 'timer-sticky' | 'pay-button'}
Paywall Prices visiblePaywall prices section became visible (50% in viewport)
Paywall Price URL clickedUser clicked on price URL{value: 'url'}
Paywall click priceUser clicked on a price option
Paywall click No priceUser clicked on "No price" option{value: 'price_id'}
Paywall scroll 1User scrolled on paywall
Paywall scroll 50User scrolled 50% of paywall
Paywall Popup openPaywall popup was opened{value: 'selector'}
Paywall Popup closePaywall popup was closed{value: 'selector'}
InitiateCheckout
begin_checkout - in GA
3 different events:
- User opened Stripe or Paddle form in popup
- User clicked in Stripe form embedded in page
- User clicked on 'Subscribe with Apple Pay button'
Subscribe
conversion - in GA
User subscribed or made trial{currency: 'USD', value: '19.99'}
Purchase
purchase - in GA
User subscribed or made trial{currency: 'USD', value: '19.99'}
CompletePaymentUser subscribed or made trial{currency: 'USD', value: '19.99'}
AddPaymentInfoUser submitted payment form with card details or started ApplePay payment
No send event for userNo event was sent for user (backend check failed)
error with event-data-to-analyticError occurred while fetching event data from backend
User Subscription CanceledUser canceled their subscription{value: 'subscription_id', comment: 'cancellation reason'}
User Subscription Cancel ErrorError occurred while canceling subscription{value: 'error message', status: 'error status', cancelData: {...}}
Paywall Error One Click BuyError occurred during one-click purchase{value: 'error message'}
Double purchase detected (One Click)Double purchase was detected during one-click purchase attempt{behaviour: 'xxx', existing_subscription_id: 'xxx', price_id: 'xxx'}
Paywall Subscription UpdatedUser successfully updated their subscription{price_id: 'xxx', subscription_id: 'xxx'}
Paywall Subscription Update ErrorError occurred while updating subscription{value: 'error message', price_id: 'xxx', subscription_id: 'xxx'}

Technical events

Event nameDescriptionProperties
PageViewFB event on page view
Page freezePage freeze event
Page resumePage resume event
Page closedBrowser page closed (onvisibilitychange hidden)
Page beforeunloadPage beforeunload event
Viewport btn next hiddenNext button is hidden from viewport
Viewport screen resizeScreen was resized{value: '1920x1080'}
Viewport scrollUser scrolled on page{value: scrollTop}
Viewport clickUser clicked on page{value: 'css path'}
Timer finishedTimer countdown finished

Stripe events

Works with

Event NameDescriptionProperties
Stripe changeUser selected payment method in form{"elementType": "payment", "collapsed": false, "empty": true, "complete": false, "value": "card"}
Stripe LoadingStripe form is loading (logged every 5 seconds while loading){seconds: 5}
Stripe readyStripe form is loaded
Stripe focusUser clicked in Stripe form
Stripe blurUser clicked outside Stripe form
Stripe escapeUser pressed "Escape" in Stripe form
Stripe loaderrorError while loading Stripe form
Stripe loaderstartStripe form loader started
Stripe submit errorError occurred while submitting Stripe form{"code": "card_declined", "type": "card_error", "charge": "ch_XXXX", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card has been declined.", "shouldRetry": "false", "decline_code": "try_again_later", "payment_intent": {XXX}, "payment_method": {XXX}, "request_log_url": "https://dashboard.stripe.com/logs/req_XXXXX"}
Stripe submitStripe Payment form submitted OR Stripe Express Button clicked{value: 'card'} **OR** {"value": "apple_pay", "resolve": null, "elementType": "expressCheckout", "expressPaymentType": "apple_pay"}
Stripe Error in adding billing detailsError occurred while adding billing details{value: 'error message'}
Stripe create subscription errorError occurred while creating subscription{error object}
Stripe Address Element changeUser changed address in Stripe Address Element{element_id: 'xxx', complete: true/false, value: {...}}
Stripe Address Element loaderrorError loading Stripe Address Element
Stripe Address Element errorError in Stripe Address Element
Stripe Express readyStripe Express Button loaded{"elementType": "expressCheckout", "availablePaymentMethods": {"link": "false", "paypal": "false", "applePay": "true", "amazonPay": "false", "googlePay": "false"}}
Stripe Express No buttonsStripe Express buttons not available
Stripe Express loaderrorError loading Stripe Express buttons
Stripe Express loaderstartStripe Express loader started
Stripe Express click +
Stripe submit +
InitiateCheckout
Stripe submit + InitiateCheckout
Stripe Express confirmPayment completed with Stripe Express button{"elementType": "expressCheckout", "paymentFailed": null, "billingDetails": {"name": "John Doe", "address": {"city": "Arden", "line1": "49 Owenby Dr", "line2": null, "state": "NC", "country": "US", "postal_code": "28704"}}, "expressPaymentType": "apple_pay"}
Stripe Express cancelUser cancelled Stripe Express payment
Stripe Express subscription errorError creating subscription with Stripe Express{error object}
Stripe Express Has buttonsStripe Express buttons are available
Stripe Payment Request clickUser clicked on Stripe Payment Request button (Apple Pay)
Stripe Payment Request cancelUser cancelled Stripe Payment Request
Stripe PaymentRequest buttonStripe Payment Request button state changed{value: 'apple_pay_enabled' | 'apple_pay_disabled'}

PayPal events

Event NameDescriptionProperties
PayPal createSubscription +
InitiateCheckout
User clicked on PayPal button, PayPal payment initiated{"price_id": "price_1P2avpAg4LBBeMXXXXXX"}
PayPal createOrderPayPal order creation initiated
PayPal Start Create OrderPayPal order creation started
PayPal Payment Submit SuccessPayPal payment was submitted successfully
PayPal onApprove +
Subscribe
PayPal payment approved and subscription created{"orderID": "3S629229XXXXXXX", "paymentSource": "paypal", "subscriptionID": "I-74NVU7XXXXX", "facilitatorAccessToken": "xxxx...xxxxx"}
PayPal onErrorPayPal payment error occurred{value: 'error' | {error: 'error message'}}
PayPal onCancelUser cancelled PayPal payment{"orderID": "2G963992NV477XXX"}

Paddle events

Event nameDescriptionProperties
Paddle checkout.loadedPaddle checkout loaded
Paddle checkout.payment.selectedUser selected payment method
Paddle checkout.payment.initiatedPayment initiated
Paddle checkout.customer.createdCustomer created
Paddle checkout.completedCheckout completed
Paddle checkout.ping.sizeCheckout ping size
Paddle checkout.warningCheckout warning

Primer events

Event nameDescriptionProperties
Primer errorPrimer payment error{value: 'error message'}
Primer onCheckoutCompletePrimer checkout completed
Primer onCheckoutFailPrimer checkout failed{value: 'error message'}
Primer onPaymentCreationStartPrimer payment creation started
Primer onBeforePaymentCreateBefore Primer payment creation

Hubx events

Event nameDescriptionProperties
Hubx errorHubx payment error{value: 'error message'}
Hubx onCheckoutCompleteHubx checkout completed
Hubx onCheckoutFailHubx checkout failed{value: 'error message'}
Hubx onPaymentCreationStartHubx payment creation started
Hubx onBeforePaymentCreateBefore Hubx payment creation

Unlimit events

Event nameDescriptionProperties
Unlimit initUnlimit payment initialized
Unlimit get redirect linkGetting Unlimit redirect link
Unlimit redirect request error: %error%Error getting redirect link
Unlimit redirect to payment pageRedirecting to Unlimit payment page

Solidgate events

Event nameDescriptionProperties
Solidgate errorSolidgate payment error{value: 'error'}
Solidgate payment successSolidgate payment succeeded{value: 'JSON data'}
Solidgate payment failSolidgate payment failed{value: 'JSON data'}

CloudPayment events

Event nameDescriptionProperties
Paywall CloudPayment errorCloudPayment error occurred{value: 'reason'}