Establishing Tracking with TypeForm

The main difference between TypeForm forms and a form fill event is that TypeForm forms will not leave a record on the Life of the Lead, and any associated automations would need to be triggered by a field changing rather than by way of a form fill event.

<script type="text/javascript">
var callThisOnReturn = function(resp) {
if (resp) {
// In the line below, the URL should be the data-url from above, plus ‘?TrackingID=’ document.getElementsByClassName('typeform-widget')[0].setAttribute('data-url','https://mycompany.typeform.com/to/Z5mdUO?TrackingID=' + 'resp.trackingID');
} else {
// In the line below, the URL should be the data-url from above with no changes document.getElementsByClassName('typeform-widget')[0].setAttribute('data-url','https://franchiselens.typeform.com/to/Z5mdUO’);
}
(function(){var qs,js,q,s,d=document,gi=d.getElementById,ce=d.createElement,gt=d.getElementsByTagName,id="typef_orm",b="https://s3-eu-west-1.amazonaws.com/share.typeform.com/";if(!gi.call(d,id)){js=ce.call(d,"script");js.id=id;js.src=b+"widget.js";q=gt.call(d,"script")[0];q.parentNode.insertBefore(js,q)}})();
};
_ss.push(['_setResponseCallback', callThisOnReturn]);
</script>

Paste the retained data-url URL in the appropriate section of the code.

If your TypeForm code does not appear similar to the example code, or if you are tracking multiple TypeForm forms on the same page, contact SharpSpring support for assistance.

Regarding Established URLs

If your URL already is already established and followed by data, change the URL in the code by appending an ampersand and the TrackingID to the end of the URL.

Consider the following example URL:

https://mycompany.typeform.com/to/H6ptOZ?typeform-welcome=0

As ?typeform-welcome=0 follows the URL, the following line of code would be changed:

If your TypeForm code does not appear similar to the example code, or if you are tracking multiple TypeForm forms on the same page, contact SharpSpring support for assistance.

Creating Redirect Pages

There are ways to establish tracking on a non-embedded TypeForm form. To link to a TypeForm form which is not embedded on your own page externally (such as a comment on another page, a Facebook post, or a Twitter link), you can still establish tracking by setting up a redirect page. To do so, do the following:

Create a page on your own domain that contains the SharpSpring tracking code and the code to append the tracking cookie.

Share the URL of the created page you created anywhere that links to the form from a page that is unable to be tracked in SharpSpring.

Mapping and Connecting Zaps in Zapier

Once a form is established, set up a Zap in Zapier. When mapping the fields to SharpSpring, map the one called TrackingID to SharpSpring’s Tracking ID field.

After the Zap is set up and the form is filled out, the contact should have a tracked device under their Memberships tab. This will also pull in their previous site visit data as any normal form fill would.

When using Zapier, you can create and update leads, as well as establish tracking. That said, if you do not need to establish tracking, set up a Zap in Zapier. That way, a TypeForm form fill triggers a Create/Update Lead action in SharpSpring.