# Lujo - Developer Instructions | Web This measurement plan contains an overview of all data(points) we advise to collect on your platform. These are supplemented with code snippet instructions aimed at developers who play an important role in the measurement setup. As not all data is available on the page initially, we ask developers to prepare this and provide the necessary data when certain interaction events take place. Our goal is to deploy an error-proof setup which is not prone to changes in the DOM of the website. Therefore we strive to collect as much data as possible made available through back- and frontend data streams. Every part of the measurement plan is structured by an ‘if’, ‘then’, ‘whereby’ structure that explains the exact moment data needs to be made available. Product names, category names must be normalized to the same language when passing the event to the DataLayer, regardless of the language of the user interface. Table of Contents Transferring events to the DataLayer: * Purchase --- **Purchase** If the user entered payment information on the "book-checkout" page and went to the "book-successful" hasty purchase page then the following dataLayer has to be filled: --- dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object. dataLayer.push({ event: "purchase", ecommerce: { transaction_id: "T12345", value: "1.500", currency: "EUR", items: [{ item_name: "Triblend Android T-Shirt", item_id: "12345", price: "150.00", start_date: "1.12.2023", end_date: "10.12.2023", persons: "2", kids:"1" item_category: "room", item_variant: "3", quantity: 1 }, { item_name: "Donut Friday Scented T-Shirt", item_id: "12345", price: 150.00, item_category: "room", item_variant: "3", quantity: 1 }] } }); --- **Screenshot** * * * ## [<span class="octicon octicon-link" style="color: rgb(0, 0, 0); vertical-align: middle; visibility: hidden;"></span>](#Contact-for-Questions "Contact-for-Questions")Contact for Questions <div class="alert alert-info" style="font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; letter-spacing: 0.35px; margin-bottom: 0px !important;"> <span style="font-weight: 700;">For all the questions regarding the measurement plan please reach out to:</span> Nataliia Pavlova - nataliia.pavlova@newage.agency </div>