diff --git a/packages/analytics/src/functions.ts b/packages/analytics/src/functions.ts index 7f5d3b337ed..dd5062aa548 100644 --- a/packages/analytics/src/functions.ts +++ b/packages/analytics/src/functions.ts @@ -142,8 +142,6 @@ export async function setUserProperties( * Retrieves a unique Google Analytics identifier for the web client. * See {@link https://developers.google.com/analytics/devguides/collection/ga4/reference/config#client_id | client_id}. * - * @public - * * @param gtagFunction Wrapped gtag function that waits for fid to be set before sending an event */ export async function internalGetGoogleAnalyticsClientId( diff --git a/packages/analytics/src/helpers.ts b/packages/analytics/src/helpers.ts index caef1f11782..7f9582900c2 100644 --- a/packages/analytics/src/helpers.ts +++ b/packages/analytics/src/helpers.ts @@ -305,7 +305,6 @@ function wrapGtag( ); } else if (command === GtagCommand.CONSENT) { const [gtagParams] = args; - // If CONFIG, second arg must be measurementId. gtagCore(GtagCommand.CONSENT, 'update', gtagParams as ConsentSettings); } else if (command === GtagCommand.GET) { const [measurementId, fieldName, callback] = args;