Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Using a third party plugin/library for A/B testing in AEM Sites

Avatar

Level 1

Hi! 

I want to implement A/B testing in AEM sites, but without using Adobe Target. Has anyone tried using any open source A/B testing tools/libraries in AEM sites? 

 

Some example libraries are: 

https://github.com/tesfy/tesfy

https://github.com/Alephbet/alephbet

 

Thanks in advance. 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Level 9

Hi @Sri_25 ,

Yes, it is possible to use third-party A/B testing libraries in AEM Sites. However, it is important to note that integrating a third-party library with AEM Sites may require custom development work and may not be as straightforward as using Adobe Target.

Here are the general steps to integrate a third-party A/B testing library with AEM Sites:

1. Choose a third-party A/B testing library: There are many open-source A/B testing libraries available, such as Tesfy and Alephbet. Choose a library that meets your requirements and has good documentation and community support.

2. Integrate the library with AEM Sites: Depending on the library you choose, you may need to write custom code to integrate it with AEM Sites. This may involve creating custom components or modifying existing components to include the A/B testing code.

3. Set up experiments: Once the library is integrated with AEM Sites, you can set up experiments to test different variations of your content. This may involve creating different versions of your content and using the A/B testing library to randomly serve different versions to your visitors.

4. Analyze the results: After running your experiments, you can use the A/B testing library to analyze the results and determine which version of your content performed better.

It is important to note that integrating a third-party A/B testing library with AEM Sites may require custom development work and may not be as straightforward as using Adobe Target. Additionally, using a third-party library may not provide the same level of integration and support as Adobe Target.

Avatar

Administrator

@Sri_25 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni