If I want to add dynamic links in an email template, I tried to do adding a button to click to product with the URL to open the Web page get from a macro (URL is on a field on contact table), didn’t work, didn't add the tracking tokens, for example:
It appears when Creatio “see“ where must be a URL, a non-URL string, as is the case of a macro, it “think” there aren't any URL to track, and didn’t add the tokens, to complement Dan comment, what I did to solve the problem:
* In images I introduce, on the image address, the first part of the image URL “https://images.ClientWebStore.com/” and add the field using macro to complete the URL with the specific image address, getting something like this in the Image URL: https://images.ClientWebStore.com/[#Contact.UsrImgProdID2#], in the UsrImgProdID2 field I have the rest of the URL, like this "img/1000/HERCAR0005-1.jpg"* For the Product, in Link to Open add “https://www.ClientWebStore.com/” and later the rest of the product URL from the macro, resulting value getting something like this https://www.ClientWebStore.com/[#Contact.UsrButtonProdID2#] and works as is expected, Creatio add all the expected tokens. In the UsrButtonProdID2 field I have the rest of the URL to open the product page in the store, like "inicio/productos/ficha/gata-hidraulica-32-toneladas-HERCAR0005"