Search code examples
google-analyticse-commerceenhanced-ecommerce

How to implement Google Analytics Enhanced Ecommerce on server-side?


I'm working on GA in my project. I want to send data about transactions to GA from back-end, and here is a problem. I use "@nuxtjs/google-analytics": "^2.2.0", but it works only from front-end.

Here I have found about Server-side analytics collection, but there where only primitive actions (Event category, Event action, Event label, Event value). As I said, I'm working with Enhanced Ecommerce, so, I need actions like addProduct, addAction and so on.

Is it possible to do such server-side GA?


Solution

  • It's possible to implement using this package.