src/GoogleAnalytic.js
/**
	 * Hit page view event to analytic with defined data.
	 *
	 * @override
	 * @param {Object<string, *>} pageData
	 */
Hit page view event to analytic with defined data.
@override
@param {Object} pageData
Hit page view event to analytic with defined data . @override @param { Object } pageData
hitPageView(pageData) {
		if (!this.isEnabled()) {
			return;
		}
		this._window.getWindow().ga('set', 'page', pageData.path);
		this._window.getWindow().ga('set', 'location', this._window.getUrl());
		this._window.getWindow().ga('set', 'title', document.title || '');
		this._window.getWindow().ga('send', 'pageview');
	}
hitPageView ( pageData ) { if ( ! this . isEnabled ( ) ) { return ; } this . _window . getWindow ( ) . ga ( 'set' , 'page' , pageData . path ) ; this . _window . getWindow ( ) . ga ( 'set' , 'location' , this . _window . getUrl ( ) ) ; this . _window . getWindow ( ) . ga ( 'set' , 'title' , document . title || '' ) ; this . _window . getWindow ( ) . ga ( 'send' , 'pageview' ) ; }
Hit page view event to analytic with defined data.
Hit page view event to analytic with defined data .