Lookup Table Variable

Hi,

the custom variable type “lookup table” in the matomo tag manager would be a nice feature. Here is the example, what the GTM does here: User-defined variable types for web - Tag Manager Help

Greetings

Hi,

This should already be possible:

https://matomo.org/docs/tag-manager/#advanced-variables-settings-default-value-lookup-table

Hi,

OKAY. But is there such a thing as a direct variable. For example, I want to read the value of a clicked URL and then change the value.

Greetings

So i think i have a solution:

Custom JavaScript with this code:

function () { 
return MatomoTagManager.dataLayer.get("mtm.clickElementUrl")
; }

And then i can setup the lookup table.

Maybe this helps others.

1 Like