Giter Site home page Giter Site logo

Comments (7)

Shinigami92 avatar Shinigami92 commented on May 26, 2024 1

Yeah, I would need to update the Vue 2 branch to newest state.
After Vue 3 now switched from next to stable, I didn't updated it anymore.
So of you want to, I need to merge stuff from main branch into vue2 branch and make a specific release for that version.
I do not use VueDemi because this would load unnecessary stuff for Vue 3. They cannot be handled with just simple if-else statements.
I'm currently in vacation, but maybe I can do it today or next few days. Just need to find a free timeslot for that.

from vue-gtm.

Shinigami92 avatar Shinigami92 commented on May 26, 2024 1

I will add some features and such at once, so I don't need to create several versions in a row.
But that means that I assume that this will take until upcoming weekend.
Hope you are okay with that.

from vue-gtm.

mizmaar3 avatar mizmaar3 commented on May 26, 2024 1

It works now, thanks allot

from vue-gtm.

mizmaar3 avatar mizmaar3 commented on May 26, 2024

@Shinigami92
Is there a workaround to make source working until that merge ?

from vue-gtm.

Shinigami92 avatar Shinigami92 commented on May 26, 2024

I'm not totally sure. Maybe you could just add a script Tag source dynamically or update the one that is inserted by this library. But I'm not sure how it would behave.

from vue-gtm.

mizmaar3 avatar mizmaar3 commented on May 26, 2024

Looks like this worked fine for me

import VueGtm from "@gtm-support/vue2-gtm";
import { loadScript } from "@gtm-support/core"; // latest ver installed explicitly

loadScript(<GTM_ID>, {
  source: "https://insight.blabla.com/gtm.js",
});

Vue.use(VueGtm, {
  id: <GTM_ID>,
  vueRouter: router,
  loadScript: false,
});

from vue-gtm.

Shinigami92 avatar Shinigami92 commented on May 26, 2024

Should be working now with 1.3.0 in vue2
Let me know that everything works
Reopen this issue if not

from vue-gtm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.