📈 AnalyticsKit
Capture User Taps
import AnalyticsKit

Capture User Taps

You can easily track user taps using the following view modifier:

.captureTaps(analytics_id: String,
			 fromView: String? = nil,
			 relevancy: EventRelevancy = .medium)
  • analytics_id - The ID of the item of which we want to capture the tap.
  • fromView - (Optional) Name of the view from which the view is getting caputred.
  • relevancy - (Optional) Tap relevancy: .low, .medium or .high

Example of a catured tap event in the PostHog dashboard: Tap Capture Example (analytics_id: "continue_btn", fromView: "OnboardingView", relevancy: .low)