Hi Actually I would like to pull data from Google...
# ask-questions
c
Hi Actually I would like to pull data from Google Analytics (Universal) I added my Google Analytics account, but when testing the data it is throwing error Like viewId is invalid Can you please help me to get rid from this issue
f
What did you set your view Id to in GrowthBook?
c
I am passing UA id
I mean Google Universal Analytics id
f
can you double check it’s correct in GA and GrowthBook?
c
ok
when I was connecting with GA I used
this one
so what I have to do
again re-configure the GA account
f
is it the correct id?
c
the screen shot which I sent is UA id
and view id is
f
you should be able to change it from the data source page
c
ok
now is it correct
hi
now getting this error
f
what does your implementation code look like?
c
it is auto generated
like
Copy code
if (growthbook.isOn("ga_view")) {
2  console.log("Feature is enabled!")
3} else {
4  console.log("fallback")
5}
f
What is your trackingCallback method?
c
I followed the guide
but I did not know where I can implement "Implement the the GrowthBook code"
f
what kind of website are you using it on?
c
it is kind of watch movies
f
I mean, what technology is it running on?
c
React, node js
but for GA using JS
f
okay, so you can follow the react/node examples
c
ok
f
when you implement the trackingCallback, use the example code from the GA guide
c
I have to create fresh SDK