Add parameters to meetings link

SOLVE
Highlighted
Occasional Contributor

Hi,

I'm loading a meeting link inside a WebView in my mobile applications as a step of registration process.

Since the app knows user's email and names, is it possible to pass them to the meeting link as url params and be prepopulated on first load?

Reply
0 Upvotes
2 Accepted solutions

Accepted Solutions
Highlighted
Solution
HubSpot Moderator

Hi @futurist-labs,

 

I've done some testing with this in the past and providing you include the appropriate parameters the meeting form will prepopulate accordingly. For instance check this link out and notice how the values are pre-populated.

 

Let me know if you've any questions.

 

Best,

Jack

Jack Coldrick
Solutions Engineer @ HubSpot
Add me on LinkedIn

View solution in original post

Highlighted
Solution
HubSpot Moderator

Hi @jareksk,

 

If you navigate to the property within the settings of your portal you should be able to view the "internal name" of the property. More information on this can be found here. I can't say for certain but if you've a property called "My question" the internal name is likely to be "my_question". See an example of a custom property I created in my portal:

 

Screen Shot 2020-11-18 at 12.49.01 PM.png

 

You therefore would include the internal name of the property in the query string of the URL. In this instance "?my_question=XYZ". 

You can see it in action by clicking the link below - I've setup an example form:

 

In the above you will see "my_question" is included as a parameter and the value you wish to insert into the field is included. You will notice the presence of "%20" this is indicative of a space in their question. URLs cannot contain spaces but of course a question someone asks will! So you represent those spaces using "%20". It's a concept known as URL Encoding.

 

Hope this helps!

 

Jack Coldrick
Solutions Engineer @ HubSpot
Add me on LinkedIn

View solution in original post

8 Replies 8
Highlighted
Solution
HubSpot Moderator

Hi @futurist-labs,

 

I've done some testing with this in the past and providing you include the appropriate parameters the meeting form will prepopulate accordingly. For instance check this link out and notice how the values are pre-populated.

 

Let me know if you've any questions.

 

Best,

Jack

Jack Coldrick
Solutions Engineer @ HubSpot
Add me on LinkedIn

View solution in original post

Highlighted
Occasional Contributor

Perfect , thanks

Reply
0 Upvotes
Occasional Contributor

Hi Jack,

Your link works, when I tried with my test link though it doesn't

On my side I had to remove the param embed=true&

https://meetings.hubspot.com/test_link?email=futuristlabs@hubspotapi.com&firstname=Futurist&lastname...

Reply
0 Upvotes
Highlighted
New Contributor

Any param that can be used to pre-fill meeting duration?

Reply
0 Upvotes
Highlighted
HubSpot Moderator

Hi @alamo,

 

No there is not. From a usability standpoint the reason for this is that the duration is dependent on your own calendars availability and the idea is that the individual can choose a time. If we were able to pre-fill then this could cause complications whereby you might get double booked etc.

 

From a technical perspective the duration screen doesn't use input fields but rather button elements which cannot be prefilled. It has to be interacted with via a click from a user. This is not a HubSpot limitation but how the HTML button element is designed to work.

 

From Moz:

 

"The HTML <button> element represents a clickable button, used to submit forms or anywhere in a document for accessible, standard button functionality."

 

Regards,

Jack

Jack Coldrick
Solutions Engineer @ HubSpot
Add me on LinkedIn
Reply
0 Upvotes
Highlighted
Visitor

Hi @jackcoldrick ,

 

I am trying to pre-populate field for a custom question. Email, first/last name and phone all work fine - but not the custom field. How should I convert field name with a space in it to url param? ie. what "My question" would be in url params?

 

 

Thanks in advance!

Jarek

Reply
0 Upvotes
Highlighted
Solution
HubSpot Moderator

Hi @jareksk,

 

If you navigate to the property within the settings of your portal you should be able to view the "internal name" of the property. More information on this can be found here. I can't say for certain but if you've a property called "My question" the internal name is likely to be "my_question". See an example of a custom property I created in my portal:

 

Screen Shot 2020-11-18 at 12.49.01 PM.png

 

You therefore would include the internal name of the property in the query string of the URL. In this instance "?my_question=XYZ". 

You can see it in action by clicking the link below - I've setup an example form:

 

In the above you will see "my_question" is included as a parameter and the value you wish to insert into the field is included. You will notice the presence of "%20" this is indicative of a space in their question. URLs cannot contain spaces but of course a question someone asks will! So you represent those spaces using "%20". It's a concept known as URL Encoding.

 

Hope this helps!

 

Jack Coldrick
Solutions Engineer @ HubSpot
Add me on LinkedIn

View solution in original post

Highlighted
Visitor

@jackcoldrick thanks for your help 🙂

 

In my case what worked was to escape space in url parameter name:

https://meetings.hubspot.com/test_link?My%20question=42