Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Comments

gad_*#25

Closed
Blaumaus wants to merge 3 commits intomainfrom
revenue-analytics
Closed

gad_*#25
Blaumaus wants to merge 3 commits intomainfrom
revenue-analytics

Conversation

@Blaumaus
Copy link
Member

@Blaumaus Blaumaus commented Jan 15, 2026

Summary by CodeRabbit

Release Notes

  • New Features

    • Tracking parameter detection now includes support for Google Ads parameters and Google Click ID identifiers for more comprehensive tracking recognition.
  • Chores

    • Version bumped to 4.0.0.

✏️ Tip: You can customize this high-level summary in your review settings.

@Blaumaus Blaumaus self-assigned this Jan 15, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 15, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Version bump to 4.0.0 and extended UTM/tracking query parameter detection to include Google Click ID (gclid) patterns and Google Ads parameters (gad_source, gad_campaignid). Added fallback behavior in getUTMMedium to detect gclid presence when utm_medium is absent.

Changes

Cohort / File(s) Summary
Package Configuration
package.json
Version bumped from 3.7.2 to 4.0.0
UTM/Tracking Utilities
src/utils.ts
Extended regex patterns to match gad_source and gad_campaignid; introduced gclidRegex and getGclid helper; updated getUTMMedium to fall back to gclid detection

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Version four hops into view,
UTM tracks gclid anew,
Google's ads now aligned,
With fallback designed,
Tracking logic—refined and true!

✨ Finishing touches
  • 📝 Generate docstrings


📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 08d431b and c16921d.

⛔ Files ignored due to path filters (12)
  • dist/esnext/Lib.d.ts is excluded by !**/dist/**
  • dist/esnext/Lib.js is excluded by !**/dist/**
  • dist/esnext/Lib.js.map is excluded by !**/dist/**, !**/*.map
  • dist/esnext/index.d.ts is excluded by !**/dist/**
  • dist/esnext/index.js is excluded by !**/dist/**
  • dist/esnext/index.js.map is excluded by !**/dist/**, !**/*.map
  • dist/swetrix.cjs.js is excluded by !**/dist/**
  • dist/swetrix.cjs.js.map is excluded by !**/dist/**, !**/*.map
  • dist/swetrix.es5.js is excluded by !**/dist/**
  • dist/swetrix.es5.js.map is excluded by !**/dist/**, !**/*.map
  • dist/swetrix.js is excluded by !**/dist/**
  • dist/swetrix.js.map is excluded by !**/dist/**, !**/*.map
📒 Files selected for processing (2)
  • package.json
  • src/utils.ts

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Blaumaus Blaumaus closed this Jan 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant