Microdata Integration

Microdata Integration

With the help of microdata (also called microdata or structured data), the products from your online shop can be transferred to an email with a click. For this, your template must be extended.
Info
The use of structured data is also advantageous for search engines, as the data structures can be evaluated by major search engines. Your website can achieve a higher ranking with it.

Usage

Email templates

Requirements

The microdata must be in the vocabulary Schema.org or data-vocabulary.org. You can check the structured data of your webshop here, provided it uses the microdata vocabulary Schema.org:

Example

Template Source Code
Editor-View
Template Source Code
Example: Template with Microdata store article

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Microdata Template</title>
  5.     <meta charset="UTF-8">
  6.     <style transform="true">
  7.       .font { font-family: Arial, sans-serif; }
  8.     </style>
  9.     <!-- cssToAttribute -->
  10. </head>
  11. <body>
  12. [CONTAINER name='contents' label='Inhalte' type='div' editor-only='true' microdata_able='true']

  13. [BETWEEN]
  14. <table border="0" cellspacing="0" cellpadding="0" width="640" align="center">
  15.   <tr>
  16.     <td style="height: 20px;"></td>
  17.   </tr>
  18. </table>
  19. [BETWEEN]

  20. [ELEMENT  name='shop-article-2-col'
  21.           label='Shop-Artikel (2 Spalten)'
  22.           type='div'
  23.           editor-only='true'
  24.           microdata_able='true'
  25.           microdata_type='schema.org']
  26. <table border="0" cellspacing="0" cellpadding="0" width="640" align="center">
  27.     <tr>
  28.         [BLOCK name='product-data' label='Produktangaben' independent='true']
  29.         <td style="width:200px;" valign="top">
  30.             [INPUT  type='a_img'
  31.                     name='bild'
  32.                     label='Bild'
  33.                     microdata='src:product-image,alt:product-name,href:url,comment:product-name'
  34.                     replace_path='//shop|https://shop'
  35.                     attributes='style="width:200px; height: auto; display: block;"'
  36.                     required='true' /]
  37.         </td>
  38.         <td style="width:20px;"></td>
  39.         [/BLOCK]
  40.         <td valign="top" class="font">
  41.             [BLOCK name='product-data' label='Produktangaben' independent='true']
  42.             [INPUT  type='h1'
  43.                     name='name'
  44.                     label='Produktname'
  45.                     rows='2'
  46.                     microdata='product-name'
  47.                     required='true' /]
  48.             [/BLOCK]

  49.             [BLOCK name='product-data' label='Produktangaben' independent='true']
  50.             <br /><br />
  51.             [INPUT  type='span'
  52.                     name='description'
  53.                     label='Beschreibung'
  54.                     rows='5'
  55.                     microdata='product-description'
  56.                     required='true' /]
  57.             [/BLOCK]

  58.             [BLOCK name='product-data' label='Produktangaben' independent='true']
  59.             <br /><br />
  60.             [INPUT  type='span'
  61.                     name='price'
  62.                     label='Preis'
  63.                     rows='1'
  64.                     microdata='product-offers-price'
  65.                     attributes='style="font-weight: bold;"'
  66.                     required='true' /] €
  67.             [/BLOCK]

  68.             [BLOCK name='product-data' label='Produktangaben' independent='true']
  69.             <br /><br />
  70.             [INPUT  type='a'
  71.                     name='link'
  72.                     label='Link'
  73.                     microdata='text:product-name,href:url,comment:product-name'
  74.                     required='true' /]
  75.             [/BLOCK]
  76.         </td>
  77.     </tr>
  78. </table>
  79. [/ELEMENT]

  80. [/CONTAINER]
  81. </body>
  82. </html>
Editor-View
View of the "Content" tab:

Editor view of the Microdata template

Click on the Microdata icon

Microdata icon

opens the "Import Microdata Article" dialog. Here, the desired target element can be selected and the values of the imported fields can be edited.
All attributes for microdata integration can be found in the MWML reference:
  1. CONTAINER attributes for microdata integration
  2. ELEMENT attributes for microdata integration
Learn in the next step how to embed HTML source code from your website:
  1. Embed external content