Matomo (Kimsufi hosting ovh) - custom-dimension

Hi,

I tried to add custom dimension in my matomo 5, but I do not have a ssh access.
I tried a script with:

$output = shell_exec("/usr/local/php8.2/bin/php /xxx/console customdimensions:add-custom-dimension --scope=visit --count=5");
	echo "<pre>$output</pre>";

I correctly have this answer message:

Adding 5 Custom Dimension(s) in scope visit.
This causes schema changes in the database and may take a very long time.

But no update in my database and web interface.

Hi @BenLaKnet

Did you check the good table? (matomo_log_visit)

Hi @heurteph-ei ,

What should I see in this table ?

custom_dimension_* ?

Should I add columns here ?

Yes it is running !!!

Many thanks.

1 Like