Back to Hello Retail CONTACT US PLATFORMS E37 E37 Installation Guide In this article... Install the Hello Retail partner JavaScript and Cart Tracking Share your Product feed with Hello Retail Install the Hello Retail conversion span Create a blank page for search results Install the Hello Retail partner JavaScript and Cart Tracking For Hello Retail to work on your E37 webshop, you'll have to add the partner JavaScript. Please follow these simple steps to do this. Log in to your E37 admin panel Navigate to Kontrollpanelen > Webbplats > Allmänt > Script: Tick the box Aktivera JavaScript-objekt på klienten and copy/paste your Hello Retail partner JavaScript into the Script för spårning field: <script type="text/javascript"> (function() { var aws = document.createElement('script'); aws.type = 'text/javascript'; if (typeof(aws.async) != "undefined") { aws.async = true; } aws.src = (window.location.protocol == 'https:' ? 'https://d1pna5l3xsntoj.cloudfront.net' : 'http://cdn.addwish.com') + '/scripts/company/awAddGift.js#YOUR_PARTNER_ID'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(aws, s); })(); _awev=(window._awev||[]);_awev.push(["bind", "crawl_completed", function(){ try { var productNumbers = []; var cartContents = []; for(var i = 0; i < TC.Cart.Articles.length; i++) { productNumbers.push(TC.Cart.Articles[i].ID); cartContents.push(encodeURIComponent(TC.Cart.Articles[i].VariantID) + ":" + TC.Cart.Articles[i].Quantity); } var cartUrl = ADDWISH_PARTNER_NS.$("link[rel=home]").prop("href") + "/checkout?cart=" + cartContents.join(","); ADDWISH_PARTNER_NS.api.cart.setCart({ total: TC.Cart.SumInclVAT, url: cartUrl, productNumbers: productNumbers }); } catch(e) { if (typeof(ADDWISH_PARTNER_NS) != 'undefined') { ADDWISH_PARTNER_NS.log(e); } } }]); </script> Important: Once you have pasted it you should replace YOUR_PARTNER_ID with your own Hello Retail ID. You can find this by logging into your account. Remember to Save your changes. Share your Product feed with Hello Retail For Hello Retail to know all the products in your webshop, please share your product feed with Hello Retail. Log in to your E37 admin panel Navigate to E-HANDEL > Exportfiler: Next to the Keybroker Product Feed, click the link Visa fil: Share this product feed URL with Hello Retail by sending it to support@helloretail.com. Install the Hello Retail conversion span To track conversion and sales performance with Hello Retail as well as improve your algorithms for on-site recommendations, you'll have to add the Hello Retail conversion span. Please follow these simple steps to do this. Log in to your E37 admin panel Navigate to Kontrollpanelen > Webbplats > Allmänt > Script: In the field Script för omvandlingsspårning i kassan: Paste the following code: <script type="text/javascript"> var awConversionSpan = document.createElement("span"); awConversionSpan.setAttribute("class", "addwish-conversion"); if(TC.Order){ awConversionSpan.setAttribute("data-ordernumber", TC.Order.ID); } awConversionSpan.setAttribute("data-total", TC.Cart.SumInclVAT); awConversionSpan.setAttribute("data-email", "@write(User.Email)"); for (i = 0; i < TC.Cart.Articles.length; i++) { var awProduct = document.createElement("span"); awProduct.setAttribute("class", "addwish-product"); awProduct.setAttribute("data-productnumber", TC.Cart.Articles[i].ID); awProduct.setAttribute("data-quantity", TC.Cart.Articles[i].Quantity); awConversionSpan.appendChild(awProduct); } document.getElementsByTagName('body')[0].appendChild(awConversionSpan); </script> Remember to Save your changes. Create a blank page for search results You’ll need to create a new page, for Hello Retail to be able to display the search results to the user. Here’s a simple guide on how to do this. Log in to your E37 admin panel Navigate to WEBBPLATS > Sidor: Choose to Add new page ("Ny sida"): Provide a name for this new page, e.g. call it Search results: Remember to Save ("Spara") Once this new page has been added, click the page in the page list to Edit: When editing the page, it's important to Hide the page. You do this under Status by selecting "Dold": Remember to Save ("Spara") your changes Finally, share this new page with Hello Retail by sending it to support@helloretail.com – for Hello Retail to finalize the setup of dynamic search. Categories Recommendations Newsletter Triggered Emails Dynamic Search Wish List Popular Platform Guides Magento Shopify DanDomain SmartWeb WooCommerce Prestashop Popular Mail Guides Drip MailChimp Klaviyo HeyLoyalty Apsis Contact Us System Status API Contact Us RULES & REGULATIONS / GDPR / ABOUT HELLO RETAIL © 2021 Hello Retail. All rights reserved.