We have some dynamic URL's that are present in Email Content. They are not getting tracked initially, later with the inputs from some of our forums members , i changed the URL to make it tracked.
Initial URL configured was <a href="<%= targetData.myUrl %>h8h8h7h6-3jhk-23rt-987d-2jk4l5m678bv">. Here entire Protocol and Domain Name are personalized and coming from the transition data.
I followed 2 approaches:
1. Changed the URL as <a href="https://<%= targetData.myUrl %>h8h8h7h6-3jhk-23rt-987d-2jk4l5m678bv"> kept protocol outside and able to track now. (This is not recommended approach)
2. Use of <%@ instructions <a href="<%@ include view='myUrl' %>h8h8h7h6-3jhk-23rt-987d-2jk4l5m678bv" _label="My URL">Click here</a> where i created a personalized block and configured the scriptlet there. It is getting tracked and working fine.