Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5710

Changing Matomo configuration properties within Matomo Tag Manager

$
0
0

Hello,

In one of projects I use Matomo Tag Manager and Matomo (cloud version). Matomo Pageview tag gets its’ properties (site ID, etc.) from Matomo Configuration variable I defined.

I would like to know what is the correct way to initialize Matomo Pageview with some custom settings like when you do it via page code:

_paq.push([‘setCampaignNameKey’,‘google-adwords’]);

But instead of putting something into page code I want to set/change config parameters in Matomo Tag Manager.

I guess it can be done by creating custom HTML tag (which will have JS code above) with top priority, but it feels more like a hack. What is the proper way to do it in Matomo Tag Manager?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5710

Trending Articles