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
6 Replies 6
Community Manager

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?

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
Community Manager

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
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
Community Manager

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
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