CrowdPower
  • 👋Introduction
  • ✅Getting Started
    • The Basics
    • JavaScript Tag
      • Identify Customer
      • Create Customer Event
      • Create Customer Charge
      • Create Customer Tag
      • Create Page View
      • Prompt for Push
    • Beacon API
      • Identify Customer
      • Create Customer Event
      • Create Customer Charge
      • Create Customer Tag
      • Track
    • Importing Customers
    • Basic Email Setup
    • Advanced Email Setup
  • 📚Resources
    • Smart Sending
    • Working with Sessions
    • Working with Traits
    • Working with Phone Numbers
    • Personalizing Messages
    • Push Notifications
    • Unsubscribe Groups
  • 🔌Integrations
    • Discord
    • Slack
    • Stripe
    • Zapier
  • REST API
  • Console
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started
  2. JavaScript Tag

Create Customer Tag

Applies a tag to a customer. If a tag does not exist with the name, it will make a new one.

You can tag your customers manually in the CrowdPower console, but if you would like to tag a customer automatically with the JavaScript Tag, you can do so using the following method. If no tag exists in your project, it will create a new one for you, and then apply it to the customer.

<script>
  window.cp('tag', {
    name: '<tag_name>', // The name of the tag
  });
</script>
PreviousCreate Customer ChargeNextCreate Page View

Last updated 3 years ago

Was this helpful?

✅