This step highly depends on your goals and technology stack. For example, you can send offline events to Facebook or Google Ads. Or you can notify your sales or marketing department about new orders using Slack or Telegram tag for sGTM.
I follow your tutorial exactly listed above. So I hope you give some clue how we can trigger it.
Refund event uses webhook. And we use woocommerce refund functionality from wordpress admin site.
And everyone follows your tutorials to setup their server side tracking. Furthemore, most of them have avarage knowledge about google tag manager.
If your solution is not for avarage people please tell me I will continue to use client side tracking with a wordpress plugin.
First of all let me say we don’t divide people into average or not, we strongly believe that GTM is an accessible tool, and given enough effort can be mastered by anyone.
That being said, our videos and articles are predicated on you knowing the very basics such as triggers, variables and tags. Let’s look at your case:
a) you have an incoming webhook with refund event
b) you are not firing ANY tags on that incoming event
So you’ve done the ‘receive’ part, but not the ‘send’ part. Please checkout screenshot below, this should bring you some clarity, if not - please reply to this message and I’ll elaborate further.
The trigger also not firing with purchase webhook. Do it need to trigger something.
As I said before I have followed the exact tutorial and can’t see the refunds in Google Analytics 4 interface.
Maybe I am the only non-technical person here and onlyone wants to track refunds.
400 response is normal in general. It means that your request has not been processed by any of the clients on the sGTM.
You can get this by going to the url of your sGTM container.
If you get this when you send a request to the server, it means that you are either sending the request incorrectly and no client has processed it. Or your client that should process the request is not configured correctly.
Here is more about webhook debugging: Debug incoming webhooks in Google Tag Manager server preview - Stape