Tracking users through a form
Learn how to track users who submit a form through your landing page by adding a
{% landing_page_url %}
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.
How it works
You can add a landing page 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.
You can also use landing pages for lead generation by embedding the page URL into your external channels. After you create a landing page, go to Landing Page Details to get the unique URL for your landing page.
Using landing page liquid tags
Prerequisites
Before you start, you’ll need to create a landing page and a campaign.
Step 1: Verify the URL handle
Braze will use your landing page’s URL handle to generate its unique liquid tag. If you want to change the current URL handle, go to Messaging > Landing Pages, then open your landing page. Under URL handle, you can enter a new URL handle.
If you change the URL handle after sending your message, any user that attempts to visit your landing page using the old URL will be sent to a 404
page.
Step 2: Generate the liquid tag
Go to Messaging > Campaigns, then choose a campaign. In your message editor, select Personalization.
Braze will automatically generate a liquid tag using your landing page’s URL handle. 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.
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. When you’re ready, you can send the message to start tracking users through your landing page.