I mucked up the SQL for my Data Source's Experimen...
# announcements
n
I mucked up the SQL for my Data Source's Experiment Assignment Queries. Our website is static with only anonymous users, so following this guide we are only sending back
id
in the
attributes
of the `new Growthbook()`instantiation.
Copy code
growthbook = new GrowthBook({
    ...,
    attributes: {
      id: growthbook_user_id,
    },
})
We were having issues with our Experiment once we fired it up, getting the
Table "events_*" must be qualified with a dataset...
error, so I went to check out the datasource. I had to update the Assignment Query's sql (that was still trying to pull from
events_*
instead of the actual table name). I updated that bit, but then saw the
identifier_type
is set to anonymous, and at the top of the Assignment query:
Copy code
SELECT
  user_pseudo_id as anonymous_id,
So here's my question If I am passing
id
from the Growthbook instantiation, do I need to modify my Experiment Assignment Query to match?