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
@@ -179,7 +179,7 @@ The `getConsentCookie()` function now internally uses `parseCompactFormat()` to
179
179
180
180
`getConsentCookie` now returns a compact version of the consent values:
181
181
182
-
```ts
182
+
```ts copy
183
183
{
184
184
i.t: 123456789,
185
185
c.necessary: true,
@@ -195,7 +195,7 @@ Instances where `getConsentCookie` is used have been updated to reflect this new
195
195
196
196
`c15t` scripts now support rendering in either the `<head>` or `<body>` based on the `location` field from the BigCommerce API:
197
197
198
-
```ts
198
+
```ts copy
199
199
// Scripts transformer now includes target based on location
200
200
target: script.location==='HEAD'?'head':'body'
201
201
```
@@ -206,7 +206,7 @@ The `ScriptsFragment` GraphQL query now includes the `location` field, allowing
206
206
207
207
The `RootLayoutMetadataQuery` GraphQL query now includes the `privacyPolicyUrl` field, which the `CookieBanner` component now accepts as a prop. Here is an abbreviated version of that query.
0 commit comments