what is adhocenable in <a> tag? | Community
Skip to main content
Level 4
March 15, 2016
Solved

what is adhocenable in <a> tag?

  • March 15, 2016
  • 1 reply
  • 3485 views

We've used RTE and it's inserting adhocenable in the generated output. In the logs, we get AntiSamy Warning: "The a tag contained an attribute that we could not process. The adhocenable attribute has been filtered out".

I could configure Anti-Samy to allow it, but need to understand how this attribute gets inserted and is it related to analytics somehow?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunal_Gaba_

This attribute is added on the anchor tags by the RTE for ad-hoc link tracking in the site catalyst. https://docs.adobe.com/docs/en/aem/6-1/administer/integration/marketing-cloud/sitecatalyst/sc-link.html#Ad-Hoc Link Tracking. You can search for the attribute in the code here - /libs/cq/ui/widgets/source/widgets/form/rte/plugins/LinkDialog.js 

1 reply

Kunal_Gaba_
Kunal_Gaba_Accepted solution
March 15, 2016

This attribute is added on the anchor tags by the RTE for ad-hoc link tracking in the site catalyst. https://docs.adobe.com/docs/en/aem/6-1/administer/integration/marketing-cloud/sitecatalyst/sc-link.html#Ad-Hoc Link Tracking. You can search for the attribute in the code here - /libs/cq/ui/widgets/source/widgets/form/rte/plugins/LinkDialog.js