Parameters for rest api to store device information


#1

what are the parameters to store config_device_type,config_device_model,config_os,config_os_version in piwik_log_activity table in rest API.


(Matthieu Aubry) #2

Hi there,

they are automatically detected from the User Agent. User Agent can be set using &ua= parameter in HTTP tracking API: Tracking HTTP API: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3


#3

Thank for the reply.

in what format we need to pass parameters(JSON or String) .can you pls share me an example .


#4

Hi,
Can some one help me on this .

Regards,
Vinod G