Repository navigation
Commit b0dfd1f
fix(226492): resend identify when the page language changed
Gleap.identify / updateContact skipped the request when the user data was
unchanged, without comparing the active language. Apps that switch language
without a full reload (Turbo, SPAs updating <html lang>) re-identify with the
same data, so the contact's language in Gleap never updated and
language-targeted outreach used the old language.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent e8dfcb9 commit b0dfd1f
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
557 | 564 | | |
558 | 565 | | |
559 | 566 | | |
| |||
0 commit comments