supporting my hypothesis
I suspect Being Used Right Now works only for URL based features.
- I mapped a UI element feature for the step directly before when I want the poll to show automatically.
- I set the audience logic for an automatic engagement to equal {feature from step 1} is being used right now
When I tested in the Preview mode, clicking on the feature does not trigger the automatic guide.
Edit:
comment lower in the thread indicates Preview can be unreliable for this type of audience logic. My hypothesis was wrong.
Right Now will work for click events mapped with UI element rules as well. After each click event, PX will send a request to the SDK to reevaluate the user for active engagements. So when the user clicks, the click request gets sent to PX, and the inapp request evaluates the audience logic.
One caveat I’ve seen is when the PX tag is deployed via Segment.io, sometimes there is a delay/lag between the events themselves, and when the events arrive in PX. That lag makes real time qualification impractical or at least unpredictable.
Are you seeing adoption data for the feature in question?
Sorry, we were posting simultaneously. Since you’re seeing adoption data for the feature in question, I’d recommend not relying on Preview mode. Real time evaluation is best tested in a live engagement. Just limit the audience to your user id.
Thanks, @rschlette! This is overall good news.
I’ll test in a live env and report back. I’ve confirmed the feature usage data is coming through.
That did the trick. Thanks again, @rschlette!
Awesome! As far as I’ve ever seen, Preview mode will not evaluate audience logic or triggers (aside from showing the badge if applicable). I’m glad that worked!
Thanks for helping @rschlette and for posting @DannyPancratz!
Engagement “preview” mode does not use any Audience Logic at all, it just renders the Engagement on the URL you specify through the “preview” option (Dialog, Survey, Slider) or you are on with the Edit in-app Guide feature when you select the “preview” option there.
My go to option is…
- Add my email/ID into the existing Engagement Audience Logic, select “once per visit” in the Engagement Qualification Scope, and then launch it.
- Login to the PX tracked application as my test user, which creates a new session/visit, and match the Engagement Audience Logic. That should trigger the Engagement to play.
- To repeat the testing process, you can simply delete the apt.sid cookie in your browser that is associated to your application’s domain (this tracks the PX session) and then refresh the page and match the Engagement Audience Logic again. This should trigger the Engagement to play again.
Here are some additional resources for testing in-app Engagements…
https://support.gainsight.com/PX/Engagements/Tutorials/How_to_Test_In-app_Engagements_in_Gainsight_PX
https://support.gainsight.com/PX/Engagements/Engagement_Best_Practices/07_Test_and_Deploy_Engagements
Happy PX-ing!!