MatteoGabriele / vue-gtag

Global Site Tag plugin for Vue (gtag.js)

Home Page:https://matteo-gabriele.gitbook.io/vue-gtag/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use in Vue2/Vue3/Nuxt2/Nuxt3 with Partytown?

itsmnthn opened this issue · comments

Using partytown is a great way to load analytics script using Web Worker to improve the initial app load.

partytown.builder.io

I have been using the vue-gtag in my projects it is a great lib and I think having partytown support/integration will be cherry on top.

I have working demo with Nuxt2 but it doesn't support router and custom events.

nuxt2-partytown

there is also plugin for Nuxt3 and Nuxt2 with Nuxt-Bridge : @nuxtjs/partytown doc

Hi @itsmnthn
Thanks for the suggestion; I don't think I've heard of partytown before. I will give you a look around and let you know. Do you know what support is needed to make the package work?
I currently get a "github.com is currently unable to handle this request." when I try to go and read the js/gtag.js file. Not sure what's the issue. I might try later on

going to close it for inactivity