diff --git a/app/assets/javascripts/surveys.js b/app/assets/javascripts/surveys.js index a2c135cea..dd55a9f15 100644 --- a/app/assets/javascripts/surveys.js +++ b/app/assets/javascripts/surveys.js @@ -95,46 +95,20 @@ } }, { - identifier: 'service_standards_reports_survey', + identifier: 'phe_survey', surveyType: 'url', frequency: 1, - startTime: new Date("February 26, 2019").getTime(), - endTime: new Date("March 27, 2019").getTime(), - url: 'https://www.smartsurvey.co.uk/s/SurveyStandardReportsPage/', + startTime: new Date("May 6, 2019").getTime(), + endTime: new Date("May 20, 2019").getTime(), + url: 'https://www.smartsurvey.co.uk/s/OZ4X6/', templateArgs: { - title: "Help us improve Service Standards Reports on GOV.UK", - surveyCta: 'Take the 3 minute survey', - surveyCtaPostscript: '(This will open a short survey on another website)' + title: "Help us improve this page", + surveyCta: 'We want to know how you use evaluation information', + surveyCtaPostscript: '(This will open the sign-up form on another website)' }, activeWhen: { path: [ - '^/service-standard-reports' - ] - } - }, - { - identifier: 'cookies-survey', - surveyType: 'url', - frequency: 6, - startTime: new Date("March 13, 2019").getTime(), - endTime: new Date("April 30, 2019").getTime(), - url: 'https://www.smartsurvey.co.uk/s/ZUHHE/?c={{currentPath}}', - templateArgs: { - title: "Help improve GOV.UK", - surveyCta: 'Take a short survey to make the website better', - surveyCtaPostscript: '(This will open a short survey on another website)' - }, - activeWhen: { - matchType: 'exclude', - path: [ - '^/topic/intellectual-property/trade-marks', - '^/topic/intellectual-property/patents', - '^/topic/intellectual-property/designs', - '^/government/organisations/intellectual-property-office', - '^/how-to-register-a-trade-mark', - '^/apply-for-a-patent', - '^/apply-register-design', - '^/service-standard-reports' + '^/government/collections/evaluation-in-health-and-wellbeing' ] } }