Skip to main content
Answered

How can I use company ID as a variable in a URL in an email?

  • March 30, 2021
  • 1 reply
  • 138 views

For example, I want to have the URL https://onemetric.io/{{ value of company _id }}/billing/whatever, where company_id unfolds into the UUID.

Thanks

Best answer by Eric Fitz

Hey @samori​, when you're composing your email, you can choose our variable selector when adding a hyperlink. This will allow you to insert a dynamic value for a company attribute.Screen Shot 2021-04-01 at 10.22.43One note of caution - if you are inserting this in an email that is not included within a Series, and it is sent to a user who is part of multiple companies, they will receive one copy of the email for every company of which they are part.

 

To avoid this, I would recommend creating a Series for this message and using the company prioritisation feature of Series.

 

Let me know if you have any follow-up questions!

View original
Did this topic help you find an answer to your question?

Eric Fitz
Employee
Forum|alt.badge.img+5

Hey @samori​, when you're composing your email, you can choose our variable selector when adding a hyperlink. This will allow you to insert a dynamic value for a company attribute.Screen Shot 2021-04-01 at 10.22.43One note of caution - if you are inserting this in an email that is not included within a Series, and it is sent to a user who is part of multiple companies, they will receive one copy of the email for every company of which they are part.

 

To avoid this, I would recommend creating a Series for this message and using the company prioritisation feature of Series.

 

Let me know if you have any follow-up questions!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings