Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bookit Popup to Contact Sales and Pricing Forms #6969

Closed
githubbrittani opened this issue May 28, 2024 · 2 comments · Fixed by #6972
Closed

Add Bookit Popup to Contact Sales and Pricing Forms #6969

githubbrittani opened this issue May 28, 2024 · 2 comments · Fixed by #6972
Assignees
Labels
High priority Important and time-sensitive. A task that needs to be completed within a short timeframe.

Comments

@githubbrittani
Copy link

No description provided.

@githubbrittani
Copy link
Author

githubbrittani commented May 28, 2024

We want to add the bookit calendar popup to the following contact sales forms:

See: Script and Form IDs*
*copied below just in case

See: Slack history of test

BookIt Script

<script>  hbspt.forms.create({    region: "na1",    portalId: "2762526",    formId: "079b2630-456f-44be-b3db-817e2a71fad1",    onFormReady: ((form) => trySettingFormTarget(form)), //add this  }); </script> <script>  function trySettingFormTarget(form) {    if (window['LDBookItV2'] && window['LDBookItV2'].setFormTarget) {      LDBookItV2.setFormTarget(form.id ? form : form[0]);    }    else {      window.setTimeout(() => trySettingFormTarget(form), 2000);    }  }  var _ld_scriptEl = document.createElement('script');  _ld_scriptEl.src = 'https://cdn.leandata.com/js-snippet/ld-book-v2.js';  _ld_scriptEl.addEventListener('load', function () {    LDBookItV2.initialize('ORG ID', 'TRIGGER NODE NAME', 'ld_bookit_log_id', { autoSubmit: true });    LDBookItV2.setFormProvider('hubspot_embed');  });  document.body.appendChild(_ld_scriptEl); </script>

ORG ID:  00D3t000000hHKt

TRIGGER NODE NAME: New Prospect

Form IDsContact Sales: 

<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script> <script>   hbspt.forms.create({     region: "na1",     portalId: "2762526",     formId: "e090296f-84f5-4bcb-9093-a533336841b4"   }); </script>

Landing Pages: 
https://sourcegraph.com/demo?form_submission_source=demo
https://sourcegraph.com/contact/request-info?form_submission_source=request-info
https://sourcegraph.com/get-started?t=enterprise

Pricing:

<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script> <script>   hbspt.forms.create({     region: "na1",     portalId: "2762526",     formId: "e090296f-84f5-4bcb-9093-a533336841b4"   }); </script>

 
Landing Pages:
https://sourcegraph.com/contact/pricing?form_submission_source=pricing-cody-enterprise
https://sourcegraph.com/contact/pricing?form_submission_source=pricing-enterprise
https://sourcegraph.com/contact/pricing?form_submission_source=pricing-code-intelligence

@githubbrittani githubbrittani added the High priority Important and time-sensitive. A task that needs to be completed within a short timeframe. label May 28, 2024
Copy link
Contributor

gitstart-app bot commented May 28, 2024

Here is the GitStart Ticket for this issue: https://clients.gitstart.com/sourcegraph/3436/tickets/SGM-6969

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High priority Important and time-sensitive. A task that needs to be completed within a short timeframe.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants