1 min read

Analytics

Last Updated - Platform v20

Checkout

Sent when the user taps Checkout (at the start of the checkout journey).

af_initiated_checkout:
af_content_id: [product_id] # [PRD28104D, PRD0492S]
af_description: [product_name] # [Red Dress, Socks]
af_price: [product_price] # [12.99, 2.49]
af_quantity: [quantity] # [1, 2]
af_currency: currency # USD

Sent when the user successfully purchases the items.

af_purchase:
af_order_id: order_id # ORD12948183402
af_revenue: total # 20.96
af_content_id: [product_id] # [PRD28104D, PRD0492S]
af_description: [product_name] # [Red Dress, Socks]
af_price: [product_price] # [12.99, 2.49]
af_quantity: [quantity] # [1, 2]
af_currency: currency # USD

Account

Sent when the user registers a new account. This also updates the CustomerID.

af_complete_registration:

Sent when the user logs in with an existing account. This also updates the CustomerID.

af_login:

This CustomerID is updated when the user logs out but no event is sent.

Cart

Sent when the user adds a product to the Cart.

af_add_to_cart:
af_content_id: product_id # PRD28104D
af_description: product_name # Red Dress
af_price: product_price # 12.99
af_currency: currency # USD
af_quantity: quantity # 1

Sent when the user removes a product from the Cart.

remove_from_cart:
af_content_id: product_id # PRD28104D
af_description: product_name # Red Dress

Vouchers

Sent when the user applies a voucher code on the Cart screen.

apply_voucher:
af_content_id: voucher_code # POQ50OFF

This event requires bespoke work on the Cart screen to allow the user to apply voucher codes. Make sure the code calls the following to send this event.

PoqTrackerV2.shared.applyVoucher(voucher: code)

Product List

Sent when the user navigates to the Product List, via a category, from the Shop screen or a category search suggestion.

af_list_view:
af_content_id: category_id # new-in
af_description: category_name # New In

Sent when the user navigates to the Product List from a search result.

af_search:
af_search_string: search_query # summer
af_success: any_results? # 1 (true) / 0 (false)

Product Details

Sent when the user navigates to a Product Details screen.

af_content_view:
af_content_id: product_id # PRD28104D
af_description: product_name # Red Dress
af_price: product_price # 12.99
af_currency: currency # USD

Sent when the user taps to share a product from the Product Details screen.

af_share:
af_content_id: product_id # PRD28104D
af_description: product_name # Red Dress

Wishlist

Sent when the user adds a product to the Wishlist.

af_add_to_wishlist:
af_content_id: product_id # PRD28104D
af_description: product_name # Dress
af_price: product_price # 12.99
af_currency: currency # USD
af_quantity: quantity # 1

Sent when the user removes a product from the Wishlist.

remove_from_wishlist:
af_content_id: product_id # PRD28104D
af_description: product_name # Dress

Other

Sent when the user opens the app from a push notification.

af_opened_from_push_notification:

Sent when the user finishes onboarding.

af_tutorial_completion:
af_success: not_skipped? # 1 (true) / 0 (false)