Loading
Create Content in Marketing Cloud Engagement
목차
필터 선택

          결과 없음
          결과 없음
          몇 가지 검색 팁

          키워드의 맞춤법을 확인하십시오.
          더 일반적인 검색 용어를 사용하십시오.
          필터 수를 줄여 검색 범위를 확장하십시오.

          전체 Salesforce 도움말 검색
          Appendix: Use GTL with AMP for Email Mustache Syntax

          Appendix: Use GTL with AMP for Email Mustache Syntax

          Guide Template Language and AMP Mustache templates use the same delimiters (double curly braces {{ and }}). Therefore, when sending AMP containing Mustache templates through Marketing Cloud Engagement, ensure that you add a snippet of code at the top to change the GTL delimiters.

          The <!-- {{={< >}=}} --> snippet changes the delimiters from {{variable}} to {<variable>}

          Code Sample

          You can send this code example in Marketing Cloud Engagement to see how the delimiter change works. To see what happens when you don’t account for the delimiter conflict, remove the delimiter change.

          <!-- {{={< >}=}} -->
          <!doctype html>
          <html ⚡4email>
          <head>
            <meta charset="utf-8">
            <script async src="https://cdn.ampproject.org/v0.js"></script>
            <script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script>
            <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script>
            <style amp4email-boilerplate>body{visibility:hidden}</style>
          </head>
          <body>
            Check out these latest deals from our store!
            <amp-list src="https://amp.dev/static/samples/json/cart.json" layout="fixed-height" height="80">
              <template type="amp-mustache">
                <div id="cart">
                  <!-- These items (and their prices) can be updated dynamically. -->
                  {{#cart_items}}
                  <div class="cart-item">
                      <span>{{name}}</span>
                      <span>{{price}}</span>
                    </div>
                  {{/cart_items}}
                  {{^cart_items}}
                    There are no featured products available. Please check back again later.
                  {{/cart_items}}
                </div>
              </template>
            </amp-list>
          </body>
          </html>
          
           
          로드 중
          Salesforce Help | Article