Hi everyone, I’ve set Google Analytics as the data...
# ask-questions
Hi everyone, I’ve set Google Analytics as the data source and I’m confident that the data is being sent to GA. However, when I try to create a report in GrowthBook, I receive the following message: “No data yet. Make sure your experiment is tracking properly.” Does anyone have any suggestions on how to resolve this issue? Thank you!
Hi Nidal
when you test the assignment query, do you get any results?
do you mean this?
well, thats the composite query made up from the metric query combined with the assignment query
either one could be wrong to get no results - but it sounds like your metric is working
so I'd check the assignment one
data and metrics -> data sources -> [your data source] then half way down you'll see the assignment query(ies)
Screenshot 2024-05-14 at 12.12.54 PM.png
Screenshot 2024-05-14 at 12.13.55 PM.png
looks like the query is working
but not returning data
so either the data is wrong, or the query is wrong
one thing to check is to take the query, and remove the WHERE clauses for experiment_id and variation_id (line 20 and 21), and see if you get results then
Hi Graham, I identified the cause of the issue: we hadn’t defined the
function within the GrowthBook SDK initialization. To address this, I’ve implemented the following definition: