Nesta página: saiba como criar uma configuração de canal de experiência baseada em código que define a superfície, a plataforma e o local onde o conteúdo é entregue e consumido no aplicativo ou na página da Web.
Antes de criar sua experiência, é necessário criar uma configuração de experiência baseada em código na qual você define onde o conteúdo será entregue e consumido dentro do seu aplicativo.
Uma configuração de experiência baseada em código deve fazer referência à superfície, que é basicamente o local em que você deseja renderizar as alterações. De acordo com a plataforma selecionada, você precisa inserir um local/caminho ou o URI de superfície completo. Saiba mais
Criar uma configuração de experiência baseada em código create-code-based-configuration
Para criar uma configuração de canal de experiência baseada em código, siga estas etapas:
-
Acesse o menu Canais > Configurações gerais > Configurações de canal e clique em Criar configuração de canal.
-
Insira um nome e uma descrição (opcional) para a configuração.
note NOTE Os nomes devem começar com uma letra (A-Z). Eles só podem conter caracteres alfanuméricos. Também é possível usar sublinhado _, ponto.e hífen-caracteres. -
Para atribuir rótulos de uso de dados personalizados ou de núcleo à configuração, você pode selecionar Gerenciar acesso. Saiba mais sobre o OLAC (Controle de Acesso em Nível de Objeto)
-
Selecione Ação de marketing(s) para associar políticas de consentimento às mensagens que usam essa configuração. Todas as políticas de consentimento associadas à ação de marketing são utilizadas para respeitar as preferências dos clientes. Saiba mais
-
Selecione o canal de experiência baseada em código.
-
Selecione a plataforma para a qual a experiência baseada em código será aplicada:
note NOTE Você pode selecionar várias plataformas. Ao escolher várias plataformas, o conteúdo é entregue a todas as páginas ou aplicativos selecionados. -
Escolha o formato esperado pelo aplicativo para este local específico. Isso será usado ao criar a experiência baseada em código em campanhas e jornadas.
-
Clique em Enviar para salvar suas alterações.
Agora você pode selecionar essa configuração ao criar uma experiência baseada em código em suas campanhas e jornadas.
Plataformas da Web web
Para definir as configurações de experiência baseada em código para plataformas da Web, siga as etapas abaixo.
-
Selecione uma das seguintes opções:
-
Página única - Se quiser aplicar as alterações a uma única página exclusivamente, insira uma URL da página.
-
Regra de correspondência de páginas - Para direcionar várias URLs correspondentes à mesma regra, crie uma ou mais regras. Saiba mais
Por exemplo, se você deseja editar elementos que são exibidos em todas as páginas de produtos femininas do seu site Luma, selecione Domínio > Começa com >
lumae Página > Contém >women.
-
-
O seguinte se aplica ao URL de visualização:
-
Se um único URL de página for inserido, esse URL será usado para a pré-visualização, sem a necessidade de inserir outro URL.
-
Se uma regra de correspondência de páginas for selecionada, você deverá inserir uma URL de criação e visualização padrão que será usada para visualizar a experiência em um navegador. Saiba mais
-
-
O campo Local na página especifica o destino exato dentro da página que você deseja que os usuários acessem. Pode ser uma seção específica em uma página na estrutura de navegação do site, como “banner principal” ou “painel do produto”.
note caution CAUTION A cadeia de caracteres ou o caminho inserido neste campo deve corresponder ao declarado na implementação do aplicativo ou da página. Isso garante que o conteúdo seja entregue no local desejado dentro do aplicativo ou página especificada. Saiba mais
Plataformas para dispositivos móveis (iOS e Android) mobile
Para definir as configurações de experiência baseada em código para plataformas móveis, siga as etapas abaixo.
-
Insira sua ID do aplicativo. Isso permite a identificação e a configuração precisas no ambiente operacional do aplicativo e garante integração e funcionalidade perfeitas.
-
Forneça o Local ou caminho dentro do aplicativo. Este campo especifica o destino exato no aplicativo que você deseja que os usuários acessem. Pode ser uma seção ou página específica na profundidade da estrutura de navegação do aplicativo, como “banner principal” ou “painel do produto”.
-
Preencha o campo Visualizar URL para habilitar visualizações no dispositivo. Esse URL informa ao serviço de visualização o URL específico a ser usado ao acionar a visualização no dispositivo. Saiba mais
O URL de visualização é um deep link configurado pelo desenvolvedor do aplicativo. Isso garante que todos os URLs correspondentes ao esquema de deep link sejam abertos no aplicativo, em vez de em um navegador móvel da Web. Entre em contato com o desenvolvedor do aplicativo para obter o esquema de deep link configurado para ele.
accordion Os seguintes recursos podem ajudá-lo a configurar deep links para a implementação do seu aplicativo note NOTE Se você encontrar problemas ao visualizar a experiência, consulte esta documentação.
Outras plataformas other
Para definir as configurações de experiência baseadas em código para outras plataformas (como consoles de vídeo, dispositivos conectados à TV, TVs inteligentes, quiosques, ATMs, assistentes de voz, dispositivos de IoT etc.), siga as etapas abaixo.
-
Selecione Outros como a plataforma se sua implementação não for para Web, iOS ou Android, ou se você precisar direcionar URIs específicos.
-
Insira o URI da superfície. Um URI de superfície é um identificador exclusivo que corresponde à entidade em que você deseja fornecer sua experiência. Saiba mais
note caution CAUTION Certifique-se de inserir um URI de superfície que corresponda ao usado em sua própria implementação. Caso contrário, as alterações não poderão ser entregues. Saiba mais -
Adicione outro URI de superfície, se necessário. Você pode adicionar até 10 URIs.
note NOTE Ao adicionar vários URIs, o conteúdo é entregue a todos os componentes listados.
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: A code-based experience configuration defines where content is delivered and consumed inside your application or web page, and you create it before building a code-based experience.
Intents:
- Create a code-based experience channel configuration from the Channels > General settings > Channel configurations menu with Create channel configuration.
- Assign custom or core data usage labels to the configuration with Manage access, and select Marketing action(s) to associate consent policies to the messages using this configuration.
- Select one or several platforms for the Code-based experience channel: Web, iOS and/or Android, or Other.
- For web platforms, choose Single page with a Page URL or Pages matching rule with one or more rules, and fill in the Location on page field.
- For mobile platforms (iOS and Android), enter the App id, the Location or path inside the app and the Preview URL.
- For other platforms, enter one or more surface URIs.
- Choose the format expected by the application for this particular location, then select Submit.
Glossary:
- Code-based experience configuration (product-specific): The channel configuration in which you define where the content will be delivered and consumed inside your application. It must reference the surface.
- Surface (product-specific): The location where you want to render your changes. According to the selected platform, you enter a location/path or the full surface URI.
- Surface URI (product-specific): A unique identifier corresponding to the entity where you want to deliver your experience. It is entered in the Surface URI field for the Other platform.
- Single page: Web option to apply the changes to a single page exclusively, by entering a Page URL.
- Pages matching rule: Web option to target multiple URLs matching the same rule, by building one or more rules.
- Location on page: Web field that specifies the exact destination inside the page you want users to access, such as a particular section on a page within the site’s navigation structure.
- Location or path inside the app: Mobile field that specifies the exact destination within the app you want users to access, such as a particular section or page deep within the app’s navigation structure.
- Preview URL (mobile platforms): The field that enables on-device previews. It informs the preview service of the specific URL to use when triggering preview on device. It is a deep link configured by the app developer within your app, so that any URLs matching the deep link scheme open within the app instead of in a mobile web browser.
- Default authoring and preview URL: Web URL used to preview the experience in a browser when a pages matching rule is selected.
Guardrails:
- Configuration names must begin with a letter (A-Z). They can only contain alpha-numeric characters, plus the underscore
_, dot.and hyphen-characters. - For web platforms, the string or path entered in the Location on page field must match the one declared in your app or page implementation. This ensures that the content is delivered to the desired location inside the specified app or page.
- For web platforms, if a pages matching rule is selected, you must enter a Default authoring and preview URL. If a single page URL is entered, that URL is used for the preview and no other URL is needed.
- For other platforms, make sure you enter a surface URI that matches the one used in your own implementation. Otherwise, the changes cannot be delivered.
- For other platforms, you can add up to 10 URIs.
- Your app implementation team is responsible for making explicit API or SDK calls to fetch content for the surfaces defined in the selected code-based experience configuration.
Terminology:
- Canonical name: Object level access control — Acronym: OLAC — variants: Object Level Access Control
- Canonical name: code-based experience configuration — variants: code-based experience channel configuration
FAQ:
- What happens when several code-based experience actions use the same channel configuration? They run on the same surface, and the campaign or journey’s Priority score determines what is delivered to the end-user if they qualify for more than one action.
- Can I select several platforms in one configuration? Yes. When choosing multiple platforms, the content is delivered to all the selected pages or apps.
- When do I select the Other platform? Select Other if your implementation is not for Web, iOS or Android, or if you need to target specific URIs, for example for video consoles, TV connected devices, smart TVs, kiosks, ATMs, voice assistants or IoT devices.
- What happens when I add multiple surface URIs? The content is delivered to all the listed components.
- What is the format chosen in the configuration used for? It is the format expected by the application for this particular location, and it is used when authoring the code-based experience in campaigns and journeys.
- Where do I get the deep link scheme for the mobile Preview URL? Contact your app developer to obtain the deep link scheme configured for your app.
Examples:
- Pages matching rule for web platforms: to edit elements displayed on all the women product pages of the Luma website, select Domain > Starts with >
lumaand Page > Contains >women. - Location values for the Location on page field and the Location or path inside the app field: ‘hero-banner’ or ‘product-rail’.
Related pages:
- To build the experience that uses this configuration: building your experience
- For the surface and the location/path or full surface URI to enter per platform, the surface URI and URI composition: Code-based experience surfaces
- For priority scores when several actions use the same channel configuration: Learn more on priority scores
- To assign data usage labels with Manage access: Learn more about Object Level Access Control (OLAC)
- To associate consent policies through marketing actions: Work with consent policies
- For the different customer implementations that fetch content for the surfaces: Code-based implementation methods samples
- To build a rule that targets multiple URLs: pages matching rule
- For preview on device with the preview URL: Test code-based experiences
Personas:
- admin: Can create a code-based experience channel configuration from the Channels > General settings > Channel configurations menu, with a name and an optional description. Can assign custom or core data usage labels to the configuration with Manage access. Can select Marketing action(s) to associate consent policies to the messages using this configuration. Can select one or several platforms and choose the format expected by the application for this particular location. The page states that names must begin with a letter (A-Z) and can only contain alpha-numeric characters, plus underscore, dot and hyphen characters. Where: “Create a code-based experience configuration”.
Onboarding:
- Level: Experienced
- First minimal step: Access the Channels > General settings > Channel configurations menu, then select Create channel configuration.
- Success check: You can now select this configuration when creating a code-based experience in your campaigns and journeys.
- Next: After creating the code-based experience configuration, build your experience: building your experience