# Personalization Tokens in Custom Code Templates

**URL:** <https://community.hubspot.com/t/personalization-tokens-in-custom-code-templates/50355>\
**Category:** Email Marketing Tool\
**Tags:** templates\
**Created:** [January 25, 2022, 8:29pm UTC](https://community.hubspot.com/t/personalization-tokens-in-custom-code-templates/50355 "2022-01-25T20:29:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimothySands](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/timothysands/32/33565_2.png) [@TimothySands](https://community.hubspot.com/u/TimothySands)\
**Post date:** [January 25, 2022, 8:29pm UTC](https://community.hubspot.com/t/personalization-tokens-in-custom-code-templates/50355/1 "2022-01-25T20:29:38Z")

</div>

I want to create a custom code template for emails that look like they are just being sent from someone’s inbox, but I want to still be able to insert personalization tokens into them.

Is that possible?

I can’t see a way of hard coding them into the template or using a module that can be edited when an email campaign is created using the template, and inserting it that way.

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [January 27, 2022, 6:13pm UTC](https://community.hubspot.com/t/personalization-tokens-in-custom-code-templates/50355/2 "2022-01-27T18:13:40Z")

</div>

Hi @TimothySands,

Thank you for reaching out to the Community!

You should be able to add personalization tokens to the template manually, [as described here.](https://knowledge.hubspot.com/website-pages/personalize-your-content#add-personalization-to-a-coded-template)

I hope this helps!

Cheers  
Mia, Community Team
