Skip to main content

Create unique IDs for your products with the Unique ID Generator

Discover how to create unique IDs for your products with the Unique ID Generator data service in Productsup.

Introduction

The Unique ID Generator data service can create unique numerical IDs for your products across your account, project, or site. The data service compares all data stored in all columns of each product and assigns a numeric ID to each product whose data is unique. If two products have the same data, they receive the same ID.

Note

The Unique ID Generator data service is available for the intermediate stage only.

Prerequisites

Make sure you have set a product identifier to use this data service. See Set a product identifier for more information.

Add the Unique ID Generator data service

  1. Go to Data Services from your site's main menu and select ADD SERVICE.

  2. Search for Unique ID Generator, select Add, give it a desired name and column prefix, and select Add.

    Add the Unique ID Generator data service to create unique IDs for your products
  3. In ID pool based on…, choose the level within the platform that Productsup should scan for product uniqueness:

    • Account - Productsup assesses the uniqueness of all products in your account. Each unique product in this account gets a unique ID. If multiple sites have a product with the same data, such a product receives the same ID across all sites of the account.

    • Account (Distinct) - Productsup assesses the uniqueness of all products in your account. Each unique product in this account gets a unique ID. If multiple sites have a product with the same data, such a product receives unique IDs each time it appears in the account.

    • Project - Productsup assesses the uniqueness of all products in the chosen project. Each unique product in this project gets a unique ID. If multiple sites have a product with the same data, such a product receives the same ID across all sites in the project.

    • Project (Distinct) - Productsup assesses the uniqueness of all products in the chosen project. Each unique product in this project gets a unique ID. If multiple sites have a product with the same data, such a product receives unique IDs each time it appears in the project.

    • Site - Productsup assesses the uniqueness of all products in the chosen site. Each unique product in this site gets a unique ID.

  4. Select Save.

  5. For the platform to process a new data service, select Import or Run in the top-right corner of your site's view.

    Note

    If you can't see your unique IDs attribute in the intermediate stage in Data View, ensure the platform hasn't hidden that attribute:

    1. Go to Data View from your site's main menu and choose Intermediate in the drop-down list on your left.

    2. Select the hamburger icon on the right and then select the eye icon.

    3. Find the ___service_uniqueid_id attribute in the list and select the eye icon next to it.

    4. Close the pop-up menu.

    The naming of the attributes created by Unique ID Generator depends on the column prefix you chose in Step 2. The attribute names the data service generates always start with three underscores (___), which means the platform doesn't send such attributes to your export channels.

Edit the Unique ID Generator data service

  1. Go to Data Services from your site's main menu.

  2. To deactivate a data service, choose the pause icon next to the desired data service.

  3. Select the cogwheel icon () next to the desired data service to edit other settings.

  4. Once ready with new settings, select Save.

Delete the Unique ID Generator data service

  1. Go to Data Services from your site's main menu.

  2. Select the cogwheel icon () next to the desired data service.

  3. In the Danger Area panel, select Remove this service.

  4. Select Yes.