AdsXLogo B4You

    B4You Integration

    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.

    Sales sent toGoogle AdsMeta AdsNewsBreak

    No code · Set up once · 7-day guarantee

    Updated on

    How to track B4You sales in Google Ads

    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):

    1. 1

      Copy the postback in AdsX

      In the AdsX dashboard, open Advanced Tracking → Activate Platforms and click Copy postback on the B4You card.

    2. 2

      Open the B4You webhooks

      In the B4You dashboard, click Apps in the side menu and then Webhooks.

    3. 3

      Create the webhook

      Click Nova Integração (New integration).

    4. 4

      Fill it in and save

      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).

    5. 5

      Activate B4You in AdsX

      Go back to AdsX and click Activate on the card. From then on, B4You is available when you create a presell.

    Step-by-step guide with screenshots

    Sales data

    Where do I see the data of each B4You sale?

    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.

    Sale details
    Overview & UTMsDevice & User-AgentTracking IDsJSON Payload

    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"
    }
    Illustrative example of the sale details window in the AdsX dashboard.

    What AdsX does with B4You

    Ready-made postback

    Copy the B4You postback URL from the AdsX dashboard and paste it once. No script, no developer.

    Click ID on every sale

    The AdsX presell adds the Google click ID to your affiliate link. When B4You confirms the sale, the postback brings that ID back.

    Sales in Google Ads

    Each confirmed sale becomes a conversion in your account, so Google learns who buys and bids on them.

    Sales in Meta and NewsBreak

    Running on Meta or NewsBreak? The same sale goes to your pixel, and the campaign optimizes on real purchases.

    Full log of every sale

    Open any sale and see every parameter B4You sent, the click that started it and the presell it came from.

    Sale alert on your phone

    With AdsNotify, every sale shows up on your phone the moment the postback arrives.

    What is B4You and how does it work

    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.

    B4You official website (b4you.com.br)

    Track every B4You sale

    No code · Postback ready in the dashboard · 7-day guarantee

    How B4You tracking works

    1. 1Click

      The presell keeps the click

      Someone clicks your ad and lands on the AdsX presell, which stores the click ID and passes it into the affiliate link.

    2. 2Sale

      B4You confirms the sale

      The buyer completes the order on the offer page and B4You approves the conversion.

    3. 3Postback

      AdsX receives the postback

      B4You calls the AdsX postback URL with the sub parameters, the offer, the amount and the currency.

    4. 4Learning

      Your ad platform learns

      AdsX sends the sale to Google Ads, Meta or NewsBreak, tied to the original click.

    B4You webhook fields

    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 fieldWhat AdsX does with it
    tracking_parameters.b1GCLID, the Google click ID. This is what becomes a conversion in Google Ads.
    tracking_parameters.b2 and b3If b1 does not carry a valid GCLID, AdsX looks for it here, in this order.
    splits.commissionsList of the sale's commissions. AdsX uses the affiliate one as the value of your sale, in Brazilian reais (BRL).
    product.nameB4You product that produced the sale.
    sale_dateDate and time of the sale.
    sale_idB4You sale ID.

    B4You integration FAQ

    How do I set up the B4You postback?

    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 which field does B4You send back the GCLID?

    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.

    Which value does AdsX record for a B4You sale?

    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).

    Does B4You have a webhook delivery log?

    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.

    Do B4You abandoned carts show up in AdsX?

    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.

    A B4You sale did not show up in AdsX. What should I check?

    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.

    Do I need a developer to connect B4You to AdsX?

    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.

    Does AdsX work with other networks besides B4You?

    Yes. AdsX receives sales from 31 affiliate platforms, including CPA networks, international marketplaces and Brazilian platforms. The full list is on the integrations page.

    Stop guessing which ad sold on B4You

    Presell, domain, hosting, campaigns and tracking: everything you need to sell with Google Ads, in one place.

    Updated on View as Markdown