Audience Targeting integrated analytics system allows to track actions that the user performs in the web. In order to track actions that are performed outside the web (e.g. open an email, follow a link in a push notification...), the analytics system has to be extended with these features:
- Given a URL, the analytics system generates a new one that registers the click event and redirects to the original URL
- Given a text, the analytics system replaced the existing links with traceable URLs
- In order to track when an email is opened, the analytics system generates the URL of a fake image that registers the event when it's requested.
This story contains only the API extensions. In order to test it, please see
WCM-477 for a full example of this API usage.