Content

Zone Content

A zone is a content container that you typically place in specific areas of your webpage, where you can display content related to your Extole programs. Zones can also be used to track visitor behavior and success metrics on a page (clicks, conversion funnel, orders, etc.).

Zones can help you run your programs everywhere by enabling the delivery of content in emails, postcards, printed invoices, and so on. Instead of integrating with tags to create a connection between your website and Extole, you'll use the Events & Content endpoints of the Customer API.

Zone Requests

Calls made to the Get Zone Content endpoint can return a full page with content (HTML, JSON), a redirect (302), or another HTTP response.

The most common uses for making a zone request are:

  1. Mobile App Campaigns: A mobile app requests zones and receives JSON with appropriate messaging.

Mobile App Campaigns

Content zones can be used to return visual content for a mobile application to display information. For example, a mobile menu might make the following request to get information to render a "Refer Friends" call to action in the menu.

curl --location 'https://api.extole.io/v5/zones/' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${access_token}' \
--data-raw '{
    "zone_name": "mobile_cta",
    "data": {
        "email":"[email protected]",
        "labels":"mobile-app-staging",
        "locale":"en-US"
    }
}'

Response:
{
    "title": "Refer a Friend, Get $20",
    "image": "Image URL"
}