Recent searches


No recent searches

AnswerBot not showing request form after unsuccesful query

Answered


Posted Feb 03, 2022

Hello,
I have a Classic Web Widget active on my site (answerbot). I would like for users to be shown the form to submit a query if their request was unsuccesful.

I have added contactOptions: { enabled: true } and contactOnlyAfterQuery: true but this does not seem to be doing anything.

This is the whole snippet:

<script>
    window.zESettings = {
        cookies: false,
        webWidget: {
            contactOptions: {
                enabled: true,
                contactButton: { '*': 'Get in touch' }
            },
            answerBot: {
                avatar: {
                    url: 'xxxxx',
                    name: {
                        '*': 'Bot'
                    },
                    contactOnlyAfterQuery: true
                },
                search: {
                    labels: l
                },
                title: {
                    '*': 'How can we help?'
                }
            }
        }
    };
</script>
<script id="ze-snippet" src="xxx"></script>

Any ideas on why the form is not showing up after an unsuccessful query?


1

2

2 comments

Hello, there was a reply here a few days ago asking me to enable account assumption for a week (which I did). Any news?

0


image avatar

Eric Nelson

Zendesk Developer Advocacy

Hey Lorenzo,

Apologies about that, for ContactOnlyAfterQuery to work you need to make sure that the contact form is enabled on the web widget. If you enabled that you should be all set. 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post