We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ea2989 commit 8d25c98Copy full SHA for 8d25c98
packages/analytics/src/helpers.ts
@@ -304,10 +304,11 @@ function wrapGtag(
304
gtagParams as GtagConfigOrEventParams
305
);
306
} else if (command === GtagCommand.CONSENT) {
307
- const [consentString, gtagParams] = args;
+ const [consentAction, gtagParams] = args;
308
+ // consentAction can be one of 'default' or 'update'.
309
gtagCore(
310
GtagCommand.CONSENT,
- consentString,
311
+ consentAction,
312
gtagParams as ConsentSettings
313
314
} else if (command === GtagCommand.GET) {
0 commit comments