https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
r

rapid-greece-48554

09/14/2023, 10:39 AM
Good morning, everyone, how are you? I have one more doubt. Today I will have a meeting about implementing GB in my company, and even though I read the documentation, I still don't understand how to do A/B testing with images. I would like to change a small image on our website, and analyze the number of dead clicks (whether it increases or decreases with the new design). Can anyone help me with some information?
w

white-fireman-22476

09/14/2023, 10:48 AM
This would be like any other A/B test. You can create an experiment with a feature flag split on some user-id - perhaps anonymous if it is an image logged out users see. In your code you show one image or the other based upon the value of that flag. You add an onClick event handler to send to your data warehouse the event that someone did a dead click on the image. You then add a metric in GB that looks at the number of dead clicks and have that metric as one of your goal metrics of your experiment.
💜 1
7 Views