Element link#
Basic information#
The link element contains the URL of the product page in the online store — the page where the product can be added to the cart. The product URL must be unique across products in the feed.
The maximum length is 2000 characters.
Other elements related to the link element that can also be used in the feed:
- g:mobile_link — the URL of the mobile version of the product page
- g:ads_redirect — the redirect URL for paid Google Shopping ads
- g:canonical_link — the canonical URL for the Google search index
Frequently asked questions#
- How do I add UTM parameters to the URL in the
linkelement?- Use the Set UTM parameters rule, which is designed specifically for this purpose.
- How do I remove UTM and other parameters from the URL in the
linkelement?- Use the Find and replace rule with regular expressions.
- How do I fix duplicate URLs in the
linkelement, for example for variant products?- Using the Rewrite rule, you can append a
#character followed by the system variable@@MERGADO_IDto the end of each URL — this variable is unique for every product in the feed. - Example rewrite mask:
%link%#%@@MERGADO_ID% - This makes duplicate URLs unique without affecting the actual link to the product page in the online store.
- Using the Rewrite rule, you can append a
What Mergado Audit checks for the link element#
- Whether the
linkelement is missing or empty for any products. - Whether the URL in the
linkelement is duplicated — it should be unique for every product in the feed. - The audit also checks the correct URL format in the
linkelement. - It checks the maximum URL length in the
linkelement, which is 2000 characters.
If you need help, contact our technical support.