We are integrating AEM with Adobe Campaign Standard and would like to create unsubscription URL pointing to an unsubscription landing page. Found out from ACS that the url should be like this: <hostname>/lp/unsub?pkey=<pkey>&service=<service_id>
How can I get this id on AEM side?
There is no built-in component to add such links from AEM. I'm not sure this will work but can you try entering the same syntax as it would appear in ACS, in a text&personalization component in AEM.
<a href="#" id="a15083278366695" data-nl-type="unsubscription" data-nl-service="SVC1" data-nl-servicelabel="Sport Newsletter">click here</a>
I don't have a way to test it right now though.
Hope this helps,
Were you able to try this?
Let me know,
You can create a content block on the ACS side and then in AEM while preparing the delivery, select a text block, open the Campaign menu from toolbar to fetch all available personalization blocks.
Hope this helps.