Drift
Boost Drift support with Zipy Session URL for targeted assistance.
Last updated
Boost Drift support with Zipy Session URL for targeted assistance.
Last updated
First, create a custom attribute in Drift with the name "Zipy Session Url". This attribute will be used to store and display the Zipy session URL in the Drift conversations. Follow the instructions provided by Drift's documentation on how to create custom attributes and make sure to enable the "Show in conversation" option for the "Zipy Session Url" attribute. Save the changes.
For more information on creating custom attributes in Drift, you can visit this link: Link to Drift's Data Types documentation
Next, add the following code snippet to your website. This code listens for the "message:sent" event in Drift and retrieves the Zipy session URL using the getCurrentSessionURL()
function provided by the Zipy library. After a slight delay (1.5 seconds), the code sets the user attribute "Zipy Session URL" with the retrieved URL using the Drift API.
After completing the above steps, whenever a user sends a message to Drift support, the Zipy session URL will be displayed in the conversation. This allows support agents to easily access the Zipy session URL and provide more targeted assistance to users.