Created
June 11, 2019 23:40
-
-
Save steven-miller/7cfad555b5cec5530a388435a4ebac54 to your computer and use it in GitHub Desktop.
Gmail Promotions markup in a customizable HubSpot module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div itemscope itemtype="http://schema.org/Organization"> | |
<meta itemprop="name" content="{{ module.organization_name }}" /> | |
<meta itemprop="logo" content="{{ module.small_logo }}" /> | |
</div> | |
<div itemscope itemtype="http://schema.org/DiscountOffer"> | |
<meta itemprop="description" content="{{ module.discount_amount }}" /> | |
<meta itemprop="discountCode" content="{{ module.discount_code }}" /> | |
<meta itemprop="availabilityStarts" content="{{ module.deal_starts|datetimeformat('%Y-%m-%dT%H:%M:%S%z') }}" /> | |
<meta itemprop="availabilityEnds" content="{{ module.deal_ends|datetimeformat('%Y-%m-%dT%H:%M:%S%z') }}" /> | |
</div> | |
<div itemscope itemtype="http://schema.org/PromotionCard"> | |
<meta itemprop="image" content="{{ module.promo_image }}" /> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just found this. Is it a way to add the data needed to setup a gmail promo tab in your email message?