[PDP] Add UKM for PDP state
This CL adds the UKM to track if the page is a product page, and if so,
the source of this decision.
UKM approaval: https://docs.google.com/document/d/1M7fYzf90Mx3OBuheP8beAuoFwubtNrXQuYjA5P-kClk/edit#heading=h.8nmrbmye9rnv
Bug: 1491256
Change-Id: I84cb41587c65b38fb2f425a588273f82a48dde51
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5009050
Reviewed-by: Matthew Jones <[email protected]>
Reviewed-by: Alexei Svitkine <[email protected]>
Commit-Queue: Yue Zhang <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1221210}
diff --git a/components/commerce/ios/browser/BUILD.gn b/components/commerce/ios/browser/BUILD.gn
index 248d3ee3..7ffd4c6 100644
--- a/components/commerce/ios/browser/BUILD.gn
+++ b/components/commerce/ios/browser/BUILD.gn
@@ -18,6 +18,7 @@
"//base",
"//components/commerce/core:shopping_service",
"//components/resources:components_resources_grit",
+ "//components/ukm/ios:ukm_url_recorder",
"//ios/web",
"//ios/web/public",
"//ios/web/public/js_messaging",