Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] A/B tracking in frontend #55

Open
martinpribylhd opened this issue Sep 10, 2024 · 0 comments
Open

[Feature] A/B tracking in frontend #55

martinpribylhd opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@martinpribylhd
Copy link

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()) . '"

@einpraegsam einpraegsam added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants