Loading
Create Content in Marketing Cloud Engagement
Google Promotions Tab

Google Promotions Tab

Learn how to use a Google Promotions Tab code in Marketing Cloud Engagement Content Builder to enhance your email promotions with images, deals, expiration dates, and more.

Create a code snippet with the sample AMPscript markup and edit the bold areas with your details. If the tab content is the same between emails that use the template, add the code snippet directly under the template <head> tag. If the tab content changes between emails that use the template, add a content area directly under the template <head> tag, then drag in your code snippet.

Example
Example

      %%[
      SET @JSONStart = Concat('<', 'script type="', 'application/ld+json"','>')
      SET @JSONEnd = Concat('<','/','script','>')
      ]%%
      %%=TreatAsContent(@JSONStart)=%%
      [{
      "@context": "https://schema.org/",
      "@type": "Organization",
      "logo": "urlforlogo.png"
      },{
      "@context": "https://schema.org/",
      "@type": "DiscountOffer",
      "description": "20% off",
      "discountCode": "PROMO",
      "availabilityStarts": "2019-01-01T08:00:00-07:00",
      "availabilityEnds": "2019-09-30T23:59:59-07:00"
      },{
      "@context": "https://schema.org/",
      "@type": "PromotionCard",
      "image": "https://urlforimage.png"
      }]
      %%=TreatAsContent(@JSONEnd)=%%

See Google Promotions Tab Get Started for more information.

 
Загрузка
Salesforce Help | Article