Populate referrer fields from marketing cookie#45807
Conversation
Set Salesforce contact referrer fields from marketingAttributionCookie.referrer. Adds Source_referrer_url__c and Most_recent_referrer_url__c assignments in the initial attribution block and an additional Most_recent_referrer_url__c assignment in the later block so referrer data is persisted when creating/updating contacts.
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThis PR modifies the Salesforce Contact synchronization helper to populate additional attribution fields from the marketing cookie referrer. When creating a new Contact, it writes the referrer URL to both Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
Just confirmed the fields on the contact are ready: |
|
@eashaw I think this PR is ready to go |
Set Salesforce contact referrer fields from marketingAttributionCookie.referrer. Adds Source_referrer_url__c and Most_recent_referrer_url__c assignments in the initial attribution block and an additional Most_recent_referrer_url__c assignment in the later block so referrer data is persisted when creating/updating contacts.
Summary by CodeRabbit