Quotas using embedded variables | XM Community
Skip to main content
I have a pretty big (for me) quota breakout that I am looking for a simpler solution. So I have embedded variable called "Market" that we populate using a database based on someones zip code. So it will tell us if they are in "Atlanta" or "Washington DC" etc. We use sample vendors to collect data and there are 4 of them in this study, each with their own redirect. So each sample vendor will be collecting 1/4 of each "Markets" overall quota.



i.e.

Atlanta - quota 400

Vendor 1 - 100

Vendor 2 - 100

Vendor 3 - 100

Vendor 4 - 100



So there are 40 markets with 4 vendors so we are talking about 160 individual quotas to set up.



Any suggestions?
I don't think there is a way to automate it. So, the fastest way will be to copy the quotas in such a way that you have to change the minimum amount for each copy (the description and one condition)
Is there a way to do this?



Have a hidden single select QUESTION that had a list of all the "Markets". Then write some kind of script that said if "embedded variable=Atlanta" automatically select "Atlanta" in that hidden question? Then I could do the same thing with vendor and then "create multiple quotas" based on those two questions?



This is how it was done in my previous survey platform...just a thought!
> @Jodi said:

> Is there a way to do this?

>

> Have a hidden single select QUESTION that had a list of all the "Markets". Then write some kind of script that said if "embedded variable=Atlanta" automatically select "Atlanta" in that hidden question? Then I could do the same thing with vendor and then "create multiple quotas" based on those two questions?

>

> This is how it was done in my previous survey platform...just a thought!

>



Yes, you could write some JavaScript to automatically select an answer based on an embedded variable.

Leave a Reply