🔧 Maintenance Alert: World will be on Read-Only Mode on February 18th, 10:00 PM – 11:00 PM EST / 7:00 PM – 8:00 PM PST / 4:00 AM – 5:00 AM CET (Feb 19). Browsing available, but log-ins and submissions will be disabled.

Matt Pallatt
Jun 27, 2024
  1049
(0 votes)

Integrating HubSpot CRM without the MA Connector

Have HubSpot CRM? Want to push user data into it from Optimizely? Don’t have any personalisation requirements with that data? Don’t want to pay $800 a month for the Marketing Automation Connector? Then I have something that might interest you.

Recently we were working with a client who sat very much in the audience segment outlined above – they have HubSpot, they collect data from their website, they aren’t quite at the point where they want to start using any data from HubSpot to deliver personalisation, and they definitely didn’t have a budget for Marketing Automation Connector monthly charges.

Their requirement was for two specific forms – a contact us form, and a newsletter subscription, and we reasoned we could give them something completely rigid, with set fields that would only answer their current need – but we also knew, as I think every agency does, that what was a single requirement today could easily snowball tomorrow; so we got to looking at Optimizely Form actors and the HubSpot API.

And it turns out that half the job of what the multi-thousand-dollar-a-year Marketing Automation Connector does is relatively straight forwards to replicate using the scaffolding that Optimizely have in place around their Forms implementation and the straightforward API implementation that HubSpot has.

With very little configuration (for my money, simpler than the MA connector), we built out an extension to Optimizely Forms that on data submission, makes a request to HubSpot for a form schema, then matches field names from HubSpot to Optimizely before submitting the data to HubSpot once the comparison is completed.

It works alongside all the existing features of Optimizely Forms – so you can continue to hold data in Optimizely if you want to use Visitor Groups/Audiences on the data you’re collecting, you can use the mail functionality to let users know you have their data (assuming you’re not sending that from HubSpot), as well as thank you pages and all the standard and bespoke fields that Optimizely offers. All you have to do is make sure that your Optimizely Form name is the same as your field in HubSpot – simples.

And there’s little reason that the same thing can’t be done with Salesforce, Dynamics and other CRM platforms.

Anyway, it was so simple and easy to use I thought I’d carve it off and make it available for anyone who wanted to send their user data to HubSpot – or extend it to other CRM platforms of their need. So by all means steal, doctor and reuse the code at https://github.com/mattpallatt/MP.OptiForm2HubSpotPush.

Jun 27, 2024

Comments

Please login to comment.
Latest blogs
The missing globe can finally be installed as a nuget package!

Do you feel like you're dying a little bit every time you need to click "Options" and then "View on Website"? Do you also miss the old "Globe" in...

Tomas Hensrud Gulla | Feb 14, 2025 | Syndicated blog

Cloudflare Edge Logs

Optimizely is introducing the ability to access Cloudflare's edge logs, which gives access to some information previously unavailable except throug...

Bob Davidson | Feb 14, 2025 | Syndicated blog

Comerce Connect calatog caching settings

A critical aspect of Commerce Connect is the caching mechanism for the product catalog, which enhances performance by reducing database load and...

K Khan | Feb 14, 2025

CMP DAM asset sync to Optimizely Graph self service

The CMP DAM integration in CMS introduced support for querying Optimizly Graph (EPiServer.Cms.WelcomeIntegration.Graph 2.0.0) for metadata such as...

Robert Svallin | Feb 13, 2025