Audience Parameters_Browser and/or Screen Widths not working

Description description

Environment
Adobe Target

Issue/Symptoms
A user created an experiment where they wanted to target only specific browser widths. But they didn’t see any traffic hitting the experiment.

However, when using Adobe Analytics, user saw that traffic did hit the page with this experiment that would have met the audience setting.

Resolution resolution

This is 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, such as:

window.targetPageParamsAll = function () {

  return (

     browserWidth: document.documentElement.clientWidth;

 );

}
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f