Foxconn unit invests in marketing analytics startup MoMagic