wpsc_google_analytics_domain_name

Located in: google-analytics.class.php

Functions that call this hook: get_domain_name()

Arguments Accepted: $site_url

Version Introduced: 3.8.9

Description: Filter the domain name of the site to use with Google Analytics.

Code in context:

[php firstline=”88″ highlight=”92″]

public function get_domain_name() {

$site_url = $this->sanitize( str_replace( array( ‘https://www.’, ‘http://www.’, ‘https://’, ‘http://’, ), ”, untrailingslashit( network_home_url() ) ) );

return apply_filters( ‘wpsc_google_analytics_domain_name’, $site_url );

}

[/php]