Tracking user across workflows
# 🤝help
b
I am looking to track users across workflows just as one would do in a sales funnel. Like different pixels on every stage of the funnel. Is there a way to include script tag or an image pixel into the responses, so it gets executed on the client side? I think I can do it on the cloud side but what I really want is to execute it on client side to get better analytics. I am looking to use GA4 for this. All ideas and suggestions/help is appreciated.
g
Bump
a
You can run code at different places using an execute code card. I'm not familiar with GA4, but if it has an API you can post user data to, that would be a good place to start
g
but execute card would run in on the server right? is there an option to include a script tag or an image tag in Text card? or even basic HTML?
a
Correct, it runs on the server so you would need javascript or node.js code
g
Is there anyway to execute it in client side?
a
if you put the script in the same HTML page as the chatbot, sure. But I'm not sure how you could get the two to talk to each other.