The audience sheet
tag and decorator triggers the platform to place a quota in the Audience Quotas applet, allowing you to manage the quota with targets, percentages, and variance. The tag references a system or local sheet known as an audience sheet.
setlist: GENLIST
1. Male
2. Female
1. What is your gender?
type: radio
optsfrom: GENLIST
GENDER. Gender quota
type: quotas
audience sheet: system.audience_us_gender
optsfrom: Q1
2. What is your age?
type: radio
create quota: AGEQ {desc: Age quota} {audience sheet: system.audience_us_age}
1. 18 to 24
2. 25 to 34
3. 35 to 44
4. 45 to 54
5. 55 to 64
6. 65 or more
Details
- The
audience sheet
tag should be placed on a quota variable created withtype: quota
and requires an audience sheet as the input. - The
audience sheet
decorator should be placed inline with thecreate quota
tag. - The
audience type
tag organizes quotas into groups within the Audience Quotas applet. This tag is optional. - If the
audience type
tag is applied, you must also use theaudtype parameter
in the entry URL. - The 'REP'
audience type
includes certain respondent statuses in its filter by default. This can be overridden by applying thequotabase
tag to the quota directly.
Additional examples
'audience type' tag
Each audience type has one field for setting the target "N" and variance. Audience quotas without an audience_type
tag are grouped into one table, while those with the same audience_type
(e.g., REP
) are grouped separately.
Create your own audience type by inputting any single-word value. There are also three system audience types available: 'REP' (Rep Sample), 'GS' (General Sample), and 'OS' (Over Sample).
setlist: GENLIST
1. Male
2. Female
1. What is your gender?
type: radio
optsfrom: GENLIST
GENDER. Gender group quota
type: quotas
audience sheet: system.audience_us_gender
audience type: REP
optsfrom: Q1
Note: At this time, the audience type
tag is not supported for usage with click balance quotas. This could change in the future as we launch new features.
Overriding the 'REP' audience quota's qualifying base
audience type: REP
includes the following respondent statuses in its qualifying logic by default: 'F','X','D','J','R', and 'B'. To override this, apply the quotabase
tag to a quota question (type: quota
) and adjust the respondent statuses as needed, as shown below.
GENDER. Gender group quota
type: quotas
quotabase: ($audience_type eq 'REP') and noneChecked($status,'X','F')
audience sheet: system.audience_us_gender
audience type: REP
optsfrom: Q1
'audtype' parameter
Although the audience type
tag is optional, you must use the audtype
parameter in the entry URL if you use it. The parameter is needed for audience quotas to "punch" and increment their counts in the Audience Quotas applet. The audtype
parameter should match the audience type
value used in the quota variable.
If we use QGENDER above as an example, the entry URL should be http://surveydomain.com/pub/survey_ID/record_ID?audtype=REP
.
For more information on formatting URL parameters, see Passing in parameters.
Comments
0 comments
Please sign in to leave a comment.