Skip to main content
Embedding a Dotdigital form

Learn how to capture sign-ups directly into Dotdigital from Turtl

Maruša Barle avatar
Written by Maruša Barle
Updated yesterday

Turtl supports embedding Dotdigital (formerly Dotmailer) forms in place of the native Turtl lead capture form. For this to work correctly, the Dotdigital forms themselves need to be configured to ensure they will render and behave correctly in Turtl. This article steps you through that process.

Note: Leads captured from your embedded Dotdigital form will only be located in Dotdigital. Turtl is unable to capture leads from Dotdigital forms and leads will be displayed as "unknown" in the known reader section of your Turtl Analytics Dashboard.

For Turtl to work with Dotdigital forms you need to add two different snippets of code, one to Form HTML and another to "Thank you page".

1. Add Turtl code to your form HTML

Navigate to the "Utilities" tab while in the Dotdigital form builder. Select "Edit Source" and paste the following code immediately before the closing </head> tag in the HTML code of your form page.

<script src="https://app-static.turtl.co/forms/turtl.forms.dotmailer.v1.js"></script>

2. Create a "Thank you page"

Next, you need to create a separate "Thank you page". Again, navigate to the "Utilities" tab while in the Dotdigital form builder. Select "Edit Source" and paste the following code immediately before the closing </head> tag in the HTML code of your "Thank you page".

Note: that this code is different from the one you’ve just added above.

<script data-ttl-form-mode="complete" src="https://app-static.turtl.co/forms/turtl.forms.dotmailer.v1.js"></script>

You should have a separate form and a "Thank you page".

Go back to your form and click on the configuration icon for the "Confirmation" field.

In the "Edit Confirmation" window that appears, choose "Go to a page" from the available options and set it to your "Thank you page".

3. Add the form to your Turtl Doc

Once your form is hosted on a blank page of your website, you will be able to take the URL of the page and paste it into the forms tab in the Doc settings.

See the article on embedding a third-party lead-capture form for more options.

Note: If this is the first time you've added a form to Turtl it may not match the styles of your theme. Send it over to support@turtl.co and we'll get it tested and styled within Turtl for you.

Did this answer your question?