'ax-translation-view-feedback-survey', 'type' => 'internal', 'embedElementId' => 'ax-translation-viewer-section-container', 'confirmMsg' => 'ax-translation-view-feedback-confirm-title', 'confirmDescription' => 'ax-translation-view-feedback-confirm-description', 'privacyPolicy' => 'ax-translation-view-feedback-privacy-statement', 'enabled' => true, 'audience' => [ // Specify an invalid pageId to avoid loading the "ext.quicksurveys.init" unless requested 'pageIds' => [ -1111 ] ], 'coverage' => 0, 'platforms' => [ 'desktop' => [ 'stable' ], 'mobile' => [ 'stable' ] ], 'questions' => [ [ 'name' => 'ax-translation-view-feedback-useful', 'layout' => 'single-answer', 'question' => 'ax-translation-view-feedback-title', 'answers' => [ [ 'label' => 'ax-translation-view-feedback-positive' ], [ 'label' => 'ax-translation-view-feedback-negative' ] ] ], // Question 2 - Depends on question 1 and the answer needs to be 'yes' [ 'name' => 'ax-feedback-positive-question', 'dependsOn' => [ [ 'question' => 'ax-translation-view-feedback-useful', 'answerIsOneOf' => [ 'ax-translation-view-feedback-positive' ] ] ], 'layout' => 'multiple-answer', 'question' => 'ax-translation-view-feedback-details-question', 'answers' => [ [ 'label' => 'ax-translation-view-feedback-positive-missing-information' ], [ 'label' => 'ax-translation-view-feedback-positive-translation-quality' ], [ 'label' => 'ax-translation-view-feedback-positive-quick-overview' ], [ 'label' => 'ax-translation-view-feedback-positive-technical-aspect' ], ], ], // Question 3 - Depends on question 1 and the answer needs to be 'no' [ 'name' => 'ax-feedback-negative-question', 'dependsOn' => [ [ 'question' => 'ax-translation-view-feedback-useful', 'answerIsOneOf' => [ 'ax-translation-view-feedback-negative' ] ] ], 'layout' => 'multiple-answer', 'question' => 'ax-translation-view-feedback-details-question', 'answers' => [ [ 'label' => 'ax-translation-view-feedback-negative-missing-information' ], [ 'label' => 'ax-translation-view-feedback-negative-translation-quality' ], [ 'label' => 'ax-translation-view-feedback-negative-quick-overview' ], [ 'label' => 'ax-translation-view-feedback-negative-technical-aspect' ] ], ], ] ] ];