matomo-nodejs-tracker icon indicating copy to clipboard operation
matomo-nodejs-tracker copied to clipboard

Dimensions

Open OKNoah opened this issue 7 years ago • 4 comments

Does this support custom dimensions? If so, perhaps it could be documented.

https://developer.matomo.org/guides/tracking-javascript-guide#custom-dimensions

OKNoah avatar May 06 '18 09:05 OKNoah

Hi, this supports "everything" :slightly_smiling_face: as it just takes a dict and sends it to the tracking API.

You can find the documentation here: https://developer.matomo.org/api-reference/tracking-api

So if you want to set the first custom dimention to test you need to add 'dimension1': 'test'.

I haven't tested it so it would be great if you could report back.

Findus23 avatar May 06 '18 09:05 Findus23

Maybe adding an example in README page would be helpful. Related to #55

Toub avatar Jan 06 '20 09:01 Toub

Hi @OKNoah and @Findus23 do you have an example to add dimensions?

Because I tried, but I don't see anything on matomo.

matomo.track({url: 'http://example.com/track/this/url', 'dimension1': "test"})

Thanks in advance

algorys avatar Feb 20 '23 10:02 algorys

Hi @OKNoah and @Findus23 do you have an example to add dimensions?

Because I tried, but I don't see anything on matomo.

matomo.track({url: 'http://example.com/track/this/url', 'dimension1': "test"})

Thanks in advance

Hi, I also faced this problem with you, haved you have a solution for this problem? Thanks.

nguyentanvinh7a avatar Sep 18 '23 03:09 nguyentanvinh7a