This removes the unnecessary async around an anonymous function in a forEach, which led to the datalayer event add_shipping_info not being fired consistently.
How to test
Locally run the application with the tag manager debugger attached to localhost. See whether the add_shipping_info fires.
Checklist
[x] Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests).
[x] Make sure to add/update documentation regarding your changes.
Closes #
What I did
This removes the unnecessary async around an anonymous function in a
forEach
, which led to the datalayer eventadd_shipping_info
not being fired consistently.How to test
Locally run the application with the tag manager debugger attached to localhost. See whether the
add_shipping_info
fires.Checklist