Fanplayr 360
  • Introduction
  • Data
  • Navigation
  • Tutorials
    • Sync High Value Users to Facebook Custom Audience
  • Features
    • Overview
    • Filters
      • Examples
    • Insights
    • Audiences
      • List
      • Editing
    • Automations
      • List
      • Editing
    • Pipelines
      • List
      • Editing
    • Exports
      • List
      • Editing
    • Profiles
      • Profile
  • 🔗Integrations
    • Sources
      • List
      • Editing
    • Destinations
      • List
      • Editing
    • Catalog
      • Amplitude
      • Attentive
      • AWS S3
      • Cordial
      • Custom Integration
      • Facebook Custom Audience
      • FTP/SFTP - Password Authentication
      • Google Ads
      • JavaScript
      • Mailchimp
      • Mailup
      • Pipedrive
      • Salesforce Commerce Cloud
      • Salesforce Marketing Cloud
      • Send In Blue
      • SFTP - SSH Key Authentication
      • Shopify
      • Slack
      • TikTok
      • Twilio
      • VTEX IO
  • Other
    • Mapping
      • Events
      • Event Attributes
    • Data Dictionary
      • Events
      • Event Attributes
      • User Attributes
    • Data Health
    • Compliance
      • PII
      • Consent
    • Account Settings
      • Personal
      • Preferences
      • Company
      • Users
      • Security
      • Invoices
  • 👩‍💻API Reference
    • API Overview
    • JavaScript API
      • Javascript API Reference
    • Custom API
      • Sessions and Users
      • Tracking Page Views
      • Tracking Events
      • Managing Identity
      • User Profile Data
      • Managing Consent
    • Semantic Data
      • Semantic Events
        • E-Commerce
        • Messaging
        • Other
      • Semantic Objects
      • Semantic User Attributes
      • Fanplayr 360 Generated Attributes
  • PrivacyID
  • Appendix
    • Terminology
Powered by GitBook
On this page
  • Page Views
  • Example
  1. API Reference
  2. Custom API

Tracking Page Views

PreviousSessions and UsersNextTracking Events

Last updated 2 years ago

An important property you send which each event is the pageId.

This is a unique identifier for each page which is used to collate events sent from that page view together.

For example you may view a page, then a list of products on that page () and then add one of these products to a cart ().

We suggest using a unique string such as a , or .

Page Views

For each page view on your website, or view of a screen on your mobile app, you can send along an event with type "page".

Example

{
  "messageId": "b3ea1a6c-5156-4030-8c67-nnb496ab473e",
  "writeKey": "6Zbh5IabhQViWaflO4Lbc",
  "timestamp": "2023-11-15T18:22:46Z",
  "type": "page",
  "userId": "5.essgdp8XSgs0GmsIdxh.1668536180",
  "sessionId": "09ec94a6cd542d5cc9e98e090fc22112",
  "pageId": "09ec92a6cd542d5cc9e98e090fc22134-9",
  "context": {
    "page": {
      "url": "https://www.mystore.com/shoes/ID=BX5634",
      "referrer": "https://www.mystore.com/search.php?query=Men's+Shoes",
      "type": "product"
    },
    "ipAddress": "77.122.92.7",
    "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1"
  }
}

👩‍💻
UUID
nanoID
ulid
Product List Viewed
Product Added