Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Capturing clicks on the click-through URL

Updated on September 15, 2022

The CaptureClickThrough API is part of the Container REST services. The API provides the ability to easily capture a Clicked outcome for an action returned by the Container service, and redirect the customer to the web page as defined on the action ruleform.

Pega Customer Decision Hub

The ClickThroughURL is part of the response payload for the Container API and can be set on the event listener for the next-best-action as displayed on the web page. The ClickThroughURL property contains the URL with encoded properties such as issue, group, name, direction and channel, for example:

http://<host>:<port>/PRRestService/PegaMKTContainer/Services/CaptureClickThrough?
        Px=%7Bpr%7DFHSNTMUyyf5ILyZaDwnWva4WmiW4pAqwVB%2FkqLmImQ0vlhvUeTWHx5nbp%2BxtHOnDgRzb08HrNW6O%0Ac5U%2BEEv%
        2BRKQFwhEnjeJQIvHod7XyvOLhPW4X%2Bzbx0SXOesvO143Lb4RZ0EGO5q8MF9wg%2Btaqzawb%0AJgcQLRikhOs7HFOAPip9de7O3sjjnd%
        2FwZxBrHIRCJottgxKsgp5fZl%2FyZGSRvmJsIqALhdjnEDsw%0AvhtdoPpZ15nKOcpB8%2FKb7xCymagFDbhgInNUzcANJT6SeAiHEvIQ%
        2Bq66j4rcP%2B%2BDyMKnvMFnFg%2FC%0AjVtTUzF%2BgkPuumBrdgSJDG%2BjgoJ3GTiUsrPuYQ5BUp4cMEsmXpHkBS4jIZAwG2p3PNzO2eiyFzo2%
        0AoKtxN%2FBlKlrBSlRFjlIK9N6s85ZiURqgwRPoZnaZGN1LfvCPkn8AQXMSjnUL9th9HX2yNj6Sf17f%0A5dP1levuJ1nbIbNKCXMwWsZD4U4cMBIzHpU%3D
.

The invocation URL for this service resembles the following:

http://<host>:<port>/prweb/PRRestService/PegaMKTContainer/Services/CaptureClickThrough?
  • Previous topic Accessing a customer's interaction history with the CustomerOfferHistory REST service
  • Next topic Configuring a container invocation script

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us