How to Add Email and Sms Opt-Ins to Your Order Tracking Page
To add email and SMS opt-ins to an order tracking page, place a clearly labeled signup form near the shipment information, keep marketing consent separate from delivery updates, and connect each choice to the correct subscriber list. Test the form on mobile and confirm that a customer can track an order without signing up.

This guide is for store owners and ecommerce teams managing a customer-facing tracking page. The goal is not simply to collect more addresses or phone numbers. It is to capture a usable, documented permission while the customer can still complete the task they came to do: check a delivery.
Decide what customers are signing up for
Start by distinguishing shipment notifications from marketing messages. A message about the status of an existing order serves a different purpose from a promotional email or text about a future sale. Do not treat a customer's request for tracking information as permission to send unrelated promotions.
Write down the messages you intend to send through each channel before building the form. For example, a customer might choose email offers, SMS offers, or neither. If you also offer optional delivery alerts, explain them separately so a customer understands which messages will follow each selection. The wording, consent record and downstream message settings should all match that decision.
The distinction matters beyond clarity. The U.S. Federal Trade Commission explains that the CAN-SPAM Act applies to commercial email and discusses how to determine a message's primary purpose when it contains both transactional and commercial content. Rules for marketing texts and electronic marketing also vary by jurisdiction. Have the final language and workflow reviewed against the rules that apply to your customers and sending locations rather than relying on a generic checkbox template.
Choose a placement that does not interrupt tracking
The shipment status, estimated delivery information if available, and tracking history should remain easy to find. Put the signup module after the main status summary or near the end of the page, where it is visible without covering the information the customer requested. Avoid a mandatory popup or a form that must be completed before tracking details appear.
A compact module works better than a broad invitation to “stay connected.” Give it a specific heading, such as “Get email offers” or “Sign up for text offers,” followed by a short explanation of what the customer will receive. If the page already contains an email address or phone number associated with the order, do not assume that displaying it in the form establishes marketing permission. The customer should be able to see and control the choice being made.
For repeat visitors, decide how the page will behave when a person has already subscribed, declined, or unsubscribed. A tracking page should not repeatedly invite someone to rejoin a channel they have opted out of. Confirm that your form and messaging system can recognize and respect the current preference before launch.
Build separate email and SMS choices
Use distinct controls for the two channels. This gives customers a meaningful choice and gives your team a clear record of what each person selected. A practical form might contain an email field with an email-marketing checkbox and, separately, a phone field with an SMS-marketing checkbox. A merchant offering only one channel does not need to show the other.
For each option, make the label specific enough to answer three questions: who will send the messages, which channel will be used, and what kind of messages the customer can expect. Place relevant terms and a privacy-policy link where the customer can read them before submitting. For SMS, include any disclosures required by the applicable law and your messaging provider's rules; do not invent a universal disclosure and assume it covers every market.
Do not preselect a marketing checkbox when your chosen consent basis requires an affirmative action. Under the EU General Data Protection Regulation, consent must meet conditions including the ability to withdraw it; the regulation also addresses whether a request for consent is clearly distinguishable from other matters. Requirements outside the EU may differ, so the form should be reviewed for the regions in which it will appear.
Keep the submission action explicit. “Sign up for email offers” communicates more than “Submit.” If a customer selects both channels, your system should record two channel-specific choices rather than a single undifferentiated “subscribed” value.
Connect the form to your marketing and preference systems
The tracking page is only the collection point. A working opt-in also needs a reliable path from that page to the systems that store preferences and send messages. Before choosing a form or app setting, map where each field will go:
- Identify the source of truth. Decide which customer record or consent-management system will hold email and SMS preferences. If several systems can update a preference, define how they stay in sync.
- Send each choice to the right destination. An email selection should not automatically add the customer to an SMS audience, or vice versa. Avoid mapping a blank checkbox to “yes.”
- Store a useful consent record. Record the channel, wording presented, action taken, and relevant time and page context in the system you use to manage consent. Your legal and privacy teams can specify what else must be retained.
- Respect existing suppression records. Check how the integration handles unsubscribed contacts, invalid addresses, previously opted-out phone numbers and duplicate submissions. A page-form submission must not silently defeat an existing opt-out.
- Confirm the customer-facing result. Show a success message only after the submission has been accepted. Explain any further confirmation step if your selected email or SMS workflow requires one.
If you use a hosted or app-based tracking page, inspect its form, customization and integration settings before designing the workflow around it. For merchants using the 17TRACK Shopify app, check the current app configuration and documentation to determine which tracking-page elements are editable and whether your intended consent workflow needs an additional form or marketing integration. Do not assume that a branded tracking page, by itself, collects or transfers channel-specific marketing consent.
If the tracking-page tool cannot capture the fields or consent records you need, consider an embedded form where customization is available, or a clearly labeled link to a dedicated signup page. The better choice is the one that preserves access to tracking details and produces a verifiable preference in your sending system.
Test the entire journey before publishing
A visible checkbox is not proof that an opt-in works. Test from the customer's page through the destination system, then check what happens when preferences change. Use test contacts and verify at least these cases:
- A customer tracks an order and leaves both marketing options unselected. No marketing subscription should be created.
- A customer chooses email only. The email preference is recorded; the SMS preference is not added.
- A customer chooses SMS only. The phone number and SMS preference reach the intended system without creating an email-marketing subscription.
- A customer chooses both. The two choices remain distinguishable in the stored record.
- An unsubscribed customer returns. The form and integration handle the existing opt-out according to your approved consent workflow.
- A submission fails. The page does not display a misleading success message, and the customer can still view tracking information.
Repeat the checks on a small mobile screen. Look for cut-off consent text, hard-to-tap controls, phone-number formatting problems and a signup box that pushes the shipment status too far down the page. If your business serves customers in multiple languages or regions, check the wording and available options in each relevant page version rather than assuming one configuration applies everywhere.
Measure signups without confusing them with valid consent
After launch, monitor completed form submissions, successfully stored preferences, delivery or confirmation failures, and unsubscribe requests. These are different events. A high number of button clicks is not useful if records fail to reach the correct system or customers immediately opt out because the messages differ from what the form promised.
Review the tracking experience alongside signup results. If customers cannot find their shipment status, the form is competing with the page's primary purpose. If people sign up but your records cannot show which channel they selected, improve the data flow before trying to increase the form's visibility. The most useful outcome is a customer who gets the tracking information they need and, only if they choose, receives the communications they expected.
FAQ
Can I use the email address from an order for marketing?
Do not assume that placing an order gives you permission to send promotional messages. The applicable rules depend on the jurisdiction and circumstances. Keep order-related communications distinct from marketing, and have your consent approach reviewed for the locations you serve.
Should email and SMS share one checkbox?
Separate choices are clearer for customers and easier to record accurately. They let someone accept one channel while declining the other. They also help your team verify that each preference reaches the correct sending system.
Can I require an opt-in before showing tracking details?
A tracking page should let customers access the shipment information they came for without a marketing signup. Keep the form optional and avoid making consent appear to be a condition of viewing an existing order's status.
What if my tracking-page tool has no opt-in form?
First check its current customization options and integrations. If it cannot support the consent fields and records you need, use an available embedded form or link to a dedicated signup page. Test the complete path before inviting customers to use it.
Is a successful form submission the same as a completed signup?
Not necessarily. The submission still needs to reach the correct system and satisfy any confirmation steps in your chosen workflow. Check the stored preference and customer-facing result, not just the tracking page's success message.
Sources
- U.S. Federal Trade Commission, “CAN-SPAM Act: A Compliance Guide for Business” — commercial email requirements and transactional-message distinctions.
- European Union, General Data Protection Regulation — consent definitions and conditions, including Articles 4 and 7.
- Electronic Code of Federal Regulations, 47 CFR § 64.1200 — U.S. federal rules relevant to certain calls and text messages.
- 17TRACK Shopify app listing — product reference for merchants assessing their tracking-page setup.


