ZD chat trigger based on visitor path
Hi. Is there a way to create a chat trigger based on the entire visitor's URL path through your site, and not just a URL of the previous page visitor was on? Let's say I would want to send an automatic chat message to some visitors, but to only those who have already visited several specific pages before, not just the last previous one.
Was going through the triggers reference manual and couldn't find anything related: https://support.zendesk.com/hc/en-us/articles/360022182874-Triggers-reference-for-developers-
Thank you in advance.
-
Hey @Alexander G
I as well cannot see a way to do this with the native Chat options in triggers.
Maybe someone else will come by and give you the solution, but here is also a workaround that should be possible, at least in my head it is - I haven't actually done it before though:
1. Locate the URL's required to trigger the chat, and set unique cookies for each of the URLs. You can do session-based cookies if you only want to engage with users who have met the URL's requirements in one session.
2. Write a condition-based script, checking for all your cookies - and once met, setup your chat trigger to locate the specific URL/Title/Whatever unique identifier possible, to initiate the chat with the end-user.
The above is a very loose suggestion, and you might want an experienced web developer to handle this - but none the less, it should be possible - maybe also in other ways.
Vous devez vous connecter pour laisser un commentaire.
1 Commentaires