There are multiple domains on one siteid. How to display visitors, Pageviews and outlinks for each domain as a table like following?
Domain name | Visits | Pageviews | Outlinks
Domain1.com / 10 / 11 / 1
Domain2.biz / 3 / 4 / 2
Domain3.org / 5 / 55 / 9
Domain4.info / 6 / 66 / 14
regodon
September 5, 2012, 12:01pm
2
I use a custom variable:
piwikTracker.setCustomVariable(1, ‘domain’, location.hostname , ‘visit’);
Add it to your piwik javascript tag, just before:
piwikTracker.trackPageView();
Then you can go to “Custom variables” under “Visitors” tab and you’ll find a table similar to the one you need. You can filter goals by custom variable too.
Regards,
Paco