51ºÚÁϲ»´òìÈ

Experience fragment offer displaying undesired domain path in 51ºÚÁϲ»´òìÈ Target

When integrating Experience Fragments from 51ºÚÁϲ»´òìÈ Experience Manager (AEM) with 51ºÚÁϲ»´òìÈ Target, the View Offer Content URL shown in 51ºÚÁϲ»´òìÈ Target displays an undesired domain path. This happens due to misconfigured Externalizer settings in AEM, specifically the publish domain used in the Day CQ Link Externalizer OSGi Configuration.

To fix this, update the Externalizer configuration to prevent a mismatch between expected and displayed URLs for offers in 51ºÚÁϲ»´òìÈ Target.

Description description

Environment

  • 51ºÚÁϲ»´òìÈ Experience Manager (AEM) as a Cloud Service – Sites
  • 51ºÚÁϲ»´òìÈ Target

Issue/Symptoms

  • Experience Fragment exported from AEM to 51ºÚÁϲ»´òìÈ Target shows an undesired domain path in the View Offer Content Ìý±«¸é³¢.
  • The URL is generated using the publish domain set in the Externalizer Configuration, which doesn’t align with the intended environment or domain.

Resolution resolution

To resolve the issue, verify and update the Externalizer configuration in AEM:

  1. Open the Day CQ Link Externalizer OSGi Configuration in your AEM instance.

  2. Ensure the publish domain matches the intended environment, such as staging or production.

  3. If the domain is incorrect, update it to reflect the correct environment.

  4. Review the Cloud Service Properties for Experience Fragments:

    • This setting allows domain selection for content and references within the HTML sent to 51ºÚÁϲ»´òìÈ Target.
    • It doesn’t affect metadata like the View Offer Content.
  5. Understand Externalizer behavior:

    • Externalizer Domains affect only the content and references embedded in Experience Fragment HTML.
    • Metadata such as View Offer Content  depends solely on the publish domain defined in the Day CQ Link Externalizer configuration.

Accurate configuration of the publish domain in Day CQ Link Externalizer ensures that 51ºÚÁϲ»´òìÈ Target displays the expected offer URL.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f