Dynamically Inserting External Links on Contact Page | Community
Skip to main content
Answered

Dynamically Inserting External Links on Contact Page

  • May 29, 2024
  • 1 reply
  • 129 views

 

How can I dynamically insert an external link in the user ID field on the contact page, so that clicking on it directs to another website?

Best answer by bernice

Hi @vyen 👋 As the User Id attribute is a string, there is no way to dynamically insert a link in it. A possible workaround here would be to create a custom data attribute and save your external link here.

You'll find more on custom data attributes in this article from our Help Center ⬇️

Create and track custom data attributes (CDAs)

1 reply

bernice
Expert User ✨
Forum|alt.badge.img+2
  • Expert User ✨
  • Answer
  • June 5, 2024

Hi @vyen 👋 As the User Id attribute is a string, there is no way to dynamically insert a link in it. A possible workaround here would be to create a custom data attribute and save your external link here.

You'll find more on custom data attributes in this article from our Help Center ⬇️

Create and track custom data attributes (CDAs)