© 2025 ideal.shop All rights reserved.
HelloRetail integration
The following information and codes can be used to set up an integration to HelloRetail.
Product feed
HelloRetail needs a feed with your product data. You can find it by searching for "product feed" in the administration.Product category
feed HelloRetail needs a feed with your product categories. You can find it by searching for "helloretail" in the administration.Conversion tracking codes
The following codes must be copied and pasted into your <head>. Note that you must replace YOUR_PARTNER_ID with the ID you receive from HelloRetail.
<script type="text/javascript">
(function() {
var aws = document.createElement('script');
aws.type = 'text/javascript';
if (typeof(aws.async) != "undefined") { aws.async = true; }
aws.src = 'https://d1pna5l3xsntoj.cloudfront.net/scripts/company/awAddGift.js#YOUR_PARTNER_ID';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(aws, s);
})();
</script>
<script>
var hello_retail_items = [];
window.addEventListener('_saas_site_event', function(event){
var detail = event.detail;
if(detail.type === 'order_complete')
{
hello_retail_items = detail.items;
}
});
</script>
This code must be inserted on your order page:
<script>
var tracking_html = '<span class="addwish-conversion" style="display:none;" data-ordernumber="[ordernumber]" data-total="[orderamount]" data-email="[kunde-email]">';
for(let i=0; i<hello_retail_items.length;i++)
{
tracking_html += '<span class="addwish-product" data-url="'+hello_retail_items[i].url+'" data-productnumber="'+hello_retail_items[i].item_number+'" data-quantity="'+hello_retail_items[i].quantity+'"></span>';
}
tracking_html += '</span>';
document.body.innerHTML += tracking_html;
ADDWISH_PARTNER_NS.api.reload();
</script>
Both codes above can be inserted by searching for "HTML" in the administration and going to the first tool.