Inheritance: extends craft\BasePlugin
 /**
  * Send analytics information for the item removed from the cart
  */
 public function removeFromCart($orderModel = null, $lineItem = null)
 {
     if ($lineItem) {
         $title = $lineItem->purchasable->title;
         $quantity = $lineItem->qty;
         $analytics = $this->eventAnalytics("Commerce", "Remove from Cart", $title, $quantity);
         if ($analytics) {
             $title = $this->addProductDataFromLineItem($analytics, $lineItem);
             $analytics->setEventLabel($title);
             // Don't forget to set the product action, in this case to ADD
             $analytics->setProductActionToRemove();
             $analytics->sendEvent();
             InstantAnalyticsPlugin::log("removeFromCart for `Commerce` - `Remove from Cart` - `" . $title . "` - `" . $quantity . "`", LogLevel::Info, false);
         }
     }
 }