Here ‘tricks’ are not crafty or deceitful or deceitful, but ways of doing something successfully. To know the tricks of the trade is to have sound knowledge of the special skills needed for it. Loosely the saying refers to clever methods of attracting business or customers.