How to use Moengage in nuxt js

npm init nuxt-app nuxt-moe
MOE_APP_ID = "<MOE_APP_ID>"
{ src: "~/plugins/moe", ssr: false },
const trackMoe = 'Removed From Cart';const valueMoe = {name: "John Doe",
email: "johndoe@gmail.com"
};
window.Moengage.track_event(trackMoe, valueMoe).then((res) => {console.log(res, 'respooonn');});

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
M Alfa Riza

M Alfa Riza

FullStack Developer | Vue js | React js | Laravel