Skip to content

Experiments not Considering Redirection from Vanity URLs #26273

@bryanboza

Description

@bryanboza

Problem Statement

Currently, experiments in dotCMS are not taking into consideration the redirection from vanity URLs. This means that if a user accesses a page through a vanity URL, any experiments associated with that page will not be applied. This can lead to inconsistent user experiences and inaccurate experiment results."
Here is the configuration used to test:
image

Steps to Reproduce

  • Set up an experiment for a specific page
  • Create a vanity URL that redirects to the target page of the experiment.
  • Access the target page through the vanity URL.
  • Observe that the experiment is not applied to the page.

Acceptance Criteria

  • When a page is accessed through a vanity URL, any experiments associated with that page should be applied.
  • Users accessing the page through the vanity URL should experience the variations defined in the experiments.
  • Experiment results should accurately reflect the behavior of the experiments for users accessing the page through vanity URLs.

dotCMS Version

Tested on master // Docker // FF

Proposed Objective

Quality Assurance

Proposed Priority

Priority 2 - Important

Quality Assurance Notes & Workarounds

  • QA should verify that experiments are correctly applied when accessing pages through vanity URLs.
  • Workarounds may include manually accessing the page using the actual page URL instead of the vanity URL to ensure that experiments are applied properly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions