• Resolved anderstbl

    (@anderstbl)


    Hello!

    It’s possible to add custom variables in the Tag Manager, but after a variable has been added the section for custom variables disappears. It’s not possible to see your custom variables or make changes in them. This happens regardless of variable type (tested DomElement and Constant), name of variable (tested various) and admin language (tested English and Swedish).

    A js-error is shown in the console:

    asset_manager_core_js.js?v=4.15.1?cb=bbf4c47569094aaaa81ebe37e837c22b:24 TypeError: Cannot read properties of undefined (reading 'truncateText')
    at Proxy.truncateText (index.php?module=Proxy&action=getUmdJs&chunk=2&cb=bbf4c47569094aaaa81ebe37e837c22b:106:9716)
    at index.php?module=Proxy&action=getUmdJs&chunk=2&cb=bbf4c47569094aaaa81ebe37e837c22b:106:3125
    at e.renderList (asset_manager_core_js.js?v=4.15.1?cb=bbf4c47569094aaaa81ebe37e837c22b:24:121877)
    at index.php?module=Proxy&action=getUmdJs&chunk=2&cb=bbf4c47569094aaaa81ebe37e837c22b:106:2761
    at o (asset_manager_core_js.js?v=4.15.1?cb=bbf4c47569094aaaa81ebe37e837c22b:24:14442)
    at e.renderSlot (asset_manager_core_js.js?v=4.15.1?cb=bbf4c47569094aaaa81ebe37e837c22b:24:122378)
    at Proxy.er (index.php?module=Proxy&action=getUmdJs&chunk=0&cb=bbf4c47569094aaaa81ebe37e837c22b:288:966)
    at Dt (asset_manager_core_js.js?v=4.15.1?cb=bbf4c47569094aaaa81ebe37e837c22b:24:14750)
    at fe.fn (asset_manager_core_js.js?v=4.15.1?cb=bbf4c47569094aaaa81ebe37e837c22b:24:40794)
    at fe.run (asset_manager_core_js.js?v=4.15.1?cb=bbf4c47569094aaaa81ebe37e837c22b:24:5356)
    • This topic was modified 1 year, 1 month ago by anderstbl.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter anderstbl

    (@anderstbl)

    I can see it’s possible to see and edit the variables from the dashboard. It’s the page Variables that gives this error.

    Plugin Support emermatomo

    (@emermatomo)

    Hi @anderstbl. Upon checking, the error suggests that somewhere in your JavaScript code, you’re trying to access the property ‘truncateText’ of an object that is undefined. To fix this, you’ll want to make sure that the object you’re trying to access actually exists before attempting to access its properties.

    On the other note, try to update your Matomo for WordPress with the latest version and let us know if that will fix the issue.

    Thread Starter anderstbl

    (@anderstbl)

    Thanks @emermatomo, but I am quite confused by this answer.

    asset_manager_core_js.js is not code we have written ourselves. It is included in the plugin. Are you suggesting we try to rewrite the Matomo-plugin?

    We already use the latest version of the plugin (4.15.2) and other people in this forum seem to have encountered the same issue.

    Thread Starter anderstbl

    (@anderstbl)

    Thread Starter anderstbl

    (@anderstbl)

    Solved

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom variables cannot be viewed or edited’ is closed to new replies.