Gmail annotations allow you to display additional information or images under the subject of the email in the Gmail Promotions tab.
Enabling Gmail annotations in HTML campaigns
To enable Gmail annotations in HTML campaigns, first determine who created the template you would like to modify:
- If your template was created by Emarsys, please contact your Client Success Manager to discuss how to update your template.
- If you are using your own HTML template, please follow the instructions in the Google documentation to update your template's source code.
Important:
- Please note that updating your template requires expertise in coding.
- In addition to modifying your template in Emarsys, you also need to activate the annotations feature in Gmail as described in the Google documentation.
If you are using your own HTML template, please see our SAP Community post: Gmail annotations and Gmail markup in the Emarsys platform.
Enabling Gmail annotations in Block-Based campaigns
To enable Gmail annotations in Block-Based campaigns:
- If your template was created by Emarsys, please contact your Client Success Manager to discuss how to update your template.
- If you are using your own VCE template, please use editable variables in VCE as described in Enabling Gmail annotations in your own VCE template.
- If you would like to edit your VCE template's source code directly, please follow the instructions in the Google documentation to update the HTML code of your VCE template's blocks. For more information on creating and modifying content blocks, see Creating templates from scratch.
Important:
- Please note that updating your template requires expertise in coding.
- In addition to modifying your template in Emarsys, you also need to activate the annotations feature in Gmail as described in the Google documentation.
Enabling Gmail annotations in your own VCE template
Alternatively, you can configure the settings for the Promotions tab by using editable strings in your template:
- Set up editable strings variables in your template.
- In the Frame Editor, insert the placeholder into the
<head>
tag of your template. - You can use annotations on a campaign level in VCE without modifying your template.
Here is what you need to do to enable Gmail annotations in your own VCE template:
- Go to Content > Block-Based Templates.
- Hover your mouse over the template you would like to open, then click Edit.
- Open the Frame Editor and insert the deal annotation or product carousel code snippet described in the Google documentation to the
<head>
tag of your template. In the following example, we added the deal annotation script to the template.
For more information on the variables, please refer to the Google documentation.
- When you are ready, save your template, then create your campaign's content.
You can check how the annotation looks like by pasting your template's code snippet into the Google Preview your annotations tool.