Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

refactor: a/b testing feature doesnt track user events #5679

Merged
merged 60 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
0a19ef2
refactor: a/b testing feature doesnt track user events
NikitK-deriv Sep 25, 2023
4cc8bcf
fix: remove prod key from staging and beta to prevent data mix
NikitK-deriv Sep 25, 2023
28573ab
fix: resolve build issue
NikitK-deriv Sep 25, 2023
ed3dc63
refactor: ecrypted connection, add attributes
NikitK-deriv Sep 28, 2023
daa884f
fix: tracking foundation
NikitK-deriv Oct 2, 2023
1193b63
fix: vercel issue
NikitK-deriv Oct 2, 2023
454e207
feat: add ecnryption key in yml files
NikitK-deriv Oct 2, 2023
8702487
fix: vercel issue
NikitK-deriv Oct 3, 2023
877b85e
fix: vercel issue
NikitK-deriv Oct 3, 2023
3948984
fix: vercel issue
NikitK-deriv Oct 3, 2023
ed66f0d
fix: vercel issue
NikitK-deriv Oct 3, 2023
0116626
fix: vercel issue
NikitK-deriv Oct 3, 2023
6ffbc2a
chore: trigger vercel
NikitK-deriv Oct 3, 2023
3524a1b
chore: cleanup
NikitK-deriv Oct 3, 2023
0cb14b8
fix: mode
NikitK-deriv Oct 3, 2023
055d3d7
chore: rudder init before growthbook usage
NikitK-deriv Oct 3, 2023
f16b5a6
fix: vercel issue
NikitK-deriv Oct 3, 2023
a301b81
refactor: move growthbook from ssr to hook
NikitK-deriv Oct 3, 2023
c18c923
fix: vercel issue
NikitK-deriv Oct 3, 2023
9dde5c1
fix: vercel issue
NikitK-deriv Oct 3, 2023
9e32fbf
fix: vercel issue
NikitK-deriv Oct 3, 2023
977a40f
chore: cleanup
NikitK-deriv Oct 3, 2023
f3f4c21
feat: add dynamic devMode
NikitK-deriv Oct 4, 2023
da88508
chore: comment function with feature log
NikitK-deriv Oct 4, 2023
b516d07
chore: merge with latest master
NikitK-deriv Oct 5, 2023
eebadf6
feat: add growthbbok in package for example
NikitK-deriv Oct 9, 2023
4121968
refactor: new approach of analytic usage
NikitK-deriv Oct 10, 2023
77d8b8f
refactor: make possible to register severl events
NikitK-deriv Oct 10, 2023
e49f2cb
refactor: add form_name and make growthbbok callback test
NikitK-deriv Oct 10, 2023
b58181c
chore: experimtent_view issue
NikitK-deriv Oct 10, 2023
b7e046c
chore: vercel issue
NikitK-deriv Oct 10, 2023
59f94c6
refactor: update instance
NikitK-deriv Oct 10, 2023
959d28d
refactor: functions
NikitK-deriv Oct 10, 2023
65a56d0
chore: resolve vercel issue
NikitK-deriv Oct 10, 2023
ec26106
chore: cleanup
NikitK-deriv Oct 10, 2023
beb39a7
refactor: final
NikitK-deriv Oct 10, 2023
cd28e39
chore: cleanup keys
NikitK-deriv Oct 10, 2023
d1de6bb
chore: test
NikitK-deriv Oct 10, 2023
e0d6775
refactor: remove register approach
NikitK-deriv Oct 11, 2023
22ecaa3
chore: merge with latest master
NikitK-deriv Oct 11, 2023
23bea7b
chore: remove consoles
NikitK-deriv Oct 11, 2023
494f431
refactor: has_ident set approach, setUrl in instance, defValue for fn
NikitK-deriv Oct 12, 2023
762cbf8
fix: setUrl issue
NikitK-deriv Oct 12, 2023
7304e74
fix: setUrl issue
NikitK-deriv Oct 12, 2023
31763d0
refactor: add analytics as external package
NikitK-deriv Oct 16, 2023
470e439
feat: update version of package
NikitK-deriv Oct 19, 2023
75fa49f
chore: resolve merge conflicts
NikitK-deriv Oct 19, 2023
df55c94
fix: generate test link issue with parcel
NikitK-deriv Oct 19, 2023
bce973d
chore: update yml files
NikitK-deriv Oct 19, 2023
b630a15
refactor: change mode boolean
NikitK-deriv Oct 19, 2023
fa4354c
chore: check how condition works
NikitK-deriv Oct 20, 2023
66aef57
chore: gatsby browser
NikitK-deriv Oct 20, 2023
338ce1c
chore: replace yml mistake and update dependencies
NikitK-deriv Oct 23, 2023
c0d8c04
chore: merge with latest master
NikitK-deriv Oct 23, 2023
630f907
feat: update package version and resolve cookie issue
NikitK-deriv Oct 23, 2023
7184a1a
chore: debug
NikitK-deriv Oct 24, 2023
e512b09
chore: debug
NikitK-deriv Oct 24, 2023
fafff76
fix: resolved and cleanup
NikitK-deriv Oct 24, 2023
4fa4f0d
fix: user_id undefined
NikitK-deriv Oct 24, 2023
e21936b
refactor: add identifyEvent separately
NikitK-deriv Oct 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ env:
GATSBY_DATADOG_CLIENT_TOKEN: ${{ secrets.GATSBY_DATADOG_CLIENT_TOKEN }}
GATSBY_MAP_API_KEY: ${{ secrets.GATSBY_MAP_API_KEY }}
GATSBY_GROWTHBOOK_CLIENT_KEY: ${{ secrets.GATSBY_GROWTHBOOK_CLIENT_KEY }}
GATSBY_GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GATSBY_GROWTHBOOK_DECRYPTION_KEY }}
GATSBY_RUDDERSTACK_STAGING_KEY: ${{ secrets.GATSBY_RUDDERSTACK_STAGING_KEY }}
GATSBY_RUDDERSTACK_PRODUCTION_KEY: ${{ secrets.GATSBY_RUDDERSTACK_PRODUCTION_KEY }}
GATSBY_RUDDERSTACK_URL: ${{ secrets.GATSBY_RUDDERSTACK_URL }}

jobs:
release-beta:
timeout-minutes: 30
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
GATSBY_DATADOG_CLIENT_TOKEN: ${{ secrets.GATSBY_DATADOG_CLIENT_TOKEN }}
GATSBY_MAP_API_KEY: ${{ secrets.GATSBY_MAP_API_KEY }}
GATSBY_GROWTHBOOK_CLIENT_KEY: ${{ secrets.GATSBY_GROWTHBOOK_CLIENT_KEY }}
GATSBY_RUDDERSTACK_STAGING_KEY: ${{ secrets.GATSBY_RUDDERSTACK_STAGING_KEY }}
GATSBY_GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GATSBY_GROWTHBOOK_DECRYPTION_KEY }}
GATSBY_RUDDERSTACK_PRODUCTION_KEY: ${{ secrets.GATSBY_RUDDERSTACK_PRODUCTION_KEY }}
GATSBY_RUDDERSTACK_URL: ${{ secrets.GATSBY_RUDDERSTACK_URL }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ env:
GATSBY_DATADOG_CLIENT_TOKEN: ${{ secrets.GATSBY_DATADOG_CLIENT_TOKEN }}
GATSBY_MAP_API_KEY: ${{ secrets.GATSBY_MAP_API_KEY }}
GATSBY_GROWTHBOOK_CLIENT_KEY: ${{ secrets.GATSBY_GROWTHBOOK_CLIENT_KEY }}
GATSBY_GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GATSBY_GROWTHBOOK_DECRYPTION_KEY }}
GATSBY_RUDDERSTACK_STAGING_KEY: ${{ secrets.GATSBY_RUDDERSTACK_STAGING_KEY }}
GATSBY_RUDDERSTACK_PRODUCTION_KEY: ${{ secrets.GATSBY_RUDDERSTACK_PRODUCTION_KEY }}
GATSBY_RUDDERSTACK_URL: ${{ secrets.GATSBY_RUDDERSTACK_URL }}
GATSBY_STRAPI_TOKEN: ${{ secrets.GATSBY_STRAPI_TOKEN }}

Expand Down
6 changes: 3 additions & 3 deletions crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"71535160": "Calculate the overnight fees for holding any open positions. The fees can be positive or negative depending on your swap rate.",
"71630191": "Do not share your account information and other personal details with anyone via Telegram.",
"71650838": "Speak simply and plainly, and not hide behind ambiguity",
"71755468": "In a journey spanning more than 23 years, we have grown to over 2.5 million customers worldwide. But our mission has remained the same:",
"71969952": "What other changes will I be seeing?",
"73765361": "Chief Audit Executive",
"74138086": "Take control of your trades on Deriv MT5",
Expand Down Expand Up @@ -474,6 +475,7 @@
"469552854": "Want to know more about CFD trading conditions for the instruments we offer?",
"469798381": "Years of service",
"470277541": "Maximum duration",
"472915014": "Deriv is one of the world’s largest online brokers. We offer CFDs and other derivatives on forex, stocks & indices, cryptocurrencies, commodities, and derived indices to millions of registered users across the globe.",
"473760456": "We speak plainly to avoid ambiguity, disclose the terms of all contracts, and are clear about the risks of trading and how we make money.",
"474616293": "The trading platform to fit your style",
"475611258": "Help centre | Frequently asked questions | About Deriv | Deriv",
Expand Down Expand Up @@ -4539,15 +4541,13 @@
"-661813412": "Enjoy full access to all our markets and platforms.",
"-1520902282": "No credit card needed",
"-2022759357": "Make trading accessible to anyone, anywhere",
"-293057652": "Deriv is one of the world’s largest online brokers. We offer CFDs and other derivatives on forex, stocks & indices, cryptocurrencies, commodities, and derived to millions of registered users across the globe.",
"-77779780": "From inception, our goal was to break free of the high commissions and clunky products offered by traditional brokers. Also, we aim to deliver a first-class experience to digitally inclined traders, regardless of the size of their accounts.",
"-1468738308": "In a journey spanning more than 22 years, we have grown to over 2.5 million customers worldwide. But our mission has remained the same.",
"-554746075": "Integrity",
"-1917169640": "We serve our customers with fairness and transparency. We settle all contracts by the book and speak plainly and truthfully.",
"-1679427554": "Customer focus",
"-411750591": "We put the customer first and strive to build products that deliver the best customer experience.",
"-611750993": "Competence",
"-1676257949": "We value colleagues with an aptitude to learn and grow and the ability to use good judgement.",
"-1566641642": "We value colleagues with the ability to use good judgement and an aptitude to learn and grow.",
"-1111451256": "Teamwork",
"-418008452": "Our principles are the framework for our decisions",
"-3618456": "Learn more about our principles",
Expand Down
1 change: 1 addition & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export const onClientEntry = () => {

export const onRouteUpdate = () => {
checkDomain()
window?._growthbook?.setURL(window.location.href)

const dataLayer = window.dataLayer
const domain = getDomain()
Expand Down
Loading