Cloud Retail Tag Fires but with Failed Status

Hello everyone!
Similar to @descuderosanche question, I’ve tried to implement the Cloud Retail Tag following the official documentation instructional video

Here is basically my tag setup

My “GA visitorId” variable was set just as suggested by the instructional video

The thing is, although the tag is firing as is supposed to do, and all the variables being properly populated, and pushed to the data layer, the firing status is “failed” every time.

The only 2 available instruction in the documentation for debugging are:

1 - Check for monitoring tab on Retail API (but there’s no events being recorded)
2 - Check devtool for “userEvent” events (but there’s no such events being recorded)

So I am basically stuck and with no clue why the tag firing status is “failed”

Can any one give me more clear instructions on how to debugg this?

Hi @RodTex ,

Welcome and thank you for reaching out to our community.

I get that you wanted to learn why your Tag triggers are showing failed status, this is most likely driven by your Tag configuration, kindly check on the following,

  • Make sure to set the trigger to fire on the correct event
  • Make sure the trigger has permission to access the needed resources to fire, such as functions or its target
  • Make sure that the codes used are correct and up-to-date

Please revisit these documents to make sure you did not miss anything.

Other than the monitoring tab you can probably look into your cloud logging, you might find error entries that specify what is causing the failed trigger status. Consider also reaching out to Retail API support for better assistance.

Hope this helps.

Hi RodTex,

Are the user events being sent to the retail api as an http request when you check the networking tab? Curious if the events are sending and gtm is marking as failed or both.

Regards,

Patrick

Apparently no. The documentation says I should see a “userEvent:collect” instance on the network tab (Which I don’t). Also the request url looks something like:
https://retail.googleapis.com/v2/...

and there’s no request to that URL