add native lightspeed_id to datalayer + emailadress in datalayer (purchase event)

Job ID: 37426291

Budget: €250 – €750 EUR

1) add native lightspeed_id to datalayer as extra prod_id to use as as ecomm_prodid for remarketing in Google ads.
2) add emailadress custommer to datalayer (purchase event) as discussed in chat.

Just an addition for 1. For example, with our client the Lightspeed id is given as an id in the Google Shopping XML, but the sku is given in the data layer of the product pages and not the lightspeed_id. My concern is that the dynamic remarketing function of Google Ads is not working properly because the ecomm_prodid is empty on the Google Ads tag.
Related categories: PHP JavaScript XML Google Adwords