prismicio-community / php-kit

Community maintained development kit for Prismic and the PHP language
https://prismic.io
Other
108 stars 82 forks source link

Experiment ref from cookie #130

Closed gsteel closed 7 years ago

gsteel commented 7 years ago

Currently, Api::ref() will return the google experiment id as the ref which results in a 404 from the Prismic API. The ref needs to be retrieved from the running experiments by finding the experiment by it's Google ID and corresponding ref.

dohzya commented 7 years ago

Thanks!