If you're directly adding the code to your site, you'll need to identify the highlighted parts of the code below. Please note that this is the same code used for the McAfee SECURE Identity Protection service. You can find detailed instructions on how to enable post purchase review emails by clicking here.
While the exact procedure may vary depending on your site's infrastructure, you can use the two examples below as a general guidance for how to customize the code:
Ruby <script src="https://cdn.ywxi.net/js/conversion.js" class="mcafeesecure-track-conversion" data-type="purchase" data-orderid=“<%= current_user.last_order_id %>” data-email="<%= current_user.email %>" data-firstname="<%= current_user.first_name %>" data-lastname="<%= current_user.last_name %>" data-country="US" ></script> PHP: <script src="https://cdn.ywxi.net/js/conversion.js" class="mcafeesecure-track-conversion" data-type="purchase" data-orderid=“<?php current_user.last_order_id ?>” data-email="<?php current_user.email ?>” data-firstname="<?php current_user.first_name ?>” data-lastname=“<?php current_user.last_name ?>” data-country="US" ></script>