I'm having problems with experiment_viewed not being sent to GA
HTML script.
I can trigger an experiment, and the experiment event data is pushed to the datalayer (see screenshot). But no hit is sent to GA.
I tried setting up the tags, variables etc in GTM, but then I instead got double hits to GA.. (4 events in GTM debugger, whereas 2 include hits to GA, both with gtag api call - but only one hit includes variation and experiment IDs)
I had an hypothesis of the script being loaded before gtag in the head, and a developer helped me setup a rule to wait until
head is stable. Still doesn't work.
I've tried the documentation, forums etc but can't find the solution.