Hi team, using the custom web/app trigger for journeys, everything works fine except one thing, i can not figure out how to handle the response object to indicate success or failure and update my frontend. Does trackEvent take any callback arguments? the response json looks like this when succesful {"acc":1,"webResult":{}} and i´ve tried a couple of different approaches to handle the response from the function without succeding.
Any help or documentation references would be appreciated!
this is the current version, but no response object is even logged to console
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.