Link transformer config for Adobe campaign newsletter issue

41 views
Skip to first unread message

Saanvi S

unread,
Nov 1, 2017, 5:12:56 AM11/1/17
to GA Tracking For Adobe Flash

The href <a href="tel:1800813327" target="_blank"> is rewritten

 

to 

 

<a href=\"https://www.mysite.comnull\" target=\"_blank\">

 

Adobe Campaign makes the following call to AEM to fetch content -

 

https://authordomain/content/campaigns/edm.campaign.content.json

 

The '.campaign.content.json ' selector servlet forms the html content from com.adobe.cq.mcm.campaign.impl.ContentgeneratorImpl class which uses link transformer config at /libs/mcm/config/rewriter/campaign-link-rewrite to rewrite links( surprisingly, it uses domain name in the exernalizer configuration; and not from sling mapping; should it not be using domain name from sling mappings?) and appends domain name in front of the link

 

Hence, the href 'tel' is not working ; similarly; mailto will also not work

 

We have removed 'A' from includeTags in the rewrite config as a quick fix; but it excludes all anchor tag from the config. What is the appropriate method of making the tel attribute work? Can certain attributes excluded from the rewriter config ? Or can the rewriter transformer config be overridden ?

 

Can someone please help on this?


Thank you

Saanvi S

Reply all
Reply to author
Forward
0 new messages