Is the window.GROWTHBOOK_CONFIG definition on client side optional?
i.e. I don't have Segment, Mixpanel etc. set up
so assuming I should still be able to run my experiments
12/07/2021, 6:52 PM
Without a tracking callback, the experiment would run, but you would have no way to know how it's doing.
GrowthBook does not do any event tracking and relies on you having some sort of analytics system set up already.
12/07/2021, 6:54 PM
ok so it's the tracking JS which populates the db tables
I hven't evern setup ab tracking before so apologize for basic questions
12/07/2021, 6:57 PM
yes, that's correct. So if you are using MySQL for example, you would have code in your trackingCallback that adds a row to MySQL that includes a user identifier and which experiment/variation they saw.
Then, you would also need to add additional rows to MySQL for conversion events you care about. For example, when someone purchases something.
12/07/2021, 6:59 PM
makes a lot of sense
thanks, was wondering how does the app know anything about my data model
12/07/2021, 7:00 PM
Event tracking is pretty hard to build yourself from scratch, so we recommend using a tool like https://jitsu.com/