I am trying to explore the difference between Custom Code and Event triggered goals. I was able to make the custom code work thanks to Corne’s reply on this thread.
This now brings me to testing Event triggered goals. I have this code below. I was under the impression that once we trigger an event, it will be recorded under [dbo].[umbracoEngageAnalyticsGoalCompletion] or [dbo].[umbracoEngageAnalyticsPageEvent] - I checked but there’s none. I checked the network logs and I was able to get a success response when collect/event endpoint was called.
button.addEventListener('click', function () {
if (typeof umbracoEngage !== 'undefined' && umbracoEngage.analytics.trackEvent) {
umbracoEngage.analytics.trackEvent({category: "SIGNUP", label: "SIGN UP TRIAL", action: "CLICK"})
}
})
I would appreciate any input or correction should my understanding be wrong. Thank you!