Same product ID used twice in s.products in same hit and string | Community
Skip to main content
Level 1
February 9, 2026
Question

Same product ID used twice in s.products in same hit and string

  • February 9, 2026
  • 2 replies
  • 22 views

Hi,

 

Can someone confirm how data is processed if a product ID is used twice in s.products in the same hit?

If the s.products string contained something like this, with the same product ID used twice:

hotel;24174;1;558;event199=558|event57=1;eVar4=hotel|..........,package;24174;1;2648;event199=1324|event57=1;eVar4=pauschalreise|….

Would Analytics ignore the second instance of product ID 24174?

 

 

Background:

We are currently evaluating a change regarding which ID to use as the product ID in s.products.

In our industry, we have a kind of ID hierarchy: There is a general ID per product. Each product can have multiple distinct offers with offer IDs. Each general ID can be connected to 5 - 10 offer IDs.

Until now, we use the offer IDs as product ID. This has one disadvantage for us: There are some pieces of information on the search results list which we can only track on that page type and that relate more to the product than the pdp. We use merchandising eVars for this so that the merchandising eVars’ values are bound to the respective offer ID. SInce there are multiple products / offers on the search results list, we need to use the products syntax for the merchandising eVars.

On the following pdp however, the user can make adjustments so that the offer ID changes. The information from the merchandising eVars on the list is lost in that case.   

By using a more aggregated product ID, this would not happen. However, the more aggregated product ID can be connected with several offers on the same page and would result in the occurrence of the same product ID in the same s.products string twice.

 

Thank you very much in advance.

Best regards,

Christiane

    2 replies

    bjoern__koth
    Community Advisor and Adobe Champion
    Community Advisor and Adobe Champion
    February 9, 2026

    AFAIK, there is no deduplication in the products string. Meaning listing a product twice will result in duplicate counting.

    If you have different configurations for the different event combinations, this could make sense though if you have situations where one product is for instance discounted, like a buy-one-get-one-cheaper or so.

    Cheers from Switzerland!
    Jennifer_Dungan
    Community Advisor and Adobe Champion
    Community Advisor and Adobe Champion
    February 9, 2026

    I too am unaware of any product de-duplication in s.products, especially with unique merchandising eVars and category…  the only way to pass those unique values would be to pass the same product multiple times with those differences… 

     

    You can always test this by manually updating a request string and sending it into your Dev/QA suite (if you want to confirm the approach before your developers code the solution).

     

    I have done this before, I will capture the full URL request (it must be a GET and not a POST). I will change one or two values to make sure I can easily find it, then I will take the original products string and modify it to pass the scenario I want to test (I will do this in notepad or notepad++, or the Mac equivalent… basically, just a text editor). Once I am sure the request is correctly formed, I will just copy it and paste it into the URL bar of my browser. Then I will wait about an hour, then check my Dev/QA suite for the data.