Posts tagged with e-commerce

I'm trying to unlink a product catalog from a WhatsApp Business Account (WABA) via the Meta Graph API. Still, I can't find the appropriate API endpoint for this action.

From the Meta Business Manager, I noticed that when unlinking a catalog, the following request is made:

Request URL: https://business.facebook.com/api/graphql/ Request Method: POST { "input": { "waba_id": "WABA_ID_HERE", "catalog_id": "CATALOG_ID_HERE", "action": "UNLINK", "actor_id": "ACTOR_ID_HERE", "client_mutation_id": "" } }

However, this seems to be part of the internal GraphQL API, and I can't find a corresponding endpoint in the official Graph API documentation to unlink a catalog from a WABA.

Is there a specific Graph API endpoint or another method that allows unlinking a product catalog from a WABA through the official Meta Graph API? If so, could you provide details on implementing it or any alternative solution?

Thank you in advance for any help!

We have a problem with E-Commerce transactions sometimes not beeing set in relation to an ad click ("cpc"). They appear instead with the Channel/Medium "direct". This is a problem as we cannot correctly link our revenue to the costs spend on Google Ads.

We got a payment system that allows buyers to safely pay to sellers, and we get a fee percentage of the payment volume (similar like PayPal). We get our fees as soon as a pay-in is successful. Because our users can pay via bank wire as well it may take one or two days until we actually get our fee. This is why ecommerce transactions are not sent from the frontend to GA (on a thank-you page like in online shops), but from our server directly to GA as soon as a payment succeeds.

This is the GET call our server does when a payment succeeds:

GET https://www.google-analytics.com/collect?v=1&tid=UA-XXXXXX-1&cid=1746XXXXX.1593XXXXXXX&t=transaction&ti=mytransactionID&tr=1&cu=USD

Here is a small diagram that explains the process:

We use cross-domain tracking, and the GA Client ID of the users stay the same when they get redirected from mydomain.com to app.mydomain.com, so this should not be the problem. What I assume is, that when a user clicks on an ad, the gclid of the ad is lost. Is there a way to manually send the gclid ID to Google Analytics? I would store the gclid then as well in our payment. Or is there another (maybe better way) to send transactions to GA?