The LUX Getting Started guide has instructions for deploying the LUX snippet. This explains how to put LUX in your pages in order to collect performance data from your users. Those instructions say to put the LUX snippet as early in the page as possible, i.e. at the top of the <head> element.

While it is possible to use LUX with a tag manager, we recommend taking extra care to ensure that the tag manager inserts the lux.js script as close to the top of the <head> element as possible. If the script is inserted too late in the page, LUX may not collect crucial data like CPU timing and user interactions.

Did this answer your question?