The Listrak tag for the Google Tag Manager server container allows you to integrate your website with Listrak by sending Order data to Listrak’s Data API and creating or updating Contacts via Listrak’s Email or SMS API.
This server-to-server integration helps improve data accuracy and security by communicating directly with Listrak from your server, bypassing client-side tracking limitations.
Features
The tag supports two event types:
- Order (sent to Listrak’s Data API)
- Contact create/update, on either channel:
- Email (sent to Listrak’s Email API)
- SMS (sent to Listrak’s SMS API, with a Create Contact or Subscribe Contact action)
How to use
- Add the Listrak Conversions API tag to your GTM Server container from the Template Gallery.
- Create a new tag and select the Event Type you want to send (Order or Contact).
- Provide your Listrak Client ID and Client Secret from a Listrak Integration (Account Settings > Integrations > Integration Management) — a “Data” integration for Order events, an “Email” or “SMS” integration for Contact events depending on the Channel chosen. See Locating the Client Secret and ID if you need help finding them. The tag authenticates via OAuth2 client credentials and caches the access token automatically.
- Map the required fields depending on the event type:
- Order: Order Number and optional Order Properties (item/shipping/tax totals, discounts, coupon code, tracking, etc.).
- Contact (Email channel): List ID and Email Address, plus optional Profile Fields and Advanced Options (Update Type, Subscription settings, Event IDs).
- Contact (SMS channel): Short Code ID, SMS List ID and Phone Number. Choose Create Contact to create/update the contact (optionally with Email Address, First/Last Name, Birthday, Postal Code, Opted Out and Profile Fields) or Subscribe Contact to subscribe a contact that already exists on the Short Code.
- With Automap from Event Data enabled (the default), fields left empty are automatically filled from Event Data — e.g. Order Number falls back to
transaction_id, Customer Email/Contact Email Address fall back toemail/user_data.email/user_data.email_address, and SMS Phone Number falls back touser_data.phone_number/user_data.phone. Disable this checkbox to require every value to be set explicitly on the tag. Each field’s help text documents its exact Event Data source.
Open Source
The Listrak tag for GTM Server Side is developed and maintained by Stape Team under the Apache 2.0 license.
GTM Gallery Status
Not listed