Skip to main content
POST
/
api
/
analytics
/
simple-page-tracking
Track a page view (simple)
curl --request POST \
  --url https://api.propops.app/api/analytics/simple-page-tracking \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page": "/jobs",
  "title": "Jobs List",
  "url": "https://app.propops.co.uk/jobs",
  "referrer": "<string>",
  "timestamp": "2023-11-07T05:31:56Z"
}
'
{
  "success": true,
  "message": "Operation completed successfully",
  "id": 5001
}

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Authorization: Bearer a1b2c3d4e5f6...

Body

application/json
page
string
required
Example:

"/jobs"

title
string
Example:

"Jobs List"

url
string
Example:

"https://app.propops.co.uk/jobs"

referrer
string | null
timestamp
string<date-time>

Response

Page view recorded

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"

id
integer
Example:

5001