We are using content api to retrieve content for email using a basic html template in AEM thru XF. The issue we are facing is now that we are moving our content from an email engine (Adobe campaign classic). How do we add the out of the box functionality that wraps all our links/images urls with open/click tracking. Any thoughts?
Solved! Go to Solution.
Views
Replies
Total Likes
Tracking email clicks or opens from a custom SpringBoot app or from the AEM cqMailServer is quite non-trivial, and requires custom code.
For each email you send out, you can generate a unique image URL (one per recipient) and store it in a database. Additionally, you will need to set up a basic server to handle requests to these image URLs. When a recipient opens the email, their email client will attempt to load the image, which will trigger a request to your server. By tracking the unique URL that was called, you can determine which recipient opened the email and when.
To track email clicks from a custom Java app, you can follow these general steps:
Create a unique tracking link for each email you send out. This can be achieved by adding unique parameters to the link that correspond to the recipient's information or a unique ID.
Include the tracking link in your email content, such as a hyperlink attached to a button or image.
When a recipient clicks the tracking link, it will trigger a request to your server. You can set up a basic server that will handle these requests and store information about each click in a database.
You can then use this information to analyze the effectiveness of your email campaigns, such as the number of clicks, which links are most popular, and which recipients are most engaged.
I am not aware of any out of the box aem implementations.
Hi @Nadia_Mac ,
Please check if this helps - https://experienceleague.adobe.com/docs/experience-manager-learn/sites/integrations/analytics/track-...
Thanks,
Chitra
Tracking email clicks or opens from a custom SpringBoot app or from the AEM cqMailServer is quite non-trivial, and requires custom code.
For each email you send out, you can generate a unique image URL (one per recipient) and store it in a database. Additionally, you will need to set up a basic server to handle requests to these image URLs. When a recipient opens the email, their email client will attempt to load the image, which will trigger a request to your server. By tracking the unique URL that was called, you can determine which recipient opened the email and when.
To track email clicks from a custom Java app, you can follow these general steps:
Create a unique tracking link for each email you send out. This can be achieved by adding unique parameters to the link that correspond to the recipient's information or a unique ID.
Include the tracking link in your email content, such as a hyperlink attached to a button or image.
When a recipient clicks the tracking link, it will trigger a request to your server. You can set up a basic server that will handle these requests and store information about each click in a database.
You can then use this information to analyze the effectiveness of your email campaigns, such as the number of clicks, which links are most popular, and which recipients are most engaged.
I am not aware of any out of the box aem implementations.
Create Images folder in assets folder and with photo Shop edit and share or upload