pageview

From Genesys Documentation
Revision as of 10:38, March 22, 2019 by DannaShirley (talk | contribs) (Published)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This topic is part of the manual Journey JavaScript SDK for version Current of Genesys Predictive Engagement.

The pageview method tracks page views.

Description

The Pageview method tracks page views.

Signature

ac('pageview', [pageOverrides], [customAttributes], [options])

Arguments

pageOverrides

  • Description: sets custom page view location and title
  • Type: object
  • Status: optional
  • Properties:
Name Description Type Status Default
location Page URL string optional
title Page title string optional

customAttributes

  • Description: adds extra information to pageview event
  • Type: object
  • Status: optional
  • Restrictions: a flat object with properties of type string, number, or boolean

options

  • Description: used for additional configuration
  • Type: object
  • Status: optional
  • Properties:
Name Description Type Status Default
traitsMapper Used to map custom attributes to traits traitsMapper

callback Called once beacon is sent function optional
callbackTimeout ms to wait for beacon to send number optional
Retrieved from "https://all.docs.genesys.com/ATC/Current/SDK/Pageview (2024-07-27 23:23:13)"
Comments or questions about this documentation? Contact us for support!