Retrive URL of site in Virtual agent script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2022 02:25 AM
I have embedded VA on external websites using engagement messenger. Is there any way to retrieve URL of that website in Virtual Agent topic script ?
- Labels:
-
Multiple Versions
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 11:19 PM
Hi Akshay,
Firstly you need to add the parent window's URL to the iframe URL as a query parameter with "sysparm_" as the prefix (sysparm_url).
Then you can get this value within the VA topic script using vaContext.url
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 04:30 AM
Hi Abhsihek,
Thank you for your response
We have achieved same with "sysparm_" only but this is applicable only to "chat" feature of engagement messenger not for "home" feature.
Thanks,
Akshay