> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/advanced/developer/tracking-shopify-products-by-sku-and-id.md).

# Tracking Shopify products by SKU and ID

For every product you sell, Shopify creates a unique **product ID** which you can see in the [URL of your store admin](https://help.shopify.com/en/themes/customization/products/variants/find-variant-id). It's a long number, like *8672415878*. You might not recognize the number, but it's how Shopify tracks your products from stock room to delivery.

You can also optionally add a [product SKU in your own format](https://help.shopify.com/en/manual/products/details/sku) for each [variant of that product](https://help.shopify.com/en/manual/products/variants/add-variants).

Littledata's tracking script sends either:

1. That variant SKU (if you set it) or
2. The Shopify product ID

to Google Analytics (GA) for all stages of the shopping journey. This is the number you'll see in product performance reports when you set 'Product SKU' as the primary dimension for the table.

![](https://downloads.intercomcdn.com/i/o/118834247/0079717749c4e2e489438e1f/product+performance.png)

If you are using Littledata's [Shopify to Segment connection](/integrations/shopify-to-segment/how-it-works.md) to send data to Google Analytics, Segment will map product ID to Google Analytics, even if SKU is also available.

Use Protocols to remove or remap the `product_id` field, so Segment sends the `sku` field instead.

{% hint style="success" %}
Read [Segment's destination documentation](https://segment.com/docs/connections/destinations/catalog/google-analytics/#enabling-enhanced-e-commerce-tracking)
{% endhint %}

#### Where can I see products variant names in Google Analytics?

If your store uses variants, we send that name in another field - '**product variant**'. To see that, you'll need to add a *secondary dimension* to the table.

1. Go to the secondary dimension drop-down above the table

![](https://downloads.intercomcdn.com/i/o/118834971/8bfc28efafebb327d2a246d3/Screenshot+2019-05-02+at+19.06.40.png)

1. Select 'Product variant' from the list, under ecommerce section

![](https://downloads.intercomcdn.com/i/o/118834701/306c8d3c88e65a8273303f39/Screenshot+2019-05-03+at+06.34.47.png)

You can also access this field 'product variant' in any custom report.

#### What about the other tabs for product performance report?

These are all unaffected. You can still track products by name, category and brand if you need to.

And uniquely, Littledata makes this category information available at the checkout and purchase steps as well.
