Quantcast
Channel: Matomo forums - Latest topics
Viewing all articles
Browse latest Browse all 13990

Track pages into multiple site-ids

$
0
0

@christian1 wrote:

Hello!
I want to achieve the following:

  • Site-ID 1 tracks the pages of the whole domain.
  • Site-ID 2 tracks some subpages of section A of the domain.
  • Users of Group A can see only the tracking of the section A subpages.
  • Other Users can see the tracking of the whole domain (including section A).

Now my question:
In order to achive this I want to place the following tracking code on all pages
of the whole domain except those on section A:

 ,,,
 _paq.push(['setSiteId', '1']);
...

to put the analytics into site-id 1.

And on section A this tracking code:

 ,,,
 _paq.push(['setSiteId', '1']);
 _paq.push(['setSiteId', '2']);
...

to put the analytics into site-id 2 AND site-id 1.

Is this possible or would the tracking code for section A in the end only track the code
into site-id 2?

Thanks for your thoughts about that.

Cheers
Christian

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 13990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>