createTracker = () => {
  ga('create', TRACKING_ID, 'auto');

  // Ensures all hits are sent via `navigator.sendBeacon()`.
  ga('set', 'transport', 'beacon');
}
Creates the trackers and sets the default transport and tracking
version fields. In non-production environments it also logs hits.