To properly implement Identity Protection, you will need to customize the code that we provide on our site. We offer apps for some of the most popular e-commerce platforms which can greatly simplify this step. Click here to learn more about our apps and integrations.
If you're directly adding the code to your site, you'll need to identify the highlighted parts of the code below:
For the service to work properly, you'll need to provide at least the order ID. Other fields are optional.
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>