adding analytics to sell/buy buttons