Multiple Tracking Codes in a single page


#1

Will putting more then one set of tracking codes on a single page function properly.

Details:

I have a wordpress multisite customer who has several subdomains. I would like to setup a site in piwik for the entire environment (*.wordpressdomain.com), then insert a second block of tracking code for an individual subdomain (domain1.wordpressdomain.com). This way I can setup individual user access for a specific subdomain, while at the same time keeping track of the entire environment.

Thanks for any advice.
-GK


(Matthieu Aubry) #2

See: JavaScript Tracking Client: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3


(Tassoman) #3

The previous link is broken. Please refer to this one: Multiple Piwik Trackers