Expand my Community achievements bar.

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

Avatar

Level 3

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?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Employee Advisor

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.

Avatar

Level 3

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?

Avatar

Community Advisor

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

 

Regards

Rajneesh

Avatar

Level 3

This page, along with all other pages, is tagged with Adobe Target.