In our project, we have a requirement to audit the link clicks from Appian Page.
We would like to store the user, datatime, link Clicked etc. information in a database table and also same time open the URL.
ORIf Google Analytics link tracking can be used here? If anyone used it?support.google.com/.../1136920
=a!linkField( label: "Links", links: a!safeLink( label: "Company web site", uri: "http://www.appian.com" ) )I do not see any option to make DB call to save to database?
=a!linkField( label: "Links", links: a!safeLink( label: "Company web site", uri: "http://www.appian.com" ) )
Discussion posts and replies are publicly visible
Unfortunately, there isn’t a straightforward way to achieve this directly in Appian, so I used a combination of Web APIs, Integrations, and JavaScript to make it work.
Use a Web API in your save link and pass the necessary link information as a parameter.
Within the Web API:
Below is a sample outline of the logic used.
"<html> <script> window.open('" & www.google.com & "', '_self') </script> <body> 'Redirecting to target system' </body> </html>"