Evan Tobiesen

Results 8 comments of Evan Tobiesen

This test suite is failing `/lib/analytics/` I can take a look at it too. :)

Related: Automattic/dotcom-forge#6698 ```sh ❯ defaults read -g AppleLanguages ( "en-ES", "es-ES" ) ``` ```log [2024-04-24T13:44:40.083Z][info][main] System locale: en-ES [2024-04-24T13:44:40.083Z][info][main] Preferred languages: en-ES,es-ES [2024-04-24T13:44:40.088Z][info][main] Used language: es ```

From an ad-tracking perspective, this works. I tested that the trackers don't fire unless consent is given, and I can see the Google event in the browser's developer tools. I'm...

The Search event in a setTimeout will fire, but it doesn't have the right ID (it's undefined), which is probably because it will fire before the pixel is initialized. These...

Doing this will make the code run exactly once 🤷 ```ts useSideEffect( currentStep) { useEffect( () => { debugger },[ currentStep ] ); }, ``` But if you add the...

Just digging a bit more. This will solve the event not firing, but the ID isn't defined. I wonder if we need to sort this between the setup.js and load-tracking-scripts.js...

This seems to fix the bug, so it's a step in the right direction. I guess on most pages, the order of operations is correct in most cases, but maybe...

> @gmovr what is the problem exactly? > > I'm neither confident (nor familiar) with order of operations in Stepper tbh. Everything's a hook, attached to some object, I don't...