Track custom dimensions


I have a question about piwik

first I have a PHP page and that will have information like $country $state $city

$country -> $state -> $city

and when I click on $country it will show me all states stored in it and the same for $state will show me all cities in it

and want to send these information to piwik to track them

please I need an example how to do that

thanks a lot



I am facing the same issue. I want to show a dataTable and when the user clicks on a row it shows the subtable, but I didn’ find how to implement this :confused:

Have you find a solution?