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

custom variable in import_logs.py #4521

Closed
anonymous-matomo-user opened this issue Jan 14, 2014 · 3 comments
Closed

custom variable in import_logs.py #4521

anonymous-matomo-user opened this issue Jan 14, 2014 · 3 comments
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

Hi,

How can I use custom variables when i'm using log analytics?

Thx

@mattab
Copy link
Member

mattab commented Jan 14, 2014

It is not possible yet. What would you like to achieve? what are your use cases?

@anonymous-matomo-user
Copy link
Author

I'm importing server log of an android application to piwik.
Log lines has below field within:
Appcelerator Titanium/1.0 (GT-I9300; Android API Level: 16; en-US;)

By now I'm importing this field as user_agent which is a predifined variable, but I want to import it into three separate fields. First part as user_agent (Appcelerator Titanium/1.0), second part as device_name (GT-I9300), and thrid part as android_api (Android API Level: 16).

How can I do that?
Thanx

@mattab
Copy link
Member

mattab commented Jan 21, 2014

Do you mean that you would like to detect accurately the visitor Browser (titanium), Brand + Device (GT-I9300) and the OS as Android API 16? in this case maybe the correct fix would be to improve the DevicesDetection algorithm so that Piwik tracks this user agent correctly?

See other tickets related to DevicesDetection: http://dev.piwik.org/trac/query?status=assigned&status=new&status=reopened&milestone=DevicesDetection+Plugin&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=milestone&order=priority

Maybe add a new one for this user agent?

@anonymous-matomo-user anonymous-matomo-user added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants