---
schema_version: "1"
id: 5d8964d416bda14ced303c4326a0914b8f23fbd647629b5fec8413f4a88c931e
title: Export Quiz Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rt_adv_config_export_quiz_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rt_adv_config_export_quiz_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cd71a686552895a78221f7b54e9e34b1d77cfc878fcee1cf399ee036c686051a
description: Schedule an export job in Point of Sale to extract quiz data that provides customer-relevant information. You can export data, such as customer IDs, question IDs, and updated quiz answer times. Use the exported data to analyze customer responses and improve engagement.
products:
  - Commerce
release: "264"
---
# Export Quiz Data

Schedule an export job in Point of Sale to extract quiz data that provides customer-relevant information. You can export data, such as customer IDs, question IDs, and updated quiz answer times. Use the exported data to analyze customer responses and improve engagement.

For information on how to create a quiz, refer to [Create a Quiz](https://help.salesforce.com/s/articleView?id=commerce.rt_cms_layouts_quizzes_create.htm&release=264.0.0&type=5 "Use quizzes in Point of Sale to understand your customers' preferences and gather valuable data. Create engaging quizzes, forms, or polls to capture user feedback and information. Add surveys after successful checkouts and include mandatory questions to ensure you get the data you need. You can create quizzes that will allow users to answer a question and see the results of the poll in real-time after submitting their answer.").

## Set Up Field Mappings

Field mapping is optional, but it allows you to export quiz data into your merchant-specified fields, ensuring readability on your side. If no field mapping is configured, Point of Sale's backend will use the following default header names for export, which will appear in TLogs:

`CustomerID, OrderID, ProductID, UpdatedOn, QuestionID, QuestionText, Answer`

If mappings are configured, Point of Sale's backend will use the fields specified under PS Field and generate the query to retrieve the data accordingly. Please note that the backend will always query the following fields:

`_ProductIds, _TlogCustomAttributes, _ProductNames`

But the above fields will only be added to the TLog if mapping is configured.

1. In CMS, go to **Feeds** | **Field Mappings** | **Export Quiz**.
2. Under PS Fields, map the fields to your fields under Output Fields. ![A screenshot shows the mapping of Point of Sale fields to output fields.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-retail-264-0-0-production-enus/17d647fb-8988-49fb-9add-c4f4cc79c9e4/retail/images/rt_adv_config_export_quiz_data_map.png)
3. Fields under Output Fields can be added in multiple ways (manually, uploading file, or using default mappings) by clicking the blue icon next to Output Fields. ![A screenshot shows the options for output fields.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-retail-264-0-0-production-enus/17d647fb-8988-49fb-9add-c4f4cc79c9e4/retail/images/rt_adv_config_export_quiz_data_output_fields.png)
4. Save your changes.

## Schedule an Export Job for Quiz Data

Scheduling export jobs is similar to scheduling feeds. For the basics of creating scheduled jobs in the CMS refer to the article on [Schedule Feed Runs in Point of Sale CMS](https://help.salesforce.com/s/articleView?id=commerce.rt_adv_config_data_feeds_manage_schedule.htm&release=264.0.0&type=5 "Schedule your data feeds in Point of Sale so that you have the most up-to-date data. Select a runtime that meets your business needs. Get advice on creating the schedule. When no longer needed, delete a schedule.").

1. In the CMS, go to **Feeds** | **Export Jobs**.
2. Click on the + icon to create an export.
3. Select **Quiz Responses**.
4. Under Quizzes, select one or more quizzes to export their data.
5. Complete the rest of the fields by referring to [Schedule Feed Runs in Point of Sale CMS](https://help.salesforce.com/s/articleView?id=commerce.rt_adv_config_data_feeds_manage_schedule.htm&release=264.0.0&type=5 "Schedule your data feeds in Point of Sale so that you have the most up-to-date data. Select a runtime that meets your business needs. Get advice on creating the schedule. When no longer needed, delete a schedule.") and click **SAVE**. ![A screenshot shows the settings for a scheduled quiz data export.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-retail-264-0-0-production-enus/17d647fb-8988-49fb-9add-c4f4cc79c9e4/retail/images/rt_adv_config_export_quiz_data_schedule.png)
6. Back in CMS, go to **Store Management** | **Store Settings** | **Advanced**.
7. Under Quiz, toggle on the flag, Use filename pattern configured in CMS. By enabling this feature, the exported file will be properly named with the date and time configured. Save your changes. ![A screenshot shows the flag use for name pattern configured in CMS.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-retail-264-0-0-production-enus/17d647fb-8988-49fb-9add-c4f4cc79c9e4/retail/images/rt_adv_config_export_quiz_data_flag.png)

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-retail-264-0-0-production-enus/17d647fb-8988-49fb-9add-c4f4cc79c9e4/images/icon_note.png)

Note

An example file of the exported data can be found at [Example Quiz Export Data](https://help.salesforce.com/s/articleView?id=commerce.rt_adv_config_export_quiz_data.htm&release=264.0.0&type=5).

## Known Issues & Restrictions

As part of the 8.10.1 app build, the pre-checkout quiz was adjusted to include the CartID instead of the OrderID. In general, the CartID and OrderID will match. However, in some cases, they will not match if there was an error with the cart conversion and a new OrderID ends up being created during execution.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-retail-264-0-0-production-enus/17d647fb-8988-49fb-9add-c4f4cc79c9e4/images/icon_example.png)

Example Example Quiz Export Data: [sample quiz export data.csv](https://resources.docs.salesforce.com/rel1/doc/en-us/static/misc/sample-quiz-export-data.csv)