Button tracking

Hello everyone,

I’m new to Matomo and would like to know how to track a button instead.

I have a Wordpress page under Elementor and a simple email button (mailto: 123@123.at?)

I tried it with the Tag Manager and a container but when creating the container I get the following error message:

WP DB Error: [1054] Unknown column ‘activelySyncGtmDataLayer’ in ‘field list’ SQL: INSERT INTO wp_matomo_tagmanager_container (idsite,idcontainer,context,name,description,ignoreGtmDataLayer,activelySyncGtmDataLayer,isTagFireLimitAllowedInPreviewMode,status,created_date,updated_date) VALUES(?,?,?,?,?,?,?,?,?,?,?,?)

I would be very grateful for any help!

I think this is similar issue to this:

Solution was at the bottom, try maybe it works:

We ran into the same problem. The root cause was that TagManager wasn’t activated before (and the tables didn’t exist), but with activating not the newest version was applied.
I lowered the version number for TagManager in the DB
update matomo_option set option_value='4.9.1' where option_name='version_TagManager';
and was then able to perform ./console core:update which modified another three tables.

It does seem that the TagManager did not create the tables.