Skip to main content
The AppsFlyer integration sends funnel events to AppsFlyer. Use these events to measure conversions and optimize your campaigns across channels.

How it works

The AppsFlyer Web SDK is a JavaScript snippet that loads on your funnel pages and tracks visitor actions. Events are sent from the visitor’s browser directly to AppsFlyer, where they appear in your dashboard for attribution and reporting. FunnelFox sends events using the client-side AppsFlyer Web SDK. Server-side events are not currently supported.

User identification

FunnelFox sets a Customer User ID on AppsFlyer to link events to the correct user. The ID is determined by the following priority:
  1. Custom input: If you add an input element with the _USERID_ element ID, its value is used as the Customer User ID.
  2. From your backend: Fetch the user ID from your backend and set it using custom code inside a Raw HTML element:
<script>
    fox.inputs.set('_USERID_', yourGeneratedId)
</script>
  1. Profile-based ID (default): If none of the above are provided, FunnelFox profile ID is used.
Setting _USERID_ later in the funnel flow will update the Customer User ID for all subsequent events in that session.

Tracked events

AppsFlyer EventTriggered When
af_initiated_checkoutUser sees the checkout element
af_purchasePurchase completed successfully
af_content_viewPage or screen is presented to the user
af_complete_registrationUser email is collected

Next steps