Allow init routes manually in nuxtServerInit?

everyx
0
everyx
commented 7 months ago

Thus, when in SSR mode, we can get robots.txt data from api and dynamically generate robots.txt.

like nuxt-community/gtm-module

GTM Initialisation

If you want to block Google Tag Manager before user directly allows (GDPR realisation or other), you can set autoInit option to false and then manually enable using $gtm.init().

Note: All events will be still buffered in data layer but won't send until init() method getting called.

0
Informations
Question โ€ข Unresolved
#c80 - Created 7 months ago