APIs & Integrations

therobert
Contributor | Diamond Partner
Contributor | Diamond Partner

Add to Calendar feature connected to CTA Event date/time

SOLVE

Does anyone know how to create a custom "add to calendar" feature that ties directly to the timestamp of a CTA for an event?

I want to show a feature similar to AddEvent.com on my thank you page after signing up for an event.

Can you grab the timestamp from the thank page of an event?

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Add to Calendar feature connected to CTA Event date/time

SOLVE

Hi @eiserloh,

Are you looking to get the current timestamp whenever your event is triggered? If so, you could call the now() method on the Date object: Date.now(). Here's the W3Schools documentation.

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
1 Reply 1
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Add to Calendar feature connected to CTA Event date/time

SOLVE

Hi @eiserloh,

Are you looking to get the current timestamp whenever your event is triggered? If so, you could call the now() method on the Date object: Date.now(). Here's the W3Schools documentation.

Isaac Takushi

Associate Certification Manager
0 Upvotes