src/module-elasticsuite-tracker/view/frontend/layout/checkout_onepage_success.xml
<?xml version="1.0"?>
<!--
/**
* Smile Tracker layout on conversion page
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
* versions in the future.
*
* @category Smile
* @package Smile\ElasticsuiteTracker
* @author Romain RUAUD <romain.ruaud@smile.fr>
* @copyright 2020 Smile
* @license Open Software License ("OSL") v. 3.0
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="before.body.end">
<block class="Smile\ElasticsuiteTracker\Block\Variables\Page\Order"
name="smile.tracker.page.order"
ifconfig="smile_elasticsuite_tracker/general/enabled" />
</referenceContainer>
</body>
</page>