Hi, I attempted to install GrowthBook using the si...
# ask-questions
e
Hi, I attempted to install GrowthBook using the simplest method, (I replaced the YOUR_CLIENT_KEY_HERE with the actual key)
Copy code
<script async
  data-client-key="YOUR_CLIENT_KEY_HERE"
  src="<https://cdn.jsdelivr.net/npm/@growthbook/growthbook/dist/bundles/auto.min.js>"
></script>
However, after implementing this, the experiment disappeared. Does anyone know what I might be missing or what the issue could be?
r
@echoing-park-17810 has opened an issue Close Issue button
f
are you using the visual editor?
might b be a bug - the section above shows youre in the experiment - did you try refreshing?
e
At this stage, @fresh-football-47124, we're not utilizing the Visual editor, but simply conducting an A/B test to gather data.
@fresh-football-47124 also, do we need to trigger the experiment? for example:
gb.evalFeature('aa-test-cobra-two');
or it will trigger automatically?
just to follow up here @fresh-football-47124 thanks!
f
evalfeature will trigger the experiment and fire the trackingCallback
e
@fresh-football-47124 do we still need that trigger when your installation method is this?
Copy code
<script async
  data-client-key="YOUR_CLIENT_KEY_HERE"
  src="<https://cdn.jsdelivr.net/npm/@growthbook/growthbook/dist/bundles/auto.min.js>"
></script>
s
@echoing-park-17810 Can you double check that visual experiments are enabled for the SDK connection whose client key you are using?
The reason I ask is if experiments are not visible in DevTools then they are not getting sent down to your client for whatever reason. (Today we only show visual experiments under the 'Experiments' heading in DevTools, which can be a little confusing)
e
yes it is enabled, @swift-helmet-3648
r
Hi AJ, if you are using only the Visual Editor you do not need to include the ​`gb.evalFeature('aa-test-cobra-two');`​ code because with the Visual Editor, GrowthBook will automatically run the experiment.
🙌 1
e
Thanks you! that answers my question @brief-honey-45610 !
youre welcome 1