
Set up the B4You webhook once and every approved purchase goes back to Google Ads as a conversion, tied to the ad click. It also reaches Meta and NewsBreak.
No code · Set up once · 7-day guarantee
Updated on
On B4You, the postback is called a webhook. You set it up once in your account, for every product you promote as an affiliate, and every approved purchase starts coming back to AdsX. It takes 5 steps (B4You labels are in Portuguese):
In the AdsX dashboard, open Advanced Tracking → Activate Platforms and click Copy postback on the B4You card.
In the B4You dashboard, click Apps in the side menu and then Webhooks.
Click Nova Integração (New integration).
Under Nome do Webhook (Webhook name), enter AdsX; under URL do Webhook (Webhook URL), paste the copied link; under Produto (Product), choose Todos que sou afiliado (All I am an affiliate of); under Eventos (Events), check Compra aprovada (Purchase approved); Carrinho abandonado (Abandoned cart) is optional. Click Salvar (Save).
Go back to AdsX and click Activate on the card. From then on, B4You is available when you create a presell.
Sales data
In AdsX, under Advanced Tracking → My Sales: every sale that arrives by webhook shows up there, and the View sale details button shows the Google click ID, the presell the visitor came from and, in the JSON Payload tab, the full content B4You sent (product, commissions, date and the tracking parameters).
With AdsPixel active, the same window also shows the click behind the sale: IP and region, date and time, traffic origin and UTMs.
The B4You help center does not describe a webhook delivery history. To confirm a sale arrived, check My Sales in AdsX.
Main Tracking ID · gclid
Cj0KCQjw8eTFBhCX…BwE
IP & Region
Lisbon, PT · 203.0.113.24
Date & Time
10/14/2026 · 21:47
Origin
Google Ads
Data received in the postback
The postback brought additional data from the platform — see the full content in the JSON Payload tab.
{
"tracking_parameters": {
"b1": "Cj0KCQjw8eTFBhCX…BwE"
},
"product": {
"name": "Sample Product"
},
"sale_id": "33f7b4fc-8792-4a11-9726-883e3aa1aeb5"
}Copy the B4You postback URL from the AdsX dashboard and paste it once. No script, no developer.
The AdsX presell adds the Google click ID to your affiliate link. When B4You confirms the sale, the postback brings that ID back.
Each confirmed sale becomes a conversion in your account, so Google learns who buys and bids on them.
Running on Meta or NewsBreak? The same sale goes to your pixel, and the campaign optimizes on real purchases.
Open any sale and see every parameter B4You sent, the click that started it and the presell it came from.
With AdsNotify, every sale shows up on your phone the moment the postback arrives.
B4You is a Brazilian platform for digital and physical products, for creators and affiliates. Affiliates join a product, get their link and send traffic to the creator's sales page.
B4You processes the payment and splits the amount between creator and affiliate. In the webhook, each share appears in a list of commissions; AdsX records the affiliate entry as the value of your sale, in Brazilian reais (BRL).
To know which ad produced the sale, B4You sends the link's tracking parameters back in the webhook, in the tracking_parameters field. That is how AdsX ties the sale to the click.
Someone clicks your ad and lands on the AdsX presell, which stores the click ID and passes it into the affiliate link.
The buyer completes the order on the offer page and B4You approves the conversion.
B4You calls the AdsX postback URL with the sub parameters, the offer, the amount and the currency.
AdsX sends the sale to Google Ads, Meta or NewsBreak, tied to the original click.
B4You sends each event as JSON to the AdsX URL. You don't set up any field; the table shows the ones AdsX reads.
| Webhook field | What AdsX does with it |
|---|---|
| tracking_parameters.b1 | GCLID, the Google click ID. This is what becomes a conversion in Google Ads. |
| tracking_parameters.b2 and b3 | If b1 does not carry a valid GCLID, AdsX looks for it here, in this order. |
| splits.commissions | List of the sale's commissions. AdsX uses the affiliate one as the value of your sale, in Brazilian reais (BRL). |
| product.name | B4You product that produced the sale. |
| sale_date | Date and time of the sale. |
| sale_id | B4You sale ID. |
The same postback feeds every ad platform you run, without a second setup.
On B4You, the postback is called a webhook. In Apps → Webhooks, click Nova Integração (New integration), paste the URL copied from the B4You card in AdsX into URL do Webhook (Webhook URL), choose Todos que sou afiliado (All I am an affiliate of) and check Compra aprovada (Purchase approved). The full step by step is at the top of this page.
In tracking_parameters. The AdsX presell places the GCLID on your B4You link automatically, and AdsX looks for it in b1 and, if it is not there, in b2 and b3.
Your commission. The B4You webhook carries the list of the sale's commissions, and AdsX uses the affiliate entry, not the total paid by the buyer. The value is recorded in Brazilian reais (BRL).
The B4You help center does not describe a delivery history. In AdsX, every sale received opens in View sale details, with the webhook content in the JSON Payload tab and, with AdsPixel active, the data of the originating click.
They do if you check the Carrinho abandonado (Abandoned cart) event. They come into My Sales as checkouts, separate from approved purchases, so you see who reached the payment page and did not buy.
Check that Compra aprovada (Purchase approved) is checked, that the URL do Webhook (Webhook URL) matches the one copied from the AdsX dashboard, complete and with no trailing space, and that the presell uses a B4You product. If it still doesn't show up, talk to support through the dashboard chat.
No. You copy the postback URL from the B4You card in the AdsX dashboard, paste it into B4You and click activate. The presell already places the click ID in the right sub parameter.
Yes. AdsX receives sales from 31 affiliate platforms, including CPA networks, international marketplaces and Brazilian platforms. The full list is on the integrations page.
Brazilian platform for selling digital products, with checkout and members area.
Brazilian platform for physical and digital products, for creators and affiliates.
Brazilian platform for physical and digital products, for creators and affiliates.
Brazilian platform for physical products with cash on delivery.
Brazilian checkout for physical and digital products.
Presell, domain, hosting, campaigns and tracking: everything you need to sell with Google Ads, in one place.