ConversionsAPI-Tag-for-GoogleTagManager icon indicating copy to clipboard operation
ConversionsAPI-Tag-for-GoogleTagManager copied to clipboard

Events failing, test failing

Open davidchicago opened this issue 3 years ago • 1 comments

My 'standard' events are not making it to GA4 or Facebook. After some digging, I'm finding that the test 'on EventModel model data tag triggers to send to Conversions API' is failing with the following error message:

sendHttpRequest expected to have been called with arguments ("https://graph.facebook.com/v12.0/123/events?access_token=abc", (), [object Object], "{"data":[{"event_name":"Test1","event_time":"123456789","action_source":"source123","user_data":{"client_ip_address":"1.2.3.4","client_user_agent":"Test_UA","em":"[email protected]","ph":"123456789","fn":"foo","ln":"bar","ct":"menlopark","st":"ca","zp":"12345","country":"us","ge":"m","db":"19910526","external_id":"user123","subscription_id":"abc123","fbp":"test_browser_id","fbc":"test_click_id"},"custom_data":{"currency":"USD","value":"123","search_string":"query123","order_id":"order_123","content_category":"testCategory","content_name":"Foo","content_type":"product","contents":[{"id":"123","quantity":2},{"id":"456","quantity":2}],"num_items":"4","predicted_ltv":"10000","status":"subscribed","delivery_category":"home_delivery"}}],"partner_agent":"gtmss-1.0.0-0.0.4","test_event_code":"test123"}"), but it was not.

Please advise.

davidchicago avatar Mar 03 '22 00:03 davidchicago

Tests seem to be passing on latest commits

skaaptjop avatar Mar 18 '22 06:03 skaaptjop