@buildbase/sdk 0.0.67 → 0.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.0.68] - 2026-09-19
11
+
12
+ ### Fixed
13
+
14
+ - **A second ad click no longer produces a record describing two clicks.** The stored campaign data (`bb_attr`) used to merge per parameter, first value winning, so a visitor who clicked two ads kept the first ad's `gclid` next to the second ad's `utm_campaign` - Google Ads was sent one click while GA4 showed the other campaign. Each visit is now one record:
15
+ - a visit carrying a click id (`gclid`, `gbraid`, `wbraid`, `fbclid`, `msclkid` and the rest) replaces it, because the newest click is the one ad platforms credit, and an old click id can have aged out of their window;
16
+ - a visit with only UTM tags never replaces a stored click id, so an ad followed by a newsletter visit still credits the ad;
17
+ - otherwise a campaign visit replaces a campaign-only record, whole.
18
+
10
19
  ## [0.0.67] - 2026-09-19
11
20
 
12
21
  `v0.0.66` was tagged before this section existed and stopped by the release preflight before anything was published, so it does not exist on npm. Everything below is new relative to `0.0.65`.