How can we help?

Web integrations: postbacks and cost, clicks and impressions measurement

  • Updated

Connect your website app to ad networks to send conversion events for campaign optimization and collect campaign cost, clicks and impression data for performance measurement.

 

Postbacks and cost are separate integrations. Configure each capability you need for each network.

Integration What it does Where to configure it
Postbacks Sends the website events you select from AppsFlyer to the ad network. Collaborate > Partner Integrations
Cost Collects cost from the ad network for reporting in AppsFlyer. Requires ROI360. Settings > ROI360 > Cost settings, or the partner's Cost tab
Clicks and Impressions Collects clicks and impressions from the ad network for reporting in AppsFlyer. Doesn’t Require ROI360. the partner's Cost tab for non ROI360 customers

Before you begin

  • Create a website app in AppsFlyer and configure web measurement using the Web onboarding checklist.
  • For postbacks, make sure the website events you want to forward are sent to AppsFlyer through the Web SDK or Web S2S API.
  • For cost measurement, make sure your account has ROI360 and your user role has the Cost Connections permission.

Set up postbacks

The following networks support website event postbacks. Follow the linked guide for the network's credentials, event mapping, and campaign setup.

Network Setup guide
Google Ads Google Ads: Create web campaigns for website apps
Meta Ads Meta Ads: Create web campaigns for website apps
TikTok for Business TikTok: Create web campaigns for website apps
Snapchat Snapchat: Create web campaigns for website apps
Pinterest Pinterest: Create a website app integration
ChatGPT Ads (OpenAI) ChatGPT Ads integration setup
Smadex Select Smadex for your website app in Partner Integrations and complete the integration settings.
  1. In Collaborate > Partner Integrations, select your website app and find the partner in Marketplace tab.
  2. Open the integration and turn on Activate partner.
  3. Enter the credentials required by the network.
  4. In the event postback settings, map each AppsFlyer website event to the corresponding partner event. These settings may be labeled In-app event postbacks, including for website apps.
  5. Select which events and event data to send using the options available for that network, then save the integration.
  6. Complete any additional setup in the network's platform (such as creating and mapping conversion actions for Google Ads).

Activating a partner alone doesn't start forwarding every website event. Events must be mapped and meet the integration's postback settings. Visits and sessions aren't forwarded automatically, to send a page view, report it as a website event and map it.

Prevent duplicate events

If you already send website events to an ad network using its browser pixel, make sure the network doesn't count the same event twice when it also receives an AppsFlyer postback. Send the same unique event ID through both the network's pixel and AppsFlyer. AppsFlyer includes this ID in the postback, allowing the network to recognize the two reports as the same event and deduplicate them. With the Web SDK, send the ID as af_customer_event_id inside eventValue. With the Web S2S API, send af_customer_event_id at the top level of the event payload. Follow the network's guidance for pixel configuration and deduplication requirements.

Set up cost measurement

The following networks support web cost integrations. For some networks, you select different integrations for cost collection and web postbacks. For example, Google Ads uses googleadwords_int for cost and googleads_int for web postbacks. Use the cost integration listed in the table below.

Network Cost integration Setup guide
Google Ads googleadwords_int Google Ads website app guide
Meta Ads facebook_int Meta Ads website app guide
TikTok for Business tiktokglobal_int TikTok website app guide
Snapchat snapchat_int Snapchat website app guide
Display & Video 360 (DV360) Select DV360 in Cost settings. Set up ROI360 cost API; DV360 cost setup
X Ads (formerly Twitter Ads) Select X Ads in Cost settings. Set up ROI360 cost API; X Ads cost setup

The DV360 and X Ads references cover their general integrations. For website apps, these networks support cost integration; they aren't included in the supported web postback list above.

  1. Go to Settings > ROI360 > Cost settings and click + New integration, or open an existing connection for the ad account.
  2. Select the media source and authenticate with the ad network. Use the cost integration listed above, rather than the separate web postback entry.
  3. Select your website app among the apps covered by the connection and save.
  4. Include the campaign ID (af_c_id) in your campaign's landing page URL so cost can be matched to web attribution. Include the full campaign hierarchy for more detailed matching. Follow the network-specific guide and landing page URL parameter guidance.
  5. If you use Cost ETL with the ROI360 advanced package, add your website app to the included apps in the Cost ETL configuration. Follow Set up and use ROI360 cost ETL reports.

Reporting and limitations

  • Campaign cost reporting requires attributed conversions. For web cost reporting tied to attribution, AppsFlyer includes cost from campaigns with at least one attributed conversion. To identify the campaign and match its cost to website activity, include the required attribution parameters, including the campaign ID (af_c_id), in your landing page URLs. Enabling cost integration without configuring these URLs can leave campaign cost missing or unmatched in your reports. Follow the landing page URL parameter guidance.
  • Cost ETL offers a separate report for campaigns without attributed conversions. The All Cost Report reports the cost directly from Google Ads, Meta Ads, and TikTok without requiring AppsFlyer attribution. Use it when you need spend that may be missing from reports tied to conversions. Contact your AppsFlyer representative to enable Google Ads and Meta Ads in this report. See the Cost ETL report comparison.
  • Sending events to a network doesn't enable cost collection from it. Postbacks send conversion events to the network, while cost integrations retrieve spend from it. Set up each capability separately using the supported-network tables above. For example, ChatGPT Ads can receive website event postbacks, but its integration doesn't provide cost data.