code: def track_pageview(self, name, url, duration=0, properties=None, measurements=None):
          
          data = channel.contracts.PageViewData()
          data.name = name or NULL_CONSTANT_STRING
          data.url = url
          data.duration = duration
          if properties:
              data.properties = properties
          if measurements:
              data.measurements = measurements
  
          self.track(data, self._context)
docs: Send information about the page viewed in the application (a web page for instance).
  
          Args:
              name (str). the name of the page that was viewed.\n
              url (str). the URL of the page that was viewed.\n
              duration (int). the duration of the page view in milliseconds. (defaults to: 0)\n
              properties (dict). the set of custom properties the client wants attached to this data item. (defaults to: None)\n
              measurements (dict). the set of custom measurements the client wants to attach to this data item. (defaults to: None)