- [Case Studies](https://www.mergado.com/category/case-studies)
- [eCommerce tips](https://www.mergado.com/category/ecommerce-tips)
- [Online Store Solutions and Platforms](https://www.mergado.com/category/online-store-solutions-and-platforms)
- [Mergado Pack](https://www.mergado.com/category/mergado-pack)
- [Mergado tips](https://www.mergado.com/category/mergado-tips)
- [Mergado News](https://www.mergado.com/category/mergado-news)
- [eCommerce News](https://www.mergado.com/category/ecommerce-news)
- [How to use Mergado](https://www.mergado.com/category/how-to-use-mergado)
- [Interviews with e‑commerce gurus](https://www.mergado.com/category/interviews-e-commerce-gurus)
- [Extensions](https://www.mergado.com/category/apps-bidding-image-marketing-and-more)
- [Expansion with Mergado](https://www.mergado.com/category/expansion-with-mergado)
- [Mergado Lifestyle](https://www.mergado.com/category/mergado-lifestyle)
 



 

 1. [  Home  ](https://www.mergado.com/)
2. [     Mergado Blog  ](https://www.mergado.com/blog)
3. [     How to use Mergado  ](https://www.mergado.com/category/how-to-use-mergado)
4. <a class="flex items-center gap-2 hover:underline" href="" itemid="" itemprop="item" itemscope="" itemtype="https://schema.org/Thing">    **How Mergado works and why it is so handy** </a>
 
  

 

#  **How Mergado works and why it is so handy** 

 

 

 [    ![](https://www.mergado.com/sites/default/files/perm/user-avatar/23021961102131189073595481259913287n.jpg)   Lukáš Horák  ](https://www.mergado.com/blog/lukas-horak) [How to use Mergado](https://www.mergado.com/category/how-to-use-mergado) 

7. 1. 2021

2 minutes read

 

 

 

 

 

  ![how mergado works](https://www.mergado.com/sites/default/files/perm/image/new-nahladovka-na-blog-1200-x-628-px-21.png)  

To make your advertising on product search engines successful, you must have an XML feed **set** **up** according to their required specifications. You no longer have to hire a programmer to make these modifications. With [Mergado](https://www.mergado.com/get-started), you can set up advertising campaigns for your online store **yourself**. How does this tool work?



 

 

 
                function tableOfContents() {
                  return {
                    headings_menu: [],
                    heading_active: '', // Added to track the active section
                    shouldBeSticky: false,

                    generateToC() {
                      const headings = document.querySelectorAll('.js-article-full-headings h2, .js-article-full-headings h3');
                      let headingMap = {};

                      headings.forEach((heading) => { // Use an arrow function to maintain `this` context
                        // Normalize heading text to remove diacritics, then replace non-alphanumeric characters with dashes
                        var normalizedText = heading.textContent.normalize("NFD").replace(/[\u0300-\u036f]/g, ""); // Remove diacritics
                        var id = heading.id ? heading.id : normalizedText.trim().toLowerCase()
                          .split(' ').join('-').replace(/[^a-z0-9\-]/ig, ''); // Updated regex to replace non-alphanumeric characters
                        headingMap[id] = headingMap[id] !== undefined ? ++headingMap[id] : 0;

                        // Use the updated `id` with diacritics removed for the heading id and the TOC
                        const finalId = headingMap[id] ? `${id}-${headingMap[id]}` : id;
                        this.headings_menu.push({
                          id: finalId,
                          title: heading.textContent,
                          level: heading.tagName.toLowerCase(), // Track heading level
                          active: false, // Initially set active to false
                        });
                        heading.id = finalId;
                      });
                    },

                    checkStickyNeeded() {
                      const ul = this.$el.querySelector('ul');
                      if (ul) {
                        this.shouldBeSticky = ul.scrollHeight < window.innerHeight;
                      }
                    },

                    setActiveHeading() {
                      // disabled not working with active state on click
                      // add @scroll.window="setActiveHeading()" to the parent div

                      // const headings = document.querySelectorAll('.js-article-full-headings h2');
                      // let activeHeading = '';
                      // let closestHeadingDistance = Infinity;

                      // headings.forEach((heading) => {
                      //   const rect = heading.getBoundingClientRect();
                      //   const offset = rect.top - window.innerHeight / 2; // Consider heading in the middle of the screen as active

                      //   if (offset < 0 && Math.abs(offset) < closestHeadingDistance) {
                      //     activeHeading = heading.id;
                      //     closestHeadingDistance = Math.abs(offset);
                      //   }
                      // });

                      // // Update the active state in headings_menu
                      // if (activeHeading !== this.heading_active) {
                      //   this.headings_menu = this.headings_menu.map(item => ({
                      //     ...item,
                      //     active: item.id === activeHeading,
                      //   }));
                      //   this.heading_active = activeHeading;

                      // }
                    },

                    setActiveItem(clickedId) {
                      this.headings_menu.forEach(item => {
                        item.active = (item.id === clickedId);
                      });
                      this.heading_active = clickedId; // Optionally update the heading_active property if used
                    },
                  };
                }
               1. <a :class="{ 'border-r-[3px] border-secondary': item.active, 'text-sm': item.level === 'h3' }" :href="'#' + item.id" class="inline-block text-balance hover:underline p-0.5 pr-3">  — </a>
  



 

## How Mergado works

Mergado is a smart intermediary between your online store and product search engines. It regularly **downloads** [XML](https://www.mergado.com/tag/xml-feed) and [CSV](https://www.mergado.com/tema/csv-and-marketing) files with information about your goods, which it then **processes** and **prepares the output data** for download by product search engines. Mergado works online without interfering with your store, and it provides you with many advanced functions with a few clicks. It currently [supports](https://www.mergado.com/supported-channels) **650+ advertising systems in 21 countries**.



 

 [  ![](https://www.mergado.com/sites/default/files/perm/paragraph-image/twitteruvodkacz.jpg)  ](https://www.mergado.com/sites/default/files/perm/paragraph-image/twitteruvodkacz.jpg) 

### Start with a Feed Audit

You can find the weak points in the advertisement by [auditing the XML feed](https://audit.mergado.com/). All you need to know is its **URL**. You will receive the audit results by e‑mail. They contain all the **bugs** in your campaigns and **tips** on how to fix them. You can fix most of these errors directly in Mergado.



 

  ![](https://www.mergado.com/themes/custom/mergado/static/images/banner/mergado.svg) Run a free Feed Audit

- improve the condition of your feed and get recommendations for its adjustment
- fast and free technical analysis

 

 [Try Feed Audit](https://audit.mergado.com/) 

  ![](https://www.mergado.com/themes/custom/mergado/static/images/banner/mergado.svg)  

 

### What can you do with Mergado?

- **Optimization of advertising costs** in product search engines – e. g. setting the offered price per click according to the price of goods.
- **Pairing of products** due to a change in the name passed through the engine service, the name of the category, the addition of missing data (e. g. a manufacturer by category, description, etc.).
- **Bulk hiding** of unsold or duplicate products and goods at zero price.
- **Eliminating minor errors**, such as unapproved characters.
- **Making temporary changes to feeds**, such as a short-term extension of the name with an action benefit (free shipping, gift), seasonal change in cost-per-click (price increase for summer, reduction for winter, or vice versa).



 

Do you want to learn to work with Mergado? For instructions on using the tool, see the [Get Started with Mergado](https://www.mergado.com/get-started) page or join one of our free online [webinars](/node/2168).

 

 

 

 

 

### Mergado also offers

- Many **additional applications** from the [Mergado Store](https://store.mergado.com/), e. g. for [bidding](https://store.mergado.com/detail/biddingfox/#about), [pricing](https://store.mergado.com/detail/pricingfox/#about), or [image marketing](https://store.mergado.com/detail/feedimageeditor/).
- Options to **connect** your online store with the e‑commerce world using **free** [Mergado Pack](https://pack.mergado.com/) plugins.

Mergado is designed to keep your data as up-to-date as possible and to automatically manage thousands of items at once. **Try it for free for the first 30 days.**



 

  ![](https://www.mergado.com/themes/custom/mergado/static/images/banner/mergado.svg) Mergado with a 30-day free trial

- optimize your feed by yourself and save the cost for the developer’s time
- full access to all features already in the trial version

 

 [Try Mergado for free](https://accounts.mergado.com/register/) 

  ![](https://www.mergado.com/themes/custom/mergado/static/images/banner/mergado.svg)  

 

 [    ![](https://www.mergado.com/sites/default/files/perm/user-avatar/23021961102131189073595481259913287n.jpg)  ](https://www.mergado.com/blog/lukas-horak)###  [ Lukáš Horák ](https://www.mergado.com/blog/lukas-horak) 

Lukáš takes care of most of the Czech and English communication in Mergado. Through blogs, e‑mail, and social networks, he regularly supplies readers with e‑commerce news and news and tips from Mergado. In his time off, he enjoys simple things like badminton, digging the hidden gems of the 80’s, and seafood served with red wine.

 

 

 

 

 

 

 

 

 

## What you *might be interested in next*

 

 [    ![](https://www.mergado.com/sites/default/files/perm/image/shoptet-shopify-prevod-en.jpg)  

### How We Migrated an E‑Shop from Shoptet to Shopify with Mergado: A Complete Migration Without Data Loss

 

 ](https://www.mergado.com/blog/how-we-migrated-e-shop-shoptet-shopify-mergado-complete-migration-without-data-loss) 

 [    ![how to open large xml file article cover](https://www.mergado.com/sites/default/files/perm/image/mergado-nahledovky_na_blog-landscape-1200_x_628_px-5.png)  

### How to open large XML file

 

 ](https://www.mergado.com/blog/how-to-open-large-xml-file) 

 [    ![smart value insertion article](https://www.mergado.com/sites/default/files/perm/image/smart_insertion_value.png)  

### Introducing smart value insertion. It will speed up the creation of bulk rules

 

 ](https://www.mergado.com/blog/smart-value-insertion) 

 

 

 

## Don’t miss *anything*

 Sign up for our newsletter 

   

       

   By logging in, you agree that we will process your data by the [terms of personal data protection](https://www.mergado.com/cookies). 

  Thank you, you have successfully joined our subscriber's list. 

 

 

 
      function ml_webform_success_5807248() {
        var r = ml_jQuery || jQuery
        r('.ml-subscribe-form-5807248 .row-success').show(), r('.ml-subscribe-form-5807248 .row-form').hide()
      }