Hello, I have connected GTM and added the tags, bu...
# ask-questions
p
Hello, I have connected GTM and added the tags, but I’m unable to see the
experiment_id
event firing in the GTM dashboard.
f
experiment_viewed events?
1
should be showing up in GA4
e
not showing up - Graham 🥲
f
Did you add the custom events?
e
yeah i think so.
image.png
f
what code did you add to the tag?
e
you mean this one?
f
that looks okay
can you see experiment_viewed events in the window.datalayer object in console?
e
no
when i use preview mode it doesnt
f
are you running an experiment?
e
no experiment running
do i need to?
f
yes
it wont fire events without an experiment
e
alright. @powerful-ocean-3095 lets setup an experiment and then check again?
we will get back to you Graham. thanks for now 🙂
p
we have one experimant running right?
e
thats a dummy one.
cmiiw Graham
f
thats a sample experiment
1
you need to have one that will cause a user on your website to be enrolled into an experiment
1
e
Graham. still didnt fire. Was trying to understand the setup we did via your documentation should we take this route or the other one when setting script tag html?
we have done both
but the event doesnt show up.
f
is this public somewhere?
can you share the page?
p
here is the page link
f
do you have multiple SDKs?
p
yes
f
I see two - sdk-pZfPRisMegaQjx and sdk-VketYNjodQTBbbcS
why?
loading growthbook multiple times with different SDKs is going to potentially cause issues but certainly make it hard to debug
1
p
Earlier there was only one, but about 5 minutes ago we created another one for testing.
f
both are loading on your website
p
We can delete the one that was created 5 minutes ago.
e
the sdk is loading but i dont see the event in GTM
on the left panel there is no such event coming in
f
you are still loading two SDKs
e
removed one now
f
is it cached? cause I still see it
e
@powerful-ocean-3095 can you check. I removed both from growthbook portal as well as GTM tag
only 1 sdk remains
p
yes it is removed in growthbook dashborad we can see only one sdk
f
look at your source code
Screenshot 2026-03-27 at 8.36.56 PM.png,Screenshot 2026-03-27 at 8.37.09 PM.png
oh, I'm also seeing a 3rd one
whats going on fellas?
e
@powerful-ocean-3095 why is there 3 of them now?
p
data-client-key: sdk-pZfPRisMegaQjx this one we have added in the theme.liquid
and data-client-key: sdk-VketYNjodQTBbbcS this one from the sdk connection
@fresh-football-47124??
e
Hi Graham. Thanks for your support so far. We had a call scheduled for 6:30pm IST today. We were waiting for you till 6:45pm. I guess you were occupied in something more important which is understandable. We have scheduled something for 30th March basis your availability. Hope to kill the bug and get started with running experiments on growthbook 🙏🙂
f
There are now 4 SDKs loading on the page. I suggest you get this down to one, and then we can help you figure out what's happening.
👍 1
p
Hi Graham. I’ve removed all the SDK connections and kept only the one we’re using for GTM. Here is the preview link—could you please check and confirm? https://keralaayurveda.com/
e
@fresh-football-47124 would you be able to help now?