Is there a way on HubSpot to create a custom “personalization” token with a custom dynamic value.
What’s happening:
We have a request to display dynamic data coming from our internal API with little to no code for our designers. They would want to be able to call these values anywhere on any page throughout the entire website.
What we’ve done thus far:
We successfully created a serverless function that pulls in our data and posts that data in HubDB. We then created separate macros for each key/value from the HubDB row. Finally, we import those macros in the pages that they want to display the data then call the corresponding macro to get the exact datapoint they are looking for wherever they want it.
Though, we may have succeeded in getting the data onto any page they would like… they still need to call upon the macro itself to trigger it, which may result in mistakes and/or confusion:
example: {{rate.armMonth03()}}
The ask:
We noticed on RTEs, we’re able to directly reference personalization tokens. Is there a way that we can input these macros inside of a custom personalization token so they can reference the token only inside of the RTE instead of typing out the macro call?
We appreciate any assistance in the matter.