3 ms·
The big question is: what rules/logic are you using to show each version? Do you want it randomly displayed or based on some parameter?
by callmeed 16y ago
The big question is: what rules/logic are you using to show each version? Do you want it randomly displayed or based on some parameter?
- hardik988 16y agoWell, it could be as simple as modifying the theme based on the location - or even modifying functionality (say, provide extra features to people in particular regions).
- Travis 16y agoYou have access to a number of different data points -- cookies, IPs, language accept sets, etc. The difficult part is deciding what you want to pivot on. Also helps to know the limitations of each of those methods (e.g. IP addr isn't always accurate, especially not withing 15 miles or so, but it's decent at guessing countries).
- megamark16 16y agoExactly. You have access to quite a bit of information about the user when they make a request, so modifying the response based on any of that information is really very easy. IP address, cookies you set, browser type, there's lots of info stored in the request headers, you just have to decide what you want to look for and what you want to change.