How to integrate several appid within the same subdomain ? Console error

Hello the Piwik Pro Team and web analysts & @kuba

I’m facing the following issue: how to integrate integrate several appid (for sites) within the same subdomain ?
My idea is to have 2 Piwik AppID within the same digital asset:

  1. One for having the custom audience linked to the digital asset
    2.One for having the global audience linked to all my digital assets

I can’t do it with the metasite option because it’s summing up all my digital asset instead of providing me my global audience.

But when i started to insert 2 appid numbers within my tag management system tealium; i’m seeing a “Console error
The method setSiteId is registered more than once in “_paq” variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation”.

So how can I handle/deal with that issue for fixing this and having my data into my two sites and with the expected data please ?

Thanks in advance for your help,
Kind regards,

Hi. You have to install the code for 2nd property via a custom code tag. It’s needed, because otherwise the tracking code namespaces will conflict. Here’s an example code for your 2nd custom tag: Multiple PiwikPro sites under a single container

1 Like

Hi @kuba , many thanks for your kindly help & great reactivity again.
Much appreciated.
I will test it & let your know.
Wish you a lovely day☀