Skip to content

[Feature] A/B tracking in frontend #55

Description

@martinpribylhd

Hello,
we would like to set a cookie for AB testing which will enable the visitor to see again the same variant like for the first visit.

Our solution over frontend is to use the cookie LUXABTEST , but in the frontend is not accessible the current variant. So we try to extend \In2code\Luxenterprise\Middleware\AbTesting:addDataAttributesToHtmlContent by adding this parameter:

data-lux-abvariant="' . strtoupper($this->abTestingPage->getCharacter()) . '"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions