Hi,
I am currently using a lead generation chatbot on my website, and I have set up a specific goal in Google Analytics to track its performance. However, I recently discovered that the goal can only be triggered when the chatbot starts and ends. The issue is that I have multiple branches in my chatbot’s workflow, where people are treated differently based on certain conditions. Therefore, I don’t want to track every single person who goes through the workflow.
I was wondering if it is possible to implement a custom code action that would allow me to trigger the Google Analytics goal completion at a specific point within the chat flow, rather than just at the beginning or end of the conversation.
For reference, I don’t have a background in development and don’t have access to a developer. If anyone could assist me with this matter, I would be extremely grateful.