feat: add email to A/B function (#44187)

* feat: add email to A/B function

* fix: declare types for sha-1

* Update client/src/utils/A-B-tester.ts

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* feat: add custom dimesions for donation events

* feat: re-order if statemetns

* Apply suggestions from code review

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: assuage TypeScript

* update rename

* rename vars

* update naming

* re add types

* Update client/src/redux/ga-saga.js

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
Ahmad Abdolsaheb
2021-11-22 16:43:28 +03:00
committed by GitHub
parent 204114c00f
commit b4326f0ad6
11 changed files with 41693 additions and 46106 deletions

View File

@@ -11,8 +11,8 @@ describe('ga-saga', () => {
const mockEventPayload = {
type: 'event',
data: {
category: 'Donation',
action: 'year end gift paypal button click'
category: 'Map Challenge Click',
action: '/learn'
}
};
return (