Documentation
Print This page
— Print the full Google Analytics on Multisite Domain Mapping documentation
Google Analytics on Multisite Domain Mapping — Documentation page title
We have created a filter (code snippet is below) which you can use in your theme functions.php file to see the stats of correct multisite domain.
add_filter( 'analytify_page_path_filter', 'analytify_fix_domain_mapping', 10, 2 );
function analytify_fix_domain_mapping( $filter, $u_post ) {
return $filter = 'ga:pagePath==' . $u_post['host'] . '/';
}
Note: Add the above code in your theme functions.php file.
Still stuck?
How can we help?
— Get support or contact the Analytify team regarding Google Analytics on Multisite Domain Mapping
Last updated on
September 23rd, 2025
— This documentation page was last updated on September 23rd, 2025