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 Page View

Logs a page view for a customer.

The CrowdPower tag automatically records page views for identified customers, but if you’re running a single-page app (SPA), you may need to call the page method manually from your router file.

If you are running a multi-page app, like Wordpress, you can skip this step.

<script>
  window.cp('page');
</script>
PreviousCreate Customer TagNextPrompt for Push

Last updated 3 years ago

Was this helpful?

βœ