vue-gtag icon indicating copy to clipboard operation
vue-gtag copied to clipboard

customResourceURL, with MV3 extension

Open ferllings opened this issue 2 years ago • 1 comments

Hello,

Because of MV3 security, I'm trying to embed gtag.js to my browser extension.

Vue.use(
    VueGtag,
    {
        config: { id: "G-XXXXXXX" },
        customResourceURL: "/gtag/js",
    },
    router
);

The initial call works fine and can load the script, but the script seems to want to call itself again, but with the original url. Screenshot 2023-06-09 at 17 05 14

Any idea how I can fix that?

ferllings avatar Jun 09 '23 15:06 ferllings

I'm not sure what this is about

MatteoGabriele avatar Sep 09 '24 11:09 MatteoGabriele