Is it possible to access a window object or a cookie to define a Goal Metric in Adobe Target test? | Community
Skip to main content
New Participant
September 6, 2023
Question

Is it possible to access a window object or a cookie to define a Goal Metric in Adobe Target test?

  • September 6, 2023
  • 1 reply
  • 1580 views

We are trying to measure the success of our test based on logged in counts. Since we are running into issues for measuring this count through Adobe Analytics success event because a user can navigate from one report suite to other (depending on inter-domain navigation). We wanted to understand if we can use an element that is common across domain. We do have a window object that gets set based on the user authentication status, so, we were wondering if there's a way to use this object to define goal metric in Adobe Target test?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Gaureshk_Kodag
Employee
September 11, 2023

Hi @emmak109 

Instead of using cookies or window objects, you can trigger trackevent with a custom mbox name, for example - loggedIn success, whenever the user logs in. Then in goals and metrics use conversion, viewed a mbox loggedIn success.

emmak109Author
New Participant
September 14, 2023

Thank you for your insights. Going with mbox would require us to make the code change in the backend since we currently do not have one. Is it possible to directly access this cookie or js object since these are the only two things that are available firsthand to us?

Rajneesh_Gautam_
New Participant
September 14, 2023

hi @emmak109  - to understand the challenge better, is there no Adobe Target tag on pages where this window object is available?

 

Regards

Rajneesh