For the complete documentation index, see llms.txt. This page is also available as Markdown.

Install Guideflow JS

To identify and match your website visitors with Guideflow sessions, install the following Javascript on your website: (1) Load the script:

<script src=""></script>

(2) Identify user:

<script>
guideflow.identify({
  email: "user@example.com"
});
</script>

(3) Marketo Forms example (Guideflow identify on submit) Load Marketo Forms + Guideflow:

<script src="//app-XXX.marketo.com/js/forms2/js/forms2.js"></script>
<script src=""></script>

(4) Form:

<form id="mktoForm_1234"></form>

(5) Bind identify on submit:

<script>
MktoForms2.loadForm("//app-XXX.marketo.com", "XXX-XXX-XXX", 1234, function(form) {

  form.onSuccess(function(vals) {

    guideflow.identify({
      email: vals.Email,
      firstName: vals.FirstName,
      lastName: vals.LastName,
      company: vals.Company
    });

    return true;
  });

});
</script>

Last updated