Package com.eclipsesource.tabris.tracking.internal.analytics

Examples of com.eclipsesource.tabris.tracking.internal.analytics.GoogleAnalytics


    assertEquals( userAgent, configCaptor.getValue().getParameter().get( getRequestKey( RequestKeys.USER_AGENT_OVERRIDE ) ) );
  }

  @Test
  public void testIOSUserAgent() {
    GoogleAnalytics analytics = mock( GoogleAnalytics.class );
    GoogleAnalyticsTracker tracker = new GoogleAnalyticsTracker( analytics );
    TrackingInfo info = createInfo();
    info.setPlatform( Platform.IOS );
    info.setDeviceOsVersion( "7.1" );
    TrackingEvent event = new TrackingEvent( EventType.SEARCH, info, "foo", 1 );
View Full Code Here


   *
   * @param trackingId the Google Analytics tracking id. Must not be <code>null</code> or empty.
   * @param appName the application name to display. Must not be <code>null</code> or empty.
   */
  public GoogleAnalyticsTracker( String trackingId, String appName ) {
    this( new GoogleAnalytics( appName, new AnalyticsConfiguration( "1", trackingId ) ) );
  }
View Full Code Here

TOP

Related Classes of com.eclipsesource.tabris.tracking.internal.analytics.GoogleAnalytics

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.