{"id":603,"date":"2026-01-15T14:36:09","date_gmt":"2026-01-15T13:36:09","guid":{"rendered":"https:\/\/heyloyalty.com\/support\/knowledge-base\/magento-2-x\/"},"modified":"2026-04-21T15:04:52","modified_gmt":"2026-04-21T13:04:52","slug":"magento-2-x","status":"publish","type":"ht_kb","link":"https:\/\/guides.heyloyalty.com\/en\/help\/magento-2-x\/","title":{"rendered":"Magento 2.X integration"},"content":{"rendered":"<div class=\"wp-block-post-date__modified-date wp-block-post-date\"><time datetime=\"2026-04-21T15:04:52+02:00\">21. April 2026<\/time><\/div>\n\n\n<p>This guide will help you set up the integration between Magento 2.X and Heyloyalty so you can work data-driven with your email marketing and marketing automation.<\/p>\n\n\n\n<p>You&#8217;ll be guided step-by-step through the entire process &#8211; from initial preparations and setup requirements in both Magento and Heyloyalty, to how to make the most of the data provided by the integration.<\/p>\n\n\n\n<p>Along the way, you&#8217;ll also get answers to the most common questions so you know what to expect in terms of time, technical needs and possibilities with the integration.<\/p>\n\n\n\n<p>The goal is to give you a solid foundation so you can quickly and efficiently start using your webshop data to create more relevant communication, better customer experiences and stronger loyalty among your customers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The value of integration <\/h2>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\"><strong>Build stronger loyalty<\/strong><\/mark><br>When you work with marketing automation and personalized messaging, you can meet your customers where they are. You can send content that actually feels relevant to the individual &#8211; and that&#8217;s what creates a stronger relationship and increases loyalty over time. <\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\">Deliver a better customer experience<\/mark><\/strong> <br>Imagine your customers always receiving the right messages at the right time. By using real-time data, you can send relevant offers, inspiration and information that matches their interests &#8211; making the whole experience with your online store easier and more valuable. <\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\">Speak directly to your customers<\/mark><\/strong> <br>You no longer need to communicate broadly and generically. With advanced segmentation, you can target your messages so they feel personal and relevant &#8211; based on your customers&#8217; preferences, behaviors and needs. <\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\"><strong>Dropout prediction and prevention<\/strong> <\/mark><br>You&#8217;ll be able to spot customers who are slipping away before they do. By analyzing their behavior, you can target campaigns and incentives to retain them and strengthen the relationship. <\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\"><strong>Work smarter &#8211; not harder<\/strong> <\/mark><br>When your marketing processes run automatically, you free up time and resources. At the same time, you ensure that your customers still receive personalized and relevant messages &#8211; without you having to do everything manually. <\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\"><strong>Turn your visitors into loyal customers<\/strong><\/mark><br>With the 2-way integration between Heyloyalty and Magento, you get the best of both worlds. You can work data-driven with email marketing and marketing automation &#8211; and build stronger relationships with your customers based on their actual behavior in your webshop. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Before you begin<\/h2>\n\n\n\n<p>To make it easier for you, we recommend that you read the frequently asked questions and find the various documents, IDs, login information, etc. that you will need for the setup. See more below.  <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Frequently Asked Questions<\/h3>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\">Do I need a developer? <\/mark><br><\/strong>Probably yes. There are four steps to install the app via Magento&#8217;s normal composer setup. Follow these. Scroll down and find them here: Start by following <a href=\"https:\/\/guides.heyloyalty.com\/en\/help\/magento-2-x\/#opsaetning-af-integrationen\">Magento&#8217;s installation guide<\/a> for installing an app.   <\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\">How long does it take to finish setting up the integration? <\/mark><br><\/strong>10-30 minutes.  <\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\">Does the integration retrieve backward data? <\/mark><br><\/strong>Not automatically, but you can have the integration pull purchase data from the last 24 months. <\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\">Do I need access to other systems? <\/mark><br><\/strong>You need access to <strong>Heyloyalty <\/strong>&#8211; and your Heyloyalty account must be active. <br>You need access to the Magento backend.  <\/p>\n\n\n\n<p>Which data is being imported? <br>Read the Fields in the integration section at the bottom of this page for the full overview. <\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fc8d46\" class=\"has-inline-color\">Can I segment on data coming through the integration?  <\/mark><br><\/strong>Yes. Any data that comes through the integration can be used to segment your future communication. You can also use this data to start and stop your flows.   <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What you need to set up the integration <\/h3>\n\n\n\n<p>Do I need a developer? It can be either no or yes. It depends if you can install a Magento module yourself? <\/p>\n\n\n\n<p>Can I set up the integration in Heyloyalty myself? Yes, you can. <\/p>\n\n\n\n<p>You should have Heyloyalty and the Magento backend open in separate tabs in your browser. In Heyloyalty, you will need the following  <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Overview of the list you want to integrate with<\/strong> <\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Tracking integration on the aforementioned list<\/strong><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>API key<\/strong> <\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>API secret<\/strong> <\/li>\n<\/ul>\n\n\n\n<p>The integration operates via Magento&#8217;s API and Heyloyalty&#8217;s tracking database. Red more about <a href=\"https:\/\/guides.heyloyalty.com\/en\/help\/tracking\/\" data-type=\"ht_kb\" data-id=\"401\" target=\"_blank\" rel=\"noreferrer noopener\">Tracking<\/a>.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up the integration <\/h2>\n\n\n\n<p>With the above preparation, you are now ready to set up the integration between Magento and Heyloyalty. <\/p>\n\n\n\n<p>Start by following Magento&#8217;s installation wizard for installing an app: <\/p>\n\n\n\n<p>How to Install: <\/p>\n\n\n\n<p>Please ensure you are using correct access keys <\/p>\n\n\n\n<p><a href=\"https:\/\/commercemarketplace.adobe.com\/customer\/accessKeys\/\" target=\"_blank\" rel=\"noreferrer noopener\">(My Profile &#8211; Access Keys)<\/a> <\/p>\n\n\n\n<p>Paste the access keys in your auth.json file inside your project <\/p>\n\n\n\n<p>Use the &#8220;composer require <\/p>\n\n\n\n<p>&lt;module_name&gt;Use the &#8220;<version>&#8221; command to add the extension to your project. If you just need the extension package code for a specific version (for example, for code review purposes), you can initialize an empty project and just add composer require statement for the extension to a blank composer.json   <\/version><\/p>\n\n\n\n<p>You can see the list of versions in the selector below the extension module name <\/p>\n\n\n\n<p>For detailed instructions, see DevDocs<em> <\/em><\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Note:<\/strong> The Magento module can be found <a href=\"https:\/\/commercemarketplace.adobe.com\/heyloyalty-magento2-module.html\" data-type=\"link\" data-id=\"https:\/\/commercemarketplace.adobe.com\/heyloyalty-magento2-module.html\">here.<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"overblik\">Overview of the list in Heyloyalty <\/h3>\n\n\n\n<p>Review your <strong>list <\/strong>by clicking <strong>Lists &#8211;&gt;<\/strong> \u205d &#8211;&gt; <strong>Edit list <\/strong> <\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Note:<\/strong> If you don&#8217;t have a list, read here <a href=\"https:\/\/guides.heyloyalty.com\/en\/help\/lists-and-fields\/\" data-type=\"link\" data-id=\"https:\/\/guides.heyloyalty.com\/help\/lister-og-felter\/\" target=\"_blank\" rel=\"noreferrer noopener\">how to create a list.<\/a><\/p>\n\n\n\n<p>Review if you are satisfied with the selected default fields, or if any fields need to be added or removed. Then scroll further down and consider the <strong>additions of fields and groups<\/strong> that may be on the list.  <\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e3742e3ca&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e3742e3ca\" class=\"wp-block-image size-large wp-lightbox-container\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Standard-fields-on-the-list-1024x504.png\" alt=\"\" class=\"wp-image-4077\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Standard-fields-on-the-list-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Standard-fields-on-the-list-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Standard-fields-on-the-list-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Standard-fields-on-the-list-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Standard-fields-on-the-list-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Standard-fields-on-the-list-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Standard-fields-on-the-list-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Standard-fields-on-the-list.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e3742e7ba&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e3742e7ba\" class=\"wp-block-image size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Customer-fields-1-1024x504.png\" alt=\"\" class=\"wp-image-4076\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Customer-fields-1-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Customer-fields-1-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Customer-fields-1-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Customer-fields-1-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Customer-fields-1-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Customer-fields-1-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Customer-fields-1-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Customer-fields-1.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Tracking integration <\/h3>\n\n\n\n<p>Set up Tracking by clicking on Integrations &#8211;&gt; List Integrations &#8211;&gt; Tracking &#8211;&gt; Setup Integration &#8211;&gt; Create new Tracking <\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e3742eb8b&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e3742eb8b\" class=\"wp-block-image size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-integration-1-1024x504.png\" alt=\"\" class=\"wp-image-4078\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-integration-1-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-integration-1-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-integration-1-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-integration-1-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-integration-1-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-integration-1-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-integration-1-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-integration-1.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n\n\n<p>Fill in the fields. Make sure to connect a <strong><a href=\"https:\/\/guides.heyloyalty.com\/en\/help-category\/product-feed\/\" data-type=\"link\" data-id=\"https:\/\/guides.heyloyalty.com\/help-category\/produktfeed\/\" target=\"_blank\" rel=\"noreferrer noopener\">product feed<\/a><\/strong>. <strong>The number of visits to the category <\/strong>and the <strong>number of days the visits are over<\/strong> are important to consider as they affect when an automation flow like <a href=\"https:\/\/guides.heyloyalty.com\/help\/category-interest\/\" data-type=\"ht_kb\" data-id=\"259\" target=\"_blank\" rel=\"noreferrer noopener\">category interest<\/a> will trigger. A rule of thumb \u2013 which may be more or less good depending on your guests&#8217; typical purchasing patterns and frequencies \u2013 is to set the Number of visits per category to three and the Number of days visits are over to seven. <\/p>\n\n\n\n<p>Session time should be a number, and it should be the same as in your script. Typically, we recommend 45 minutes, so if you follow that recommendation, you should write 45 in that field.  <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"magento-installation\">Install Heyloyalty as an app from the Magento Marketplace <\/h3>\n\n\n\n<p>Find the Heyloyalty app in the Magento Marketplace. Log in to <strong>Magento<\/strong> &#8211;&gt; <strong>Find partners &amp; extensions &#8211;&gt;<\/strong><em> scroll down to the bottom<\/em> and click <strong>Visit Magento Marketplaces<\/strong> &#8211;&gt; <strong><em>search for Heyloyalty.<\/em><\/strong> <\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e3742f045&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e3742f045\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-1024x504.png\" alt=\"\" class=\"wp-image-3957\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e3742f348&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e3742f348\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-2-1024x504.png\" alt=\"\" class=\"wp-image-3958\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-2-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-2-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-2-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-2-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-2-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-2-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-2-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Installere-magento-modul-2.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Click on the Heyloyalty app and add the app to the basket and complete the checkout. <\/p>\n\n\n\n<p>After you have &#8216;purchased&#8217; the app, click on <strong>Install<\/strong>.   <\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Tip:<\/strong> The app is free in Magento.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setting up the integration in Magento<\/h3>\n\n\n\n<p>Back to the backend in Magento, now click on <strong>Stores<\/strong> &#8211;&gt; Settings &#8211;&gt; <strong>Configuration<\/strong> &#8211;&gt; <strong>Sales<\/strong> &#8211;&gt;<strong> Heyloyalty<\/strong>    <\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e3742f98c&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e3742f98c\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Aktivere-modul-1024x504.png\" alt=\"\" class=\"wp-image-3959\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Aktivere-modul-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Aktivere-modul-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Aktivere-modul-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Aktivere-modul-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Aktivere-modul-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Aktivere-modul-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Aktivere-modul-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Aktivere-modul.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Here you change Enabled to Yes, which brings up more fields. <\/p>\n\n\n\n<p>Fill in <strong>API Key<\/strong> and <strong>API Secret<\/strong>. You can find this info in Heyloyalty under <strong>the user icon <\/strong>&#8211;&gt; <strong>account information<\/strong>. Here you will find this info. <\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e3742fd0a&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e3742fd0a\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/API-key-og-API-secret-1-1024x504.png\" alt=\"\" class=\"wp-image-4079\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/API-key-og-API-secret-1-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/API-key-og-API-secret-1-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/API-key-og-API-secret-1-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/API-key-og-API-secret-1-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/API-key-og-API-secret-1-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/API-key-og-API-secret-1-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/API-key-og-API-secret-1-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/API-key-og-API-secret-1.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Now click on Save Config. <\/p>\n\n\n\n<p>You can then select your list in the <strong>List<\/strong> field.<\/p>\n\n\n\n<p>Now, you need to map the fields from the list with the corresponding values in Magento. Click Add More for each field you want to folder. It&#8217;s up to you how much data from Magento you want to bring into Heyloyalty.  <\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e374300ca&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e374300ca\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tilfoej-felter-i-magento-1024x504.png\" alt=\"\" class=\"wp-image-3962\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tilfoej-felter-i-magento-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tilfoej-felter-i-magento-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tilfoej-felter-i-magento-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tilfoej-felter-i-magento-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tilfoej-felter-i-magento-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tilfoej-felter-i-magento-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tilfoej-felter-i-magento-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tilfoej-felter-i-magento.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Once you have mapped the desired fields, click on <strong>Save Config.<\/strong> <\/p>\n\n\n\n<p>To import data that you have collected historically, see the section <a href=\"https:\/\/guides.heyloyalty.com\/en\/help\/magento-2-x\/#import-af-bagudrettet-data\">Importing Backward Data<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">General information about integration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Worth knowing about the integration <\/h3>\n\n\n\n<p>Once the integration is set up, you can send the last 24 months of purchase data from your Magento shop to Heyloyalty. Heyloyalty <strong> <\/strong>creates<strong> <\/strong>a contact when a contact is created in Magento. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The contact is automatically updated in the Tracking database. This means that you can, among other things, segment on whether the contacts in Heyloyalty have purchased within the last seven days or not, have purchased for more than a given amount or have purchased more than a certain number of times, to name just a few of your options.  <\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"import-af-data\">Importing historical data<\/h3>\n\n\n\n<p>To import backward data, you need to go into the backend of your Magento shop. <\/p>\n\n\n\n<p>Click <strong>Stores<\/strong> &#8211;&gt; <strong>Configuration<\/strong> &#8211;&gt; <strong>Sales<\/strong> &#8211;&gt; <strong>Heyloyalty <\/strong> <\/p>\n\n\n\n<p>There are now four fields to consider: <\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e37430617&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e37430617\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Advanceret-indstillinger-magento-1024x504.png\" alt=\"\" class=\"wp-image-3966\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Advanceret-indstillinger-magento-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Advanceret-indstillinger-magento-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Advanceret-indstillinger-magento-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Advanceret-indstillinger-magento-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Advanceret-indstillinger-magento-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Advanceret-indstillinger-magento-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Advanceret-indstillinger-magento-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Advanceret-indstillinger-magento.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Who to send Error Reports to<\/strong> <br>Should there be errors in the data transfer between Magento and Heyloyalty, it is this employee who will be notified via email. <\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Activate Tracking Script<\/strong> <br>Should be left on Yes <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Tip:<\/strong> This is tracking user behavior on your site via Heyloyalty tracking script.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Tracking ID<\/strong> <br>Enter your five-digit tracking ID from Heyloyalty. <br><em>TIP: You can find this ID in Heyloyalty: Integrations &#8211;&gt; <\/em><em><\/em><em>  <\/em><em>List Integrations &#8211;&gt;<\/em><em>  <\/em><strong><em>Tracking <\/em><\/strong><em>&#8211;&gt;<\/em><em>  <\/em><em>Edit Integration&#8211;&gt;<\/em><em>  <\/em><strong><em>*Find your Tracking ID in the fourth column*<\/em><\/strong> <\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Session Time <\/strong><br>How long does it take for Magento and Heyloyalty to define the visitor&#8217;s session for being dead (and e.g. a lost cart flow starts). This number should be the same as in your Tracking list integration in Heyloyalty.  <br><em>TIP: You can find this ID in Heyloyalty: Integrations &#8211;> List Integrations &#8211;><\/em><strong><em>Tracking <\/em><\/strong><em>&#8211;>Edit Integration&#8211;><\/em><strong><em>*Find your Session Time in the second column*<\/em><\/strong> <\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a07e37430fef&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a07e37430fef\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-settings-2-1024x504.png\" alt=\"\" class=\"wp-image-4081\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-settings-2-1024x504.png 1024w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-settings-2-300x148.png 300w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-settings-2-768x378.png 768w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-settings-2-50x25.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-settings-2-1536x756.png 1536w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-settings-2-60x30.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-settings-2-100x49.png 100w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/Tracking-settings-2.png 1954w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Once the above fields are filled in, click <strong>Save Config<\/strong>.<\/p>\n\n\n\n<p>To start importing the backward data, just click Send to Heyloyalty next to Purchase History export to Heyloyalty. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"felter\">Fields in the integration<\/h3>\n\n\n\n<p>All the fields you have in Magento on contacts can be mapped to Heyloyalty. You just need to make sure the field is created in the list in Heyloyalty, as we describe in the section: <a href=\"https:\/\/guides.heyloyalty.com\/en\/help\/magento-2-x\/#overblik-over-listen-i-heyloyalty\" data-type=\"link\" data-id=\"https:\/\/guides.heyloyalty.com\/help\/magento-2-x\/#overblik-over-listen-i-heyloyalty\" target=\"_blank\" rel=\"noreferrer noopener\">List overview<\/a>.   <\/p>\n\n\n\n<p>If you have activated the tracking script in Magento, you will see in the Heyloyalty Activity feed that you get tracking data on purchase and behavioral data on your webshop. You can find the Activity feed under the Statistics menu item. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Get full value from your integration<\/h2>\n\n\n\n<p>Now that you&#8217;ve set up the integration, you have the foundation in place to work more data-driven with your marketing. This means you no longer have to guess &#8211; you can communicate based on your customers&#8217; actual behavior and needs. <\/p>\n\n\n\n<p>With Heyloyalty, you can turn your data into concrete actions: <a href=\"https:\/\/guides.heyloyalty.com\/en\/help-category\/automationsflow\/\" data-type=\"link\" data-id=\"https:\/\/guides.heyloyalty.com\/help-category\/automationsflow\/\">automated flows<\/a>, personalized messages and targeted <a href=\"https:\/\/guides.heyloyalty.com\/en\/help\/create-campaign\/\" data-type=\"link\" data-id=\"https:\/\/guides.heyloyalty.com\/help\/opret-kampagne\/\">campaigns<\/a> that create value for both you and your customers.<\/p>\n\n\n\n<p>The sooner you get started, the sooner you can start strengthening relationships with your customers and drive better results for your online store.<\/p>\n\n\n\n<p>So take the next step and start unlocking the full potential of your integration today.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><form role=\"search\" method=\"get\" action=\"https:\/\/guides.heyloyalty.com\/en\/\" class=\"wp-block-search__button-outside wp-block-search__text-button wp-block-search\"    ><label class=\"wp-block-search__label\" for=\"wp-block-search__input-1\" >Fandt du ikke hvad du ledte efter?<\/label><div class=\"wp-block-search__inside-wrapper\" ><input class=\"wp-block-search__input\" id=\"wp-block-search__input-1\" placeholder=\"S\u00f8g p\u00e5 emner, funktioner eller sider\" value=\"\" type=\"search\" name=\"s\" required \/><button aria-label=\"S\u00f8g\" class=\"wp-block-search__button wp-element-button\" type=\"submit\" >S\u00f8g<\/button><\/div><\/form>\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"208\" height=\"118\" src=\"https:\/\/heyloyalty.com\/support\/wp-content\/uploads\/sites\/2\/2026\/01\/HL-Logo.png\" alt=\"\" class=\"wp-image-85\" style=\"width:108px;height:auto\" srcset=\"https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/HL-Logo.png 208w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/HL-Logo-50x28.png 50w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/HL-Logo-60x34.png 60w, https:\/\/guides.heyloyalty.com\/wp-content\/uploads\/sites\/2\/2026\/01\/HL-Logo-100x57.png 100w\" sizes=\"(max-width: 208px) 100vw, 208px\" \/><\/figure>\n\n\n\n<p><br>Hvis du mangler information eller hj\u00e6lp, som du ikke finder her p\u00e5 guide sitet, er du altid velkommen til at kontakte vores support! <br><a href=\"mailto:support@ubivox.com\">support@heyloyalty.com<\/a> \/ tlf. 87 300 399<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This guide will help you set up the integration between Magento 2.X and Heyloyalty so you can work data-driven with your email marketing and marketing automation. You&#8217;ll be guided step-by-step through the entire process &#8211; from initial preparations and setup requirements in both Magento and Heyloyalty, to how to make&#8230;<\/p>\n","protected":false},"author":6,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[73],"ht-kb-tag":[],"class_list":["post-603","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-integrations-and-api"],"_links":{"self":[{"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/ht-kb\/603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/comments?post=603"}],"version-history":[{"count":9,"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/ht-kb\/603\/revisions"}],"predecessor-version":[{"id":4082,"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/ht-kb\/603\/revisions\/4082"}],"wp:attachment":[{"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/media?parent=603"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=603"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/guides.heyloyalty.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}