Skip to content

Commit

Permalink
Add new survey for hmrc manuals
Browse files Browse the repository at this point in the history
A 1 in 6 survey to run only on /hmrc-internal-manuals content.
  • Loading branch information
h-lame committed Oct 26, 2017
1 parent 02af610 commit d22fbf9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/assets/javascripts/surveys.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,24 @@
'^/guidance/vat-imports-acquisitions-and-purchases-from-abroad(?:/|$)'
]
}
},
{
identifier: 'hmrc_manuals',
surveyType: 'url',
frequency: 6,
startTime: new Date('October 26, 2017').getTime(),
endTime: new Date('January 28, 2018 23:59:50').getTime(),
url: 'https://www.smartsurvey.co.uk/s/hmrcmanuals/?c={{currentPath}}',
templateArgs: {
title: 'Tell us what you think of GOV.UK',
surveyCta: 'Answer 5 quick questions to help us make GOV.UK better.',
surveyCtaPostscript: 'This will open a short survey on another website'
},
activeWhen: {
path: [
'^/hmrc-internal-manuals/(?:/|$)'
]
}
}
],

Expand Down

0 comments on commit d22fbf9

Please sign in to comment.