From 3209264c6c3ed9e043db5033c90fe9b0b724a801 Mon Sep 17 00:00:00 2001 From: Elena Tanasoiu Date: Tue, 21 Mar 2017 12:20:53 +0000 Subject: [PATCH] Add new email survey This email survey will run with a 1-in-25 frequency, from when we first deploy it (Wednesday, 22.03.2017 at 00:01 AM) to the end of Friday (24.03.2017 at 23:59:59) --- app/assets/javascripts/surveys.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/surveys.js b/app/assets/javascripts/surveys.js index c32b230f4..586a6f7ef 100644 --- a/app/assets/javascripts/surveys.js +++ b/app/assets/javascripts/surveys.js @@ -51,7 +51,7 @@ smallSurveys: [ { identifier: 'govuk_email_survey_t02', - frequency: 50, + frequency: 25, activeWhen: function() { function breadcrumbExclude() { var text = $('.govuk-breadcrumbs').text() || ""; @@ -72,8 +72,8 @@ return !(sectionExclude() || breadcrumbExclude() || organisationExclude()); }, surveyType: 'email', - startTime: new Date("March 17, 2017 13:00:00").getTime(), - endTime: new Date("March 20, 2017 23:59:59").getTime() + startTime: new Date("March 22, 2017 00:01:00").getTime(), + endTime: new Date("March 24, 2017 23:59:59").getTime() }, { url: "https://signup.take-part-in-research.service.gov.uk/home?utm_campaign=" + window.location.pathname + "&utm_source=Hold_gov_to_account&utm_medium=gov.uk%20survey&t=GDS",