CMS Development

dennisedson
HubSpot Product Team
HubSpot Product Team

Adding salesforce campaign to a form

SOLVE

Heyo friends!

It looks like we have a new forms editor in the content editor and it looks pretty spiffy.  BUT, looks like I cannot add a salesforce campaign to it 😞

With the old version, I would add

sfdc_campaign="{{ module.salesforcecampaign }}"

to the form code.  I did this, but no dice.  Am I missing something or is this a bug?

 

Thanks!

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Adding salesforce campaign to a form

SOLVE

i forgot to add the saleforce field (which is a thing!)

{
    "id": "salesforce.campain",
    "name": "salesforcecampaign",
    "label": "Salesforce campaign",
    "required": false,
    "locked": false,
    "type": "salesforcecampaign",
    "default": null
  }  

View solution in original post

3 Replies 3
aschurr
Member

Adding salesforce campaign to a form

SOLVE

Hi Dennis, 

I think this is what I am hoping to do - but I'm unsure of where you put this code. Can you tell me a little bit more about how you did this, please? I'm looking to essentially assign a Salesforce campaign based on whatever the UTM campaign parameter is in the tracked link someone completes a form with. Do you know if this is doable?

 

I'm a demand gen marketer at heart but trying to bridge a marketing ops gap. Any advice is appreciated. thanks!

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Adding salesforce campaign to a form

SOLVE

Hey @aschurr !

The solution for what i was working with above involved building a custom module that included a form.  I am not sure if that is the information  you need.

I would recommend asking that question in this community board!  There are some smart cookies over there.

As for dilemna for being the person who seems to be always filling the gaps.  I hear you!  We also have an ops board you may be interested in?

I think this gif sums it up trying to plug all the holes 🙂

plugging.gif

0 Upvotes
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Adding salesforce campaign to a form

SOLVE

i forgot to add the saleforce field (which is a thing!)

{
    "id": "salesforce.campain",
    "name": "salesforcecampaign",
    "label": "Salesforce campaign",
    "required": false,
    "locked": false,
    "type": "salesforcecampaign",
    "default": null
  }