💬 RevOps Discussions

AChubak
Colaborador(a)

Date format for passing date properties through the URL parameters

resolver

Hello

I'm trying to pass additional properties through the URL parameters. For example

https://meetings.hubspot.com/person-name?lead_type=conference

 

Will book a meeting with a person and will set lead_type to conference. 

 

I'm also trying to pass a date through the URL but I can't. I've tried many formats including the ISO standard and UTC times that works with other sites, but it's not working for Hubspot. Does anyone know how to do this? I've even asked ChatGPT and it couldn't get it right. 

 

As an example here's the format with 

https://meetings.hubspot.com/person_name?conference_date=2023-03-03

 

0 Avaliação positiva
1 Solução aceita
AChubak
Solução
Colaborador(a)

Date format for passing date properties through the URL parameters

resolver

The answer is if you're passing a date property you need to pass the parameter as a timestamp set specifically for midnight UTC time of the date you're trying to pass through. Include the milliseconds.

 

AChubak_0-1678719137991.png

 

 

Exibir solução no post original

1 Resposta 1
AChubak
Solução
Colaborador(a)

Date format for passing date properties through the URL parameters

resolver

The answer is if you're passing a date property you need to pass the parameter as a timestamp set specifically for midnight UTC time of the date you're trying to pass through. Include the milliseconds.

 

AChubak_0-1678719137991.png