Audience Paramaters_Browser and/or Screen Widths not working


Scenario : I have created an experiment where I want to target only specific browser widths.

However, I am not seeing any traffic hitting my experiment.

I can see from using Adobe Analytics, that traffic did hit the page with this experiment that would have met the audience setting.


This is however a known functionality when using at.js 2.x as mentioned here

Workaround :
The simplest way is to leverage window.targetPageParamsAll and add a piece of JavaScript right before at.js, something like:

window.targetPageParamsAll = function() {
  return {
     browserWidth: document.documentElement.clientWidth;

On this page