Tracking scripts is a JS script that is read after the chatbot collected a lead.
To redirect the user to another page after the user leaves his contact details, you can add this code to the tracking script field, under Webhooks and integrations.
Change the URL accordingly:
if you have a CRM integration, you might want to consider waiting a bit before the task proceeds. This way you will guarantee that the information had 'time' to get to the CRM. Read more below.
If you want the user to wait for a bit, just try adding a setTimeout:
Don't forget to change the URL accordingly, you can also change the timeout (now it will redirect after 2 seconds).