Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dimensions #49

Open
OKNoah opened this issue May 6, 2018 · 4 comments
Open

Dimensions #49

OKNoah opened this issue May 6, 2018 · 4 comments

Comments

@OKNoah
Copy link

OKNoah commented May 6, 2018

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

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

@Findus23
Copy link
Member

Findus23 commented May 6, 2018

Hi,
this supports "everything" 🙂 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.

@Toub
Copy link
Contributor

Toub commented Jan 6, 2020

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

@algorys
Copy link

algorys commented Feb 20, 2023

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

@nguyentanvinh7a
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants