Calling this endpoint allows you to load content from pages or redirects from Extole. Please note that for web experiences this method is called by Extole Tags, and the primary method of integration is tagging.

Example createZone Tag

Getting zone content from Extole for a web experience is most commonly achieved through Extole tags. For example, a confirmation tag is placed on an order confirmation page and will call the Get Zone Content endpoint. In this example, since the customer has just made a purchase and their identity is known, you can pass in information about the customer through the tag.

<span id="extole_zone_confirmation"></span>
<script type="text/javascript">
  /* Start Extole */
  (function(c,e,k,l,a){c[e]=c[e]||{};for(c[e].q=c[e].q||[];a<l.length;)k(l[a++],c[e])})(window,"extole",function(c,e){e[c]=e[c]||function(){e.q.push([c,arguments])}},["createZone"],0);
  /* End Extole */

   extole.createZone({
     name: 'confirmation',
     element_id: 'extole_zone_confirmation',
     data: {
       "partner_user_id": INSERT_DYNAMIC_DATA,
       "email": INSERT_DYNAMIC_DATA,
       "first_name": INSERT_DYNAMIC_DATA,
       "last_name": INSERT_DYNAMIC_DATA,
       "locale": INSERT_DYNAMIC_DATA
     }     
  });
</script>
Language
Authorization
Header