Rich-text Reply

Search through a Upload List

RyanC 01-18-17

Search through a Upload List

Is there a way I can access the Upload List from the custom code in Optimizely edit code editor?

 

This is because I would like to show the same banner but maybe different offer on screen depending which list the current user falls under.

Ryan
------------------------------------------------
The best solution is the simplest.

https://www.linkedin.com/in/ryan-camilleri
http://midnightknights.com
Experimentation Hero

Re: Search through a Upload List

Maybe you should add this to the "product Ideas"
SEO and CRO Specialist
Jason-GSell 01-18-17
 

Re: Search through a Upload List

Hi ryn004, check out the optimizely.get('visitor') API, which is available from variation code:
https://developers.optimizely.com/classic/javascript/reference/index.html#visitor
If this solved your question, please accept it as a solution!
Optimizely
Jason-GSell 01-18-17
 

Re: Search through a Upload List

See here if you're using Optimizely X - https://developers.optimizely.com/x/solutions/javascript/reference/index.html#function_getvisitor
If this solved your question, please accept it as a solution!
Optimizely
RyanC 01-19-17
 

Re: Search through a Upload List

Thanks Jason for your reply, but this only gives me information about the current visitor. I need a way to access the lists I have uploaded in my project on Optimizely (if possible).

Ryan
------------------------------------------------
The best solution is the simplest.

https://www.linkedin.com/in/ryan-camilleri
http://midnightknights.com
Experimentation Hero
RyanC 01-19-17
 

Re: Search through a Upload List

I think I should as it doesn't seem to be a way to access it, will wait for a few more replies.

Ryan
------------------------------------------------
The best solution is the simplest.

https://www.linkedin.com/in/ryan-camilleri
http://midnightknights.com
Experimentation Hero
Jason-GSell 01-19-17
 

Re: Search through a Upload List

Hey Ryan,

 

You can access audience information through the REST API, however I don't believe it's accessible through the experiment code editor. I'd be happy to pass this along to our product team, though, as a product request.

 

Cheers,

Jason

If this solved your question, please accept it as a solution!
Optimizely