Tracking clicks on the web app (v8)
Hi,
I need to set up the landing page that will contain a short text and the button. If an user clicks on the button, I need to register that fact along with his/her id. The link to this web app will be sent only for recipients from the database, adding encrypted recipient id (domain.adobe-campaign.com/webApp/name?id=encryptedString123). It sounds fairly simply but after several attempts I cannot make it running. What I have tried so far?
1. Logging responses for web app: In the web app properties > General tab > Advanced parameters... > I checked the option "Log responses", but the Responses tab is missing any input form:

2. Web tracking tags (Resources > Online > Web trackings tags😞 It is not possible, because I'm getting notification that: "Web tracking is not supported with Full FDA".
3. Collecting responses in a custom schema: I have set up the web app with the following activities:
- Preloading:
Auto-load data referenced in the form checked,
Load additional data checked,
Identification: Adobe Campaign encryption
- Page: with the content of landing page in html
- Script: with the following code
var activityLog = <activityLog _operation="insert" _key="@recipientId" xtkschema="np:activityLog"></activityLog>;
activityLog.@recipientId = ctx.recipient.@id;
activityLog.@value = "Click registered";
xtk.session.Write(activityLog);None of the those attempts were successful.
To summarize, I want to learn two things:
1. How make the whole web app running? It's worth to mention that the instance is running on version 8.
2. What is the best way to troubleshoot web apps? I am aware of debug mode in the Preview, however I don't find it useful. How can I log variables to some kind of equivalent of audit from the workflow?
Thanks,
Dominik