WordPress Account context variables not working
-
Using WP 4.9.5 and Watson plugin 0.6.6
I tried out the feature that allows you to set context variables for the wordpress account data of the visitor, but it did not work. I did the following:
0) set the values for first name and nickname to fname and nickname within the plugin config, and saved it.
1) Customized the dialog that recognizes the greeting intent (e.g., “Hello”) to handle multiple responses.
2) Entered three responses, as follows:
$nickname Hi, $nickname
$fname Hi, $fname
Hi
3) Logged in to WordPress and opened the chatbox.
4) Typed “Hello”
5) Watson responds with “Hi”, even though I have a fname and a nickname defined
Please note that I do not have a caching plugin and do not use a CDN. Clearing the browser cache has no effect. The problem exists on both Firefox and Chrome browsers.
- The topic ‘WordPress Account context variables not working’ is closed to new replies.