How to add dynamic info to a button link?

Hi,

I’m trying to send an email to 100 contacts. In this email, there’s a button for them to click that will direct each of them to a unique store. For example:

www.website.com/?store=

[dynamic info]

In this “dynamic info” is going to be a different store name for each contact, a store name i uploaded as a custom token under “Store name”. For example if i sent it to myself with store name as “dannystore”, it should see = www.website.com/?store=dannystore

So i created a button with the following url:

www.website.com/?store={{contact.store.name}}

And when i send the email it doesn’t work - they dont get redirected to this and instead the link adds me: “?store=&utm_medium=email&_hsmi=120892100…” with a long line of code.

Can anyone help me with fixing this? I tried with an image and it did the same. I tried with just {{store.name}} and it did the same.

Hello @DPorter, thank you for the information, I will be adding some top experts to share their thoughts, @Josh, @AdamLPW @tjoyce what would you recommend to @DPorter matter?

Thank you,

Pam

Hi @DPorter , can you please share the screenshot of the token you have used in the button?
Best,
webdew.

Hey Webdew,

Do you mean this?

You’ll have to excuse me if I’m wrong, i’m still getting to grips with Hubspot.

Hi @DPorter , kindly refer this < https://www.website.com/?store={{contact.store\_name}} >.

Hope this helps!

Hey,

I think this works perfectly. Thank you so much Webdew!

I want to do something similar…

I want to have a dynamic recipient’s email address inside a button’s URL, for example: https://domain.com?email=\

I tried using {{contact.email}} instead of <user email> but it didn’t work. What is the correct way to do this?