Skip to main content
Fires when a visitor subscribes to email or SMS marketing. This helps track marketing list growth and attribute new subscribers to campaigns.
Shopify: Tracked via popup/form hooks when using compatible email/SMS apps. Manual implementation may be required for custom forms.

JavaScript

window._upstack('track', 'subscribe', {
  channel: 'email',
  source: 'footer_form',
  value: 5.00,
  currency: 'USD'
});
SMS subscription:
window._upstack('track', 'subscribe', {
  channel: 'sms',
  source: 'popup',
  phone: '+15551234567'
});

Properties

PropertyTypeRequiredDescription
channelstringNoSubscription channel ('email', 'sms', 'push')
sourcestringNoSubscription source (e.g., 'popup', 'footer', 'checkout')
valuenumberNoEstimated subscriber value
currencystringNoISO 4217 currency code

When to Fire

  • Newsletter signup
  • SMS opt-in
  • Push notification subscription