Hi@abubakaranees,
Welcome to the Community! Happy to have you! Great job at checking out our documentation to set up Viewed Product Tracking.
Depending on your theme, where you put the snippet can change. However, adding the snippet to your product.liquid theme file is the correct location for you theme!
Can you confirm that there is a learnq code snippet when you look at the source code in your product pages? It should be at the very bottom of your product page’s source code. In order to investigate this, right click on your product page > View Source Code > Control + F > learnq . If you don’t see the code snippet, that will help identify what’s going on here. However, if you do find the Viewed Product Snippet, it could be that no one has triggered the metric yet, i.e. a cookied user, or known Klaviyo user has viewed a product on your website yet.
In order to test this, you can cookie your own browser, if you aren’t already, by adding the below sequence to the end of your browser on your homepage. After you add this in the browser, hit the Refresh button then navigate to your product page and look through various products on your site, hopefully triggered the Viewed Product metric.
/?utm_email=youemaiilhere
Afterwards you can check your email address’s profile and see if the Viewed Product Metric recorded on your profile.
Hope this helps! Thanks for participating in the Community!
-Taylor