deliver the client side codes to get trigger data