|
| 1 | +--- |
| 2 | +title: 'ACSD-66807: `report_viewed_product_index` table shows an incorrect count of product page views' |
| 3 | +description: Apply the ACSD-66807 patch to fix the Adobe Commerce issue where `report_viewed_product_index` table shows an incorrect count of product page views. |
| 4 | +feature: Reporting |
| 5 | +role: Admin, Developer |
| 6 | +type: Troubleshooting |
| 7 | +--- |
| 8 | + |
| 9 | +# ACSD-66807: `report_viewed_product_index` table shows an incorrect count of product page views |
| 10 | + |
| 11 | +The ACSD-66807 patch fixes the issue where `report_viewed_product_index` table shows an incorrect count of product page views. This patch is available when the [[!DNL Quality Patches Tool (QPT)]](/help/tools/quality-patches-tool/quality-patches-tool-to-self-serve-quality-patches.md) 1.1.72 is installed. The patch ID is ACSD-66807. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9. |
| 12 | + |
| 13 | +## Affected products and versions |
| 14 | + |
| 15 | +**The patch is created for Adobe Commerce version:** |
| 16 | + |
| 17 | +* Adobe Commerce (all deployment methods) 2.4.7-p5 |
| 18 | + |
| 19 | +**Compatible with Adobe Commerce versions:** |
| 20 | + |
| 21 | +* Adobe Commerce (all deployment methods) 2.4.4 - 2.4.8-p2 |
| 22 | + |
| 23 | +>[!NOTE] |
| 24 | +> |
| 25 | +>The patch might become applicable to other versions with new [!DNL Quality Patches Tool] releases. To check if the patch is compatible with your Adobe Commerce version, update the `magento/quality-patches` package to the latest version and check the compatibility on the [[!DNL Quality Patches Tool]: Search for patches page](https://experienceleague.adobe.com/tools/commerce-quality-patches/index.html). Use the patch ID as a search keyword to locate the patch. |
| 26 | +
|
| 27 | +## Issue |
| 28 | + |
| 29 | +`report_viewed_product_index` table shows an incorrect count of product page views. |
| 30 | + |
| 31 | +<u>Steps to reproduce</u>: |
| 32 | + |
| 33 | +1. Go to **[!UICONTROL Stores]** > *[!UICONTROL Settings]* > **[!UICONTROL Configuration]** > **[!UICONTROL General]** > **[!UICONTROL Reports]**. Set **[!UICONTROL Enable "Product View" Report]** to *Yes*. |
| 34 | +1. Clear cache. |
| 35 | +1. Visit a product page on the frontend (for example, product "A"). |
| 36 | +1. Check the `report_viewed_product_index` table and see a record for product "A". |
| 37 | +1. Refresh the page (or open it in an incognito tab). |
| 38 | + |
| 39 | +<u>Expected results</u>: |
| 40 | + |
| 41 | +There should be two records in the `report_viewed_product_index` table for product "A". |
| 42 | + |
| 43 | +<u>Actual results</u>: |
| 44 | + |
| 45 | +Only one record exists in the `report_viewed_product_index` table for product "A". |
| 46 | + |
| 47 | +## Apply the patch |
| 48 | + |
| 49 | +To apply individual patches, use the following links depending on your deployment method: |
| 50 | + |
| 51 | +* Adobe Commerce or Magento Open Source on-premises: [[!DNL Quality Patches Tool] > Usage](/help/tools/quality-patches-tool/usage.md) in the [!DNL Quality Patches Tool] guide. |
| 52 | +* Adobe Commerce on cloud infrastructure: [Upgrades and Patches > Apply Patches](https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/develop/upgrade/apply-patches.html) in the Commerce on Cloud Infrastructure guide. |
| 53 | + |
| 54 | +## Related reading |
| 55 | + |
| 56 | +To learn more about [!DNL Quality Patches Tool], refer to: |
| 57 | + |
| 58 | +* [[!DNL Quality Patches Tool]: A self-service tool for quality patches](/help/tools/quality-patches-tool/quality-patches-tool-to-self-serve-quality-patches.md) in the Tools guide. |
0 commit comments