When a product link is clicked in an Email, we send the user first to the redirect page, then to the product itself. In the redirect page we record analytical data, and also we record a piece of data, specifying that the user clicked the link to this product in an email at some point in time.
When the use goes through checkout, we need to iterate through the products to see if the user had ever clicked a link in an email that lead him to that product. If it did, then we need to mark it down in the analytics.
When a product link is clicked in an Email, we send the user first to the redirect page, then to the product itself. In the redirect page we record analytical data, and also we record a piece of data, specifying that the user clicked the link to this product in an email at some point in time.
When the use goes through checkout, we need to iterate through the products to see if the user had ever clicked a link in an email that lead him to that product. If it did, then we need to mark it down in the analytics.