Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/google-loader-bootstrap.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# non-spooky-react-cookie

## 0.1.1

### Patch Changes

- 5d92451: Consent-gated Google Tag Manager (`gtm.js?id=GTM-…`) and gtag.js (`gtag/js?id=G-…`) scripts now send data. Before, the provider only inserted the `<script>`: GTM loaded but never got the `gtm.js` event its "All Pages" trigger fires on, and gtag.js never got `gtag("js")` / `gtag("config")`, so no page views reached Google Analytics. The provider now queues that start command right before inserting the script, once per container per page. Set `googleBootstrap: false` on a script entry if you queue these commands yourself.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "non-spooky-react-cookie",
"version": "0.1.0",
"version": "0.1.1",
"description": "A friendly, lightweight cookie consent manager for React and Next.js. Optional scripts stay out of the DOM until the visitor says yes.",
"keywords": [
"react",
Expand Down
Loading