title: UIButton Event Tracking Google Analytics (Swift)
body: <p>I would like to track an event when the user taps a UIButton with Google Analytics. I have the code below but I am shown an error. Where am I going wrong? Thanks</p>
  
  <p>Code:</p>
  
  <pre><code>@IBAction func startGame1(sender: AnyObject) {
  
          var tracker = GAI.sharedInstance().defaultTracker
  
          tracker.send(GAIDictionaryBuilder.createEventWithCategory("Game 1", action: "Start Pressed", label: "Start Timer One", value: nil).build()) 
      }
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Cannot invoke 'send' with an argument list of type'(NSMutableDictionarry)'
  </code></pre>