Hi,
What is the best way to check if the user is in the product detail page?
Right now I am:
- Using an Page.AfterRender notification (because I just need to log a few things, so nothing that would impact the HTML)
- Checking if the ProductId query parameter is not null nor empty
- Checking if the current page has an active paragraph with the ProductCatalog App
It works, but I wonder if this is the proper place to do it and/or if there are better ways to do this.
Best Regards,
Nuno Aguiar