To make Piano Composer's IP address segmentation work with EZProxy, do the following:
EZProxy stanza changes
Request EZProxy to add the following to your stanza: Option NoX-Forwarded-For. This option restores EZProxy’s default behavior of hiding the remote user's address.
If your application is on the Production US dashboard, use:
c2.piano.io
https://c2.piano.io
experience.tinypass.com
https://experience.tinypass.com
If your application is on the Production EU dashboard, use:
c2-eu.piano.io
https://c2-eu.piano.io
experience-eu.tinypass.com
https://experience-eu.tinypass.com
If your application is on the Production AP dashboard, use:
c2-ap.piano.io
https://c2-ap.piano.io
experience-ap.tinypass.com
https://experience-ap.tinypass.com
If your application is on the Production AU dashboard, use:
code c2-au.piano.io
https://c2-au.piano.io
experience-au.tinypass.com
https://experience-au.tinypass.com
Example stanza for a US dashboard application
HJ c2.piano.io\
HJ https://c2.piano.io\
HJ experience.tinypass.com\
HJ https://experience.tinypass.com\
DJ c2.piano.io\
DJ https://c2.piano.io\
DJ experience.tinypass.com\
DJ https://experience.tinypass.com\
Composer integration script changes
After Step 1, add the following to your Composer integration script.
If the user accesses www-yourwebsitename-com.cptest.idm.oclc.org:
if (document.location.hostname == "www-yourwebsitename-com.cptest.idm.oclc.org") {
tp.push(["setComposerHost", "https://c2-piano-io.cptest.idm.oclc.org" ]);
}
If the user accesses www-yourwebsitename-com.idm.oclc.org:
if (document.location.hostname == 'www-yourwebsitename-com.idm.oclc.org') {
tp.push(['setComposerHost', 'https://c2-piano-io.idm.oclc.org']);
}
If the user accesses www-yourwebsitename-com.oclc.org:
if (document.location.hostname == 'www-yourwebsitename-com.oclc.org') {
tp.push(['setComposerHost', 'https://c2-piano-io.oclc.org']);
}
Replace www-yourwebsitename-com with your domain and use the Composer host base URL matching your dashboard environment from Step 1. For the EU dashboard, the Composer host URL starts https://c2-eu-piano-io.*.
After these changes, Composer should receive the correct IP address from EZProxy for Experience targeting.