Skip to content

Track users through a form

Learn how to track users who submit a form through your landing page by adding a landing page Liquid tag to your messages. This Liquid tag is supported across all Braze messaging channels, including email, SMS, in-app messages, and more. To learn more about tracking data, see About landing page tracking data.

Prerequisites

Before you start, you’ll need to create a landing page and a campaign.

How it works

You can add a {% landing_page_url %} Liquid tag to any of your single or multi-channel messages in Braze. When a user visits that landing page and submits the form, Braze will automatically link that data to their existing profile, rather than create a new profile for that user. In the following example, a the landing page Liquid tag is used to link customers to a survey:

1
<a href="{% landing_page_url customer-survey %}" class="button">Take the Survey!</a>

Using landing page Liquid tags

Step 1: Verify the page URL

Braze will use your landing page’s URL to generate its unique Liquid tag. If you want to change the current page URL, go to Messaging > Landing Pages, then open your landing page. Under page URL, you can enter a new page URL.

An example page URL for a landing page in Braze.

Step 2: Generate the Liquid tag

Go to Messaging > Campaigns, then choose a campaign. In your message editor, select Personalization.

The 'Add personalization' button in the drag-and-drop editor.

Braze will automatically generate a Liquid tag using your landing page URL. Refer to the following table to generate your tag:

Personalization type Choose Landing Page.
Landing page Choose the landing page you previously created.

To add the Liquid tag to your message, you can either select Insert, or copy the snippet to your clipboard and add it manually.

An auto-generated Liquid tag for the selected landing page.

Your snippet will be similar to the following:

1
{% landing_page_url custom-url-handle %}

Step 3: Finalize and send your message

Embed the Liquid snippet into your message, then finalize the rest of your message. For example:

1
<a href=" {% landing_page_url customer-survey %}" class="button">Take the Survey!</a>

When you’re ready, you can send the message to start tracking users through your landing page.

New Stuff!