Skip to content

Track missing Bizible cookie on lead submissions - #11

Merged
envoy-adam merged 1 commit into
mainfrom
track-missing-bizible-cookie
Aug 27, 2026
Merged

Track missing Bizible cookie on lead submissions#11
envoy-adam merged 1 commit into
mainfrom
track-missing-bizible-cookie

Conversation

@envoy-adam

@envoy-adam envoy-adam commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • check for the Bizible _biz_uid cookie when a Marketo form is submitted
  • add bizible_cookie_missing to the generate_lead dataLayer event

Validation

  • node --check src/utils/form-handlers.js
  • git diff --check

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds client-side tracking to detect when the Bizible _biz_uid cookie is missing at Marketo form submission time, and includes that signal in the generate_lead GTM/dataLayer event payload to support downstream analytics/attribution monitoring.

Changes:

  • Introduces a BIZIBLE_COOKIE_NAME constant and a small hasCookie() helper.
  • Computes bizibleCookieMissing on Marketo form submit.
  • Adds bizible_cookie_missing to the generate_lead window.dataLayer.push(...) event payload.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@envoy-adam
envoy-adam merged commit f5c53c5 into main Aug 27, 2026
3 checks passed
@envoy-adam
envoy-adam deleted the track-missing-bizible-cookie branch August 27, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants