> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nemu.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# How to remove automatic UTMs from Google Merchant

> In this tutorial we will teach you how to remove automatic UTMs that are inserted when importing products from your ecommerce to Google Merchant.

This problem is common for Shopify or Magazord stores, but may occur in other integrations. In this scenario, the ads that use Google Merchant products will not have UTMs defined in the Nemu standard:

`{lpurl}?utm_source=google&utm_medium=cpc_{adgroupid}&utm_campaign={campaignid}&utm_content={creative}&utm_term={keyword}`

But rather a pattern defined by the integration itself. For Shopify, the UTMs will look like this:

`utm_source=google&utm_medium=product_sync&utm_campaign=sag_organic&utm_content=sag_organic`

For Magazord, the pattern used is:

`utm_source=google&utm_medium=ads&utm_campaign=product-name`

This way, sales in Nemu will mark with this integration-defined UTM pattern, making it impossible to identify from which campaign the sale occurred. To solve this problem, just follow the steps below:

<Note>
  To perform this configuration, you will need: <br />
  <br /> **Admin login to Google Merchant of the store to be configured**
</Note>

## 1. **Step: Enable advanced data source management**

To do this, check in **settings -> addons** if you have the addon **"advanced data source management"** or **"Advanced data source management."** If the addon is already installed, it will be available in the "your addons" tab.

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/1.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=1155222bc0c093a0576942e03b00d19c" alt="" width="1366" height="524" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/1.png" />

Done, click on **"Access advanced data source management"**:

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/2.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=ba1f7dc942ec4d6dd0d4f2d9a4271223" alt="" width="1366" height="412" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/2.png" />

## 2. **Step: Add rule for removing UTMs from the link**

When accessing advanced data source management, click on the data source of your integration:

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/3.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=ef6d0e6a3f2e43f3cdff87ba38feb926" alt="" width="1366" height="529" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/3.png" />

Click on the "attribute rules" tab and "add attribute rule".

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/4.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=025da6a517754c14620bd4988213984b" alt="" width="1366" height="615" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/4.png" />

Search for the "link" option in the search field and select the option that contains only the word "link".

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/5.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=97bef4674f4578fcfe8cc551ff3a7b69" alt="" width="1366" height="601" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/5.png" />

On the next page, select the option "Set as" and in the selection box select "link" from "Content API" and finally click "OK".

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/6.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=ee794ad6b4a01fab338e24a2d299f152" alt="" width="1366" height="617" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/6.png" />

Click on "add modification".

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/7.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=ec29308666c878169a44c7e90eb5d43a" alt="" width="1366" height="606" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/7.png" />

Search for "URL optimize", we will use the parameter removal feature. Just select it as shown in the image. We will add a removal for each UTM, that is: `utm_source`, `utm_medium`, `utm_content` and `utm_campaign`.

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/8.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=fb0d070d738aadc731e8fa72eba9b351" alt="" width="1366" height="611" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/8.png" />

Adding all parameters, the configuration should be as follows. After review, just click "ok".

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/9.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=3f5f93dcd5a07b80c4f641ac30dd5f42" alt="" width="1366" height="601" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/9.png" />

You can check the preview of how the final product link will look by clicking "show preview". Click and visualize how the final URL will look. Note that the UTMs shown in the first link have been removed after applying the rule. After confirmation, click "Save as draft".

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/10.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=ba775b0d2ee15d08ebc41e59b07ace5a" alt="" width="1366" height="609" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/10.png" />

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/11.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=ad9e2cecc769bd2602b7b50e035cb33e" alt="" width="1366" height="476" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/11.png" />

## 3. Step: Editing the canonical link

Back to the "attribute rules" screen, click on "set as" and select the "link" option from the "processed attributes" category. It cannot be from "Content API", because in this way we will be using the link that we already defined in the previous rule.

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/12.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=4e59960cb9fd8ac3a5f53d37c3ce5b32" alt="" width="1366" height="603" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/12.png" />

Done, we can confirm in "preview" that the final link has no UTMs. After this confirmation, just click "Save as draft".

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/13.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=cd46548d890504c18b68c5c381a100c6" alt="" width="1366" height="612" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/13.png" />

## 4. Step: Test and apply the rules

<Warning>
  It is essential to wait for the Google Merchant test results to proceed
  with applying the rules, as incorrect configurations may cause
  Google Merchant products to be automatically deactivated.
</Warning>

After all configurations, click on "Test rules" and wait for processing.

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/14.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=7b42a7c75f6ace96ed30877a5cf2db65" alt="" width="1366" height="616" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/14.png" />

After Google Merchant validates all changes as correct, you can apply the changes. If Google reports errors for 1 or more products, contact our support before proceeding with the application.

<img src="https://mintcdn.com/nemu/dREIcTBILFp2RkWZ/assets/pages/problemas-comuns/como-remover-utms-google-merchant/15.png?fit=max&auto=format&n=dREIcTBILFp2RkWZ&q=85&s=fdb296f2d616a35b3257f2daa9b051d5" alt="" width="1366" height="621" data-path="assets/pages/problemas-comuns/como-remover-utms-google-merchant/15.png" />

Done the configurations correctly, the next sales from ads aimed at Google Merchant will mark 100% in your Nemu campaign dashboard.
