Wordpress new registered user record creation

Highlighted
Occasional Contributor

Hello @Derek_Gervais 

 

How can I automatically create a new registered user contact detail in hubspot.

Actually, today, if a new user register to my blog throw the default wordpress form  https://mywebsite.com/wp-login.php?action=register, his email and and name doesn't automatically goes to the contact list in hubspot CRM.

 

I'm using Hubspot free crm + "HubSpot All-In-One..." plugin for wordpress

 

So how to make sure that if a new user register to my wordpress (to put comment for exemple), it is automatically added to my contact list in hubspot ?

 

Thank you

Reply
0 Upvotes
9 Replies 9
Highlighted
HubSpot Moderator

Hey @JulienGarrigue ,

 

Thanks for creating a new post! The Wordpress plugin should automatically grab form submissions and add them to your contact database. When this isn't working, it's usually for one of two reasons:

  1. The HubSpot tracking code isn't properly included on the page(s)
  2. An outdated version of the HubSpot Plugin / WordPress / PHP is being used

 

Can you give me the URL to your page, and the version of WordPress/PHP/HubSpot Plugin you're using?

Highlighted
Occasional Contributor

Hi @Derek_Gervais 

Indeed, the short code is not integrated on the register page but I have no clue how to integrate the short code only on this page.

I've found this for Google Analytics : "

Add Google Analytics code to WordPress login and register page"

https://www.blogsynthesis.com/track-wordpress-login-register-and-dashboard

 

it could fit for hubspot but I'm not a developper, I don't know what should be the code for hubspot and I'm looking for a solution only on the register page.

 

 

Or maybe should I just remove the plugin and install the tracking code ?

https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code

 

Thank you for your help.

Reply
0 Upvotes
Highlighted
HubSpot Moderator

Hey @JulienGarrigue ,

 

If it's important to only pull form submissions from your register page, and you don't want to sync submission from any other part of your site, the HubSpot All-In-One-Marketing plugin probably isn't the right solution for you.

 

The best solution going forward really depends on whether you need to keep your existing form & continue submitting to an external service, or if you're able to completely replace your existing form with a HubSpot form.

 

If you need to keep your existing form, I think your best bet would be to install the tracking code to your register page, and take advantage of the Non-HubSpot Forms functionality.

 

If you're able to replace the form entirely, I'd say replacing your existing form with a HubSpot embedded form is the best option. The form can be embedded with a simple copy/paste, and all submissions will create contacts directly in HubSpot.

 

Here are some resources on the suggestions above:

Non-HubSpot forms: https://knowledge.hubspot.com/forms/use-non-hubspot-forms

Embedded forms: https://knowledge.hubspot.com/forms/how-can-i-share-a-hubspot-form-if-im-using-an-external-site

Reply
0 Upvotes
Highlighted
Occasional Contributor

Hi @Derek_Gervais 

 

Thank you for your answer.

To make things clear:

- Yes, it's important to take the email adress from the Wordpress regoster page

- I need only 1 contact form on my website

 

This is what I did :

1) remove the plugin

2) Install the tracking code in the foot page so it is supposed to take emails from register page like any other pages

3) Install the contact form via the embeded code in my contact page

 

Result : the email of the contact is not taken from the form.

I notice as well that, there is not footpage on this specific page. Please have a look: https://juliengarrigue.com/wp-login.php?action=register

 

What shall I do?

 

Regards,

 

Julien

Reply
0 Upvotes
Highlighted
HubSpot Moderator

Hey @JulienGarrigue ,

 

Looking more closely at that page, I'm not seeing the HubSpot tracking code, which means that Non-HubSpot form features aren't being included. Can you follow the steps in the following Knowledge Base articles and confirm that the tracking code is being included properly?

 

https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code

 

https://knowledge.hubspot.com/forms/use-non-hubspot-forms

 

As a side note: It's generally not best practice to submit to a HubSpot form whenever a login form is submitted. Because a login isn't the same as a conversion on a "traditional" form, the logins can drown out contact's actual conversions & occasionally cause your contacts to hit form submission limits (a HubSpot contact can only have 1000 associated form submissions).

 

If you want to create contacts & track logins in HubSpot, the best practice is to use a combination of the identify & trackEvent method of the Tracking Code API.

Reply
0 Upvotes
Highlighted
Occasional Contributor

Hello @Derek_Gervais 

 

Indeed, this is what I mean, the tracking code procedure is not working on this specific wordpress registration page because, as you may notice, there is no footer on it.

So I need to know how to integrate the tracking code in the wordpress registration page. None of the available procedures in Hubspot are describing this, neither Hubspot plugin support this. Maybe it would be interesting to talk to the dev team who is in charge to develop the wordpress plugin?

Reply
0 Upvotes
Highlighted
HubSpot Moderator

Hey @JulienGarrigue ,

 

Thanks for your patience here. I took a closer look at your post here with a colleague, and realized that I was missing some key information about your goal. After digging into the specifics of the HubSpot-WordPress integration, I confirmed the following:

  1. It's expected that the registration form is excluded from tracking; the tracking code was causing other issues with the registration page, and was removed.
  2. Because neither HubSpot nor the site owner has control over the code on a WordPress registration site, pulling registrations directly into HubSpot isn't supported.

I can totally understand your use case, though, and I'm happy to share your feedback internally. I'd also strongly encourage you to jump over to the HubSpot Ideas Forum, since that's the primary place the HubSpot product team collects this sort of product feedback.

Reply
0 Upvotes
Highlighted
Occasional Contributor

Hello @Derek_Gervais 

 

Thanks to you and your colleague to take a close look to my case.

So, as for now, there is no way to take these people who are registering on my website.

 

However, wordpress has a user database. Why not synching the user database between wordpress and HubSpot ? So everytime a new user register, as it is in the database, hubspot would just need to copy the informations from wordpress users database to hubspot contact database.

 

What do you think about that ?

Apparently, there is someone else having the same idea/suggestion here: https://community.hubspot.com/t5/Marketing-Integrations/WordPress-user-database-synchronised-with-Hu...

but, it's not noobfriendly so I have no clue about what to do actually...

Your help would be very appreciated.

Thank you

Reply
0 Upvotes
Highlighted
HubSpot Moderator

Hey @JulienGarrigue ,

 

Nice find! It's entirely possible to pass data into HubSpot from an external datastore using the Contacts API, but that requires development resources and programatic access to the database. In this specific instance, you'd need to be able to write code to access your wordpress user database & pass that data along to the HubSpot API.

 

While writing/implementing the code is out of the scope of what I can provide, I'd encourage you to check out our Partner Directory; plenty of solution parters offer custom integration services!

Reply
0 Upvotes