# Associate form with campaign?

**URL:** <https://community.hubspot.com/t/associate-form-with-campaign/10914>\
**Category:** Reporting & Analytics\
**Created:** [November 13, 2018, 3:27pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914 "2018-11-13T15:27:43Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![kneymeyr](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kneymeyr/32/33328_2.png) [@kneymeyr](https://community.hubspot.com/u/kneymeyr)\
**Post date:** [November 13, 2018, 3:27pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/1 "2018-11-13T15:27:43Z")

</div>

We have a form on a landing page that I’d like to associate with a campaign. Can someone instruct me how to do that?

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [November 13, 2018, 6:21pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/2 "2018-11-13T18:21:04Z")

</div>

**Update:** Forms now can be associated with campaigns, which is great news. Read more about it here: [[Now Live] Associate Forms with your Marketing Campaigns](https://community.hubspot.com/t5/Releases-and-Updates/Now-Live-Associate-Forms-with-your-Marketing-Campaigns/ba-p/625801)

Hi @kneymeyr

Forms cant actually be associated with campaigns, but the landing page can, and any contacts converting on the landing page will be associated with the campaign.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![RafiPN](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rafipn/32/13547_2.png) [@RafiPN](https://community.hubspot.com/u/RafiPN)\
**Post date:** [November 16, 2018, 6:37pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/3 "2018-11-16T18:37:01Z")

</div>

We have the same problem. We use WordPress for our landing pages so it would be wonderful to associate a HubSpot campaign just like you can for SalesForce campaigns when copying the embed code.

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [November 16, 2018, 8:13pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/4 "2018-11-16T20:13:29Z")

</div>

Hi @RafiPN

In this case I would probably recommend that you create a custom contact property and set it to a campaign as a hidden field on the relevant form.

---

<div class="post-metadata">

**Author:** ![RafiPN](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rafipn/32/13547_2.png) [@RafiPN](https://community.hubspot.com/u/RafiPN)\
**Post date:** [November 16, 2018, 8:34pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/5 "2018-11-16T20:34:32Z")

</div>

[@Phil\_Vallender](https://community.hubspot.com/t5/user/viewprofilepage/user-id/74) How would I go about that?

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [April 15, 2019, 10:50am UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/6 "2019-04-15T10:50:40Z")

</div>

Hi @RafiPN

Apologies for the slow response.

Creating custom properties is pretty straightforward, read how here: [Create custom properties](https://knowledge.hubspot.com/articles/kcs_article/contacts/how-can-i-create-a-custom-property)

Then you can add this to your form, chose a preset value and make it hidden.

This approach will not actually associate a HubSpot campaign with the form, or the contacts that submit it, but will let you log a campaign name against submissions.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Rafemago](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rafemago/32/81360_2.png) [@Rafemago](https://community.hubspot.com/u/Rafemago)\
**Post date:** [November 26, 2018, 12:35pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/7 "2018-11-26T12:35:04Z")

</div>

Hi [@Phil\_Vallender](https://community.hubspot.com/t5/user/viewprofilepage/user-id/74).

If I create a custom contact property and set it to a campaign as a hidden field on the relevant form, would that count as a new contact in my HubSpot campaign, even is the HubSpot form is embedded in a non-HubSpot landing page?

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [April 15, 2019, 10:52am UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/8 "2019-04-15T10:52:17Z")

</div>

Hi @Rafemago

This approach will not actually assoicate the form or the contacts that submit it with a HubSpot campaign - its just a way of labelling them as belonging to the campaign using custom property. This will not affect the count of contacts in the actual campaigns.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![ljgoslin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ljgoslin/32/13631_2.png) [@ljgoslin](https://community.hubspot.com/u/ljgoslin)\
**Post date:** [July 24, 2020, 1:40pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/9 "2020-07-24T13:40:28Z")

</div>

What if you wanted to track the attributed revenue for those who filled out a particular form that lives on a WP page?

---

<div class="post-metadata">

**Author:** ![ClaireHsu](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/clairehsu/32/84083_2.png) [@ClaireHsu](https://community.hubspot.com/u/ClaireHsu)\
**Post date:** [April 15, 2019, 9:06am UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/10 "2019-04-15T09:06:04Z")

</div>

I’d like to know the answer of this one too! Will adding a hidden campaign field to the form affect new contact capturing and counting?

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [April 15, 2019, 10:53am UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/11 "2019-04-15T10:53:23Z")

</div>

Hi @ClaireHsu

To confirm, this approach doesn’t actually integrate with the campaigns tool in HubSpot, its more of a workaround.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![dianna](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dianna/32/1529_2.png) [@dianna](https://community.hubspot.com/u/dianna)\
**Post date:** [April 23, 2019, 11:38pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/12 "2019-04-23T23:38:40Z")

</div>

Our landing pages are also on Wordpress. Tried hosting them on HS for a couple of years, spent lots of money on different templates, but you get so much more functionality in the design in WP. But now I am losing the capability to collect the contacts from landing pages and associate with campaigns. This is a huge loss. If you can associate CTAs, etc. that are embedded on an external website, why not forms?? I would embed the CTA, but they don’t show as nicely as WP CTA buttons. So I prefer to just link to the form.

---

<div class="post-metadata">

**Author:** ![velliott1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/velliott1/32/30597_2.png) [@velliott1](https://community.hubspot.com/u/velliott1)\
**Post date:** [July 24, 2020, 9:56pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/13 "2020-07-24T21:56:21Z")

</div>

Has anyone had any more luck with this? I see on the form that I can attribute a campaign from the dropdown, but when I select one, there is no option to save. I rebooted my machine with the same outcome. Why offer that open as a dropdown if it’s a unsaveable feature?

 ![29628i96E53D914F41E04D.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/c/3c9e0e55578141bb5ba37818ddd24be9bcde583a.png)

---

<div class="post-metadata">

**Author:** ![Lucinda](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lucinda/32/6051_2.png) [@Lucinda](https://community.hubspot.com/u/Lucinda)\
**Post date:** [September 25, 2020, 12:43pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/14 "2020-09-25T12:43:11Z")

</div>

I don’t see why this feed has been marked as solution found. There really should be an option to associate form submissions with a campaign.

---

<div class="post-metadata">

**Author:** ![PamCotton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pamcotton/32/47916_2.png) [@PamCotton](https://community.hubspot.com/u/PamCotton)\
**Post date:** [September 25, 2020, 5:46pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/15 "2020-09-25T17:46:21Z")

</div>

Hello @Lucinda

I was able to find [this post in the HubSpot Community Ideas forum](https://community.hubspot.com/t5/HubSpot-Ideas/Allow-forms-to-be-associated-with-a-Campaign/idi-p/11476). Upvoting here will alert our Product Team to the popularity of this request. Doing so will also auto-notify you if/when this functionality becomes available within HubSpot. You may [read more about how that review process works here](https://community.hubspot.com/t5/Guidelines-Announcements/The-Ideas-Forum-Users-Guide/m-p/319112).

The idea is currently being reviewed.

I hope this information helps.

Pam

---

<div class="post-metadata">

**Author:** ![Babis\_Mate](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/babis_mate/32/39641_2.png) [@Babis\_Mate](https://community.hubspot.com/u/Babis_Mate)\
**Post date:** [February 3, 2021, 3:38pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/16 "2021-02-03T15:38:10Z")

</div>

I found a solution/workaround for this. I was able to associate a campaign with a form, via the workflows. You have to create a workflow and add it as an asset to the campaign.

---

<div class="post-metadata">

**Author:** ![jharbaugh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jharbaugh/32/63860_2.png) [@jharbaugh](https://community.hubspot.com/u/jharbaugh)\
**Post date:** [February 23, 2021, 6:07pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/17 "2021-02-23T18:07:19Z")

</div>

Hi Babis - Can you provide more detail on how you did this and the structure of your workflow? Thanks

---

<div class="post-metadata">

**Author:** ![Babis\_Mate](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/babis_mate/32/39641_2.png) [@Babis\_Mate](https://community.hubspot.com/u/Babis_Mate)\
**Post date:** [February 23, 2022, 8:28am UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/18 "2022-02-23T08:28:25Z")

</div>

Hello,

Here is what I do:  
1. Create the workflow  
2. Set the form submission as a trigger  
3. Add one step (we always add the users to a list so we have a more clear view of the number and user info)  
4. Select Settings from above and assign the Campaign  
5. Turn workflow on  
Voila 🙂

---

<div class="post-metadata">

**Author:** ![JaneMoore](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/janemoore/32/221000_2.png) [@JaneMoore](https://community.hubspot.com/u/JaneMoore)\
**Post date:** [July 12, 2022, 2:17pm UTC](https://community.hubspot.com/t/associate-form-with-campaign/10914/19 "2022-07-12T14:17:09Z")

</div>

The forms have been updated to add to a campaign but not the pop-up forms. (??) Please look into the pop-up forms HubSpot
