Dec 17, 2021 5:55 PM - edited Dec 17, 2021 6:00 PM
I am trying to crack the code on offline conversion tracking. Would it be possible to bulk insert contacts from a google sheet into HubSpot as a form submission?
That way I can create a Hubspot form as the "Offline Event" and then have all the interaction fields filled in because Hubspot will register the form...
Manual imports do not allow me to associate the import with a campaign as the first interaction. These fields show up as blank values.
Can we handle this through an API? Is there a way for me to bulk insert contacts into a form?
Solved! Go to Solution.
Dec 17, 2021 11:08 PM - edited Dec 17, 2021 11:10 PM
SOLVED:
Problem:
Inserting contacts with a campaign is not possible via standard Hubspot import. Thus, first touch attribution for offline events, do not display in attribution reporting.
Goal:
We want toInsert contacts with a campaign through a form. We can insert first touch in HubSpot via forms by associating the form with a campaign
Which campaign created the most contacts?
Google Sheets Document
Step 1: Setup Hubspot form for campaign
Step 2: Create Hubspot Campaign
Step 3: Setup Track URL
Step 4: Copy Tracking URL
Step 5. Setup Columns in Google Sheet
POST https://api.hsforms.com/submissions/v3/integration/submit/:portalId/:formGuid
Portalid = 6768257
FormId = 95b648bf-a0fe-40fe-b515
{
"first_name": "Bryan",
"last_name": "Helmig",
"Email": 27
}
Step 6: Setup Zapier
Example Postman Request
https://www.getpostman.com/collections/efd70c8144ce386d6edf
POST https://api.hsforms.com/submissions/v3/integration/submit/:portalId/:formGuid
Example JSON body
{
"fields": [
{
"objectTypeId": "0-1",
"name": "email",
"value": "matthew.metros@gmail.com"
},
{
"objectTypeId": "0-1",
"name": "firstname",
"value": "Matthew"
},
{
"objectTypeId": "0-1",
"name": "lastname",
"value": "Metros"
}
],
"context": {
"pageUri": "https://engage.example.com/demo/request?utm_campaign=Chicago%20Offline%20Event%202022&utm_source=Tra...",
"pageName": "Demo page"
}
}
Step 7 ) Contact is now inserted to Hubspot with Campaign
Now when we do attribution reports on deals, we will be able to report on the attribution of the offline event.
We can now see that our fake offline campaign has attributed $25,000 in revenue.
FAQ
Dec 17, 2021 11:08 PM - edited Dec 17, 2021 11:10 PM
SOLVED:
Problem:
Inserting contacts with a campaign is not possible via standard Hubspot import. Thus, first touch attribution for offline events, do not display in attribution reporting.
Goal:
We want toInsert contacts with a campaign through a form. We can insert first touch in HubSpot via forms by associating the form with a campaign
Which campaign created the most contacts?
Google Sheets Document
Step 1: Setup Hubspot form for campaign
Step 2: Create Hubspot Campaign
Step 3: Setup Track URL
Step 4: Copy Tracking URL
Step 5. Setup Columns in Google Sheet
POST https://api.hsforms.com/submissions/v3/integration/submit/:portalId/:formGuid
Portalid = 6768257
FormId = 95b648bf-a0fe-40fe-b515
{
"first_name": "Bryan",
"last_name": "Helmig",
"Email": 27
}
Step 6: Setup Zapier
Example Postman Request
https://www.getpostman.com/collections/efd70c8144ce386d6edf
POST https://api.hsforms.com/submissions/v3/integration/submit/:portalId/:formGuid
Example JSON body
{
"fields": [
{
"objectTypeId": "0-1",
"name": "email",
"value": "matthew.metros@gmail.com"
},
{
"objectTypeId": "0-1",
"name": "firstname",
"value": "Matthew"
},
{
"objectTypeId": "0-1",
"name": "lastname",
"value": "Metros"
}
],
"context": {
"pageUri": "https://engage.example.com/demo/request?utm_campaign=Chicago%20Offline%20Event%202022&utm_source=Tra...",
"pageName": "Demo page"
}
}
Step 7 ) Contact is now inserted to Hubspot with Campaign
Now when we do attribution reports on deals, we will be able to report on the attribution of the offline event.
We can now see that our fake offline campaign has attributed $25,000 in revenue.
FAQ