My company was using GTM to track events, but we have switched to using gtag.js recently. Most of the conversion has gone well but I have one particular event I can't seem to convert correctly. It is for a service called Namogoo. We just track when their system fires an event so we can have a report in the GA portal.
The original GTM code is:
const someValue = 1
dataLayer.push({
event: 'gtm.trackEvent',
nB: someValue,
trackEvent: {
'category':'Namogoo',
'action':'block',
'label':'block',
'value':someValue
}
});
I have attempted a variety of things but my latest iteration which SHOWS the event in the realtime events interface but does not show on the custom report is:
gtag("event", "Namogoo", {
"event_category":"Namogoo",
"event_action":"block",
"event_label":"block",
"event_value": someValue,
"value":someValue
});
I'm basically just throwing spaghetti at the wall with the 'value' field. Any help would be appreciated. The custom report just operates on a Drilldown dimension created on the Namogoo event.