WooCommerce

Prev Next

WooCommerce is an open-source e-commerce plugin designed for WordPress websites. It enables users to turn their WordPress sites into fully functional online stores, providing tools for product management, shopping cart functionality, and payment processing.
Refer to our website for the list of metrics and attributes available in Dataddo.

Refer to WooCommerce's official documentation to see all available endpoints from the WooCommerce API.

Authorize Connection to WooCommerce

In WooCommerce

To authorize your WooCommerce account, you will need your domain name, a consumer key (= API token), and a consumer secret.

  1. In your WooCommerce account, open the menu on the left.
  2. Click on Settings and select Advanced.
  3. Find the REST API tab and click on Add key.
  4. Make sure the Read/Write permission is selected and click on Generate API key.
  5. Copy the Consumer key and Consumer secret values.

In Dataddo

  1. On the Authorizers page, click on Authorize New Service and select WooCommerce.
  2. Fill in the following fields:
    1. Domain: Your WooCommerce subdomain name.
    2. Consumer Key: WooCommerce API key.
    3. Consumer Secret: Secret to the API key.
  3. Rename your authorizer for easier identification and click on Save.

How to Create a WooCommerce Source

  1. On the Sources page, click on the Create Source button.
  2. Select the connector from the list and name your data source.
  3. On the Dataset step, select your dataset.
    DATADDO TIP

    If you're unsure which dataset to select, use the search bar to look for datasets with the desired attributes or metrics.

  4. On the Account step select your authorizer from the drop-down menu.
    Didn't find your authorizer?

    Click on Add new Account at the bottom of the drop-down and follow the on-screen prompts. You can also go to the Authorizers tab and click on Add New Service.

  5. On the Attributes and Metrics step, select the metrics and attributes you want to extract.
    Create a source using a custom-schema connector.
  6. On the Metadata step, select which metadata fields such as extraction time to add to your data.
  7. On the Snapshot step:
    1. Configure your sync frequency or click Show advanced settings to set the exact synchronization time.
      DATADDO TIP

      To load historical data, refer to the Data Backfilling article.

    2. [Optional] Enable the Allow Empty Data Extractions toggle to allow the extraction when no data is available.
  8. In the top-right corner, click Test Data button to preview extracted data. Adjust the date range for specific time frame.
  9. Click on Save and congratulations, your new data source is ready!


Troubleshooting

Data Preview Unavailable

No data preview when you click on Test Data might be caused by an issue with your source configuration. The most common causes are:

  • Date range: Try a smaller date range. You can load the rest of your data afterward via manual data load.
  • Insufficient permissions: Please make sure your authorized account has at least admin-level permissions.

Related Articles

Now that you have successfully created a data source, see how you can connect your data to a dashboarding app or a data storage.

Sending Data to Dashboarding Apps

Sending Data to Data Storages

Other Resources