nuxt / scripts

Plug-and-play script optimization for Nuxt applications. (Public Preview)
https://scripts.nuxt.com
MIT License
126 stars 8 forks source link

GoogleTagManager integration broken #77

Closed huang-julien closed 3 weeks ago

huang-julien commented 3 weeks ago

Reproduction

Description

This is probably an upstream issue in unhead. dataLayer seems to be a function instead of the stubbed array.

harlan-zw commented 3 weeks ago

Thanks! Seems like a regression with Unhead. It's fixed in 1.9.12