Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

Matt Pallatt
Jun 27, 2024
  974
(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
Image Analyzer with AI Assistant for Optimizely

The Smart Image Analyzer is a new feature in the Epicweb AI Assistant for Optimizely CMS that automates the management of image metadata, such as...

Luc Gosso (MVP) | Jan 16, 2025 | Syndicated blog

How to: create Decimal metafield with custom precision

If you are using catalog system, the way of creating metafields are easy – in fact, you can forget about “metafields”, all you should be using is t...

Quan Mai | Jan 16, 2025 | Syndicated blog

Level Up with Optimizely's Newly Relaunched Certifications!

We're thrilled to announce the relaunch of our Optimizely Certifications—designed to help partners, customers, and developers redefine what it mean...

Satata Satez | Jan 14, 2025

Introducing AI Assistance for DBLocalizationProvider

The LocalizationProvider for Optimizely has long been a powerful tool for enhancing the localization capabilities of Optimizely CMS. Designed to ma...

Luc Gosso (MVP) | Jan 14, 2025 | Syndicated blog