src/GoogleAnalytic.js
/**
	 * Hit event to analytic with defined data. If analytic is not configured then
	 * defer hit to storage.
	 *
	 * @override
	 * @param {{
	 *          method: string=,
	 *          type: string=,
	 *          category: string=,
	 *          action: string=,
	 *          label: string=,
	 *          value: number,
	 *          fields: Object<string, *>
	 *        }} data The key of data are defined in documentation of google
	 *        analytic.
	 */
Hit event to analytic with defined data. If analytic is not configured then
defer hit to storage.


Hit event to analytic with defined data . If analytic is not configured then defer hit to storage .
hit(data) {
		if (this.isEnabled()) {
			this._window.getWindow().ga(
				data.method || 'send',
				data.type || 'event',
				data.category || 'undefined',
				data.action || 'undefined',
				data.label,
				data.value,
				data.fields
			);
		}
	}
hit ( data ) { if ( this . isEnabled ( ) ) { this . _window . getWindow ( ) . ga ( data . method || 'send' , data . type || 'event' , data . category || 'undefined' , data . action || 'undefined' , data . label , data . value , data . fields ) ; } }
Hit event to analytic with defined data.
Hit event to analytic with defined data .