Explanation:
In order for our purchase tracking to correctly associate a purchase with a product, the hostname URL from the purchase tracking event must match the hostname used in the product URLs from the data feed.
If, for example, the data feed contains product URLs like www.company.com/SKU/product-name
, but purchase events are sent from a different domain such as checkout.company.com
, our system cannot match those purchases to the correct products.
As a result, purchases will be marked as "not assistable", even if the SKUs are correct and present in the feed.
Solution:
Add the optional hostname
parameter to your purchase tracking call. The specified hostname must exactly match the hostname used in the product URLs from the data feed – e.g., www.company.com
.
Example code:
(function () {
function t() {
window.Neocom.trackPurchase({
hostname: 'www.company.com',
// rest of the function stays the same
});
}
!!window.Neocom ? t() : window.addEventListener("neocomloaded", t);
})();
Example: www.company.com