# Dynamic CTA

**URL:** <https://community.hubspot.com/t/dynamic-cta/9329>\
**Category:** Reporting & Analytics\
**Created:** [July 3, 2018, 10:37am UTC](https://community.hubspot.com/t/dynamic-cta/9329 "2018-07-03T10:37:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Medacad](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/medacad/32/102945_2.png) [@Medacad](https://community.hubspot.com/u/Medacad)\
**Post date:** [July 3, 2018, 10:37am UTC](https://community.hubspot.com/t/dynamic-cta/9329/1 "2018-07-03T10:37:32Z")

</div>

Thought I’d pop this query to the community with no response yet from support, hopefully someone out there will be able to point me in the right direction.

We have a list of contacts in Hubspot. They have a custom parameter called “campaign\_source” which gets passed to Hubspot with the opt-in form.

We need to send emails, with a custom parameter in the call to action URL, to all contacts in that list.

For example:

[Mywebsite.com](http://mywebsite.com/)?source=campaign\_source

How can we create a call to action with this custom parameter?

Is it possible? Do we need to create a different email sequence based on the value of the contact “campaign\_source” parameter?

Or can we dynamically insert a different URL / CTA in the emails?

Thanks

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [July 3, 2018, 3:03pm UTC](https://community.hubspot.com/t/dynamic-cta/9329/2 "2018-07-03T15:03:50Z")

</div>

\*\*  
 ![_hubspot-button-accept-as-solution-gif-v00.gif](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/8/280f73986e0517a27aa4068d06718dbcda1a42a2.gif)  
\*\*

**Q** : Can we dynamically insert a different URL / CTA in the emails?

**Short A** : Yes, if you’re using HubSpot Marketing.

**Longer A** :

Here’s a solution we published a few weeks ago that describes the use of dynamic links in HubSpot emails. Applying URL parameters to CTAs isn’t available.

- see **[Use personalization tokens in URL parameters.](https://community.hubspot.com/t5/Email-Marketing/How-to-distribute-multiple-unique-links-with-one-enail/m-p/191639/highlight/true#M1392)**

Does that help answer your question? If so, remember to accept this ‘solution’.

Best,  
Frank

* * *

_ **Please add @MFrankJohnson to your message if you’d like me to reply.** _

* * *

 ![hubspot-solutions-signature-mfrankjohnson-v03.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/2/72932fb841989f2b32ea0f23364863c18e73a7ee.png)

* * *

[www.MFrankJohnson.com](https://www.mfrankjohnson.com/?utm_source=hs-forum)
