You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/hydrogen/src/analytics-manager/AnalyticsProvider.tsx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ export type AnalyticsProviderProps = {
76
76
canTrack?: ()=>boolean;
77
77
/** An optional custom payload to pass to all events. e.g language/locale/currency. */
78
78
customData?: Record<string,unknown>;
79
-
/** The shop configuration required to publish analytics events to Shopify. Use [`getShopAnalytics`](/docs/api/hydrogen/utilities/getshopanalytics). */
79
+
/** The shop configuration required to publish analytics events to Shopify. Use [`getShopAnalytics`](/docs/api/hydrogen/2025-04/utilities/getshopanalytics). */
/** The customer privacy consent configuration and options. */
82
82
consent: Consent;
@@ -436,7 +436,7 @@ function useShopAnalytics(shopProp: AnalyticsProviderProps['shop']): {
436
436
437
437
typeShopAnalyticsProps={
438
438
/**
439
-
* The storefront client instance created by [`createStorefrontClient`](docs/api/hydrogen/utilities/createstorefrontclient).
439
+
* The storefront client instance created by [`createStorefrontClient`](docs/api/hydrogen/2025-04/utilities/createstorefrontclient).
440
440
*/
441
441
storefront: Storefront;
442
442
/**
@@ -506,7 +506,7 @@ export type AnalyticsContextValueForDoc<UserCart> = {
506
506
prevCart?: UserCart|DefaultCart;
507
507
/** A function to publish an analytics event. */
508
508
publish?: AnalyticsContextPublishForDoc;
509
-
/** A function to register with the analytics provider. It holds the first browser load events until all registered key has executed the supplied `ready` function. [See example register usage](/docs/api/hydrogen/hooks/useanalytics#example-useanalytics.register). */
509
+
/** A function to register with the analytics provider. It holds the first browser load events until all registered key has executed the supplied `ready` function. [See example register usage](/docs/api/hydrogen/2025-04/hooks/useanalytics#example-useanalytics.register). */
510
510
register?: (key: string)=>{ready: ()=>void};
511
511
/** The shop configuration required to publish events to Shopify. */
0 commit comments