Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Content]: Category is missing in the "payload of a typical Page call" #6178

Open
SebastianFranze opened this issue Mar 5, 2024 · 1 comment
Assignees
Labels
content When the bug is about content that needs to get fixed stale triage

Comments

@SebastianFranze
Copy link

What article on segment.com/docs is affected?

https://segment.com/docs/connections/spec/page/

What part(s) of the article would you like to see updated?

Hello there 👋

First of all, thank you for your incredibly detailed and well-written API documentation. My issue is just a small improvement. In the article about the Page API you use an example for the following JavaScript event:

analytics.page("Retail Page","Home");

With the API

page(category, name, properties = {})

But in the example payload, the category is nowhere to find:

{
  "type": "page",
  "name": "Home",
  "properties": {
    "title": "Welcome | Initech",
    "url": "http://www.example.com"
  }
  // category missing :(
}

It would be nice, if you could add the category to the example payloads so people know if it's a top-level property or part of another structure

best regards
Sebatian

Additional information

No response

@SebastianFranze SebastianFranze added content When the bug is about content that needs to get fixed triage labels Mar 5, 2024
@pwseg pwseg self-assigned this Mar 15, 2024
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added the stale label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content When the bug is about content that needs to get fixed stale triage
Projects
None yet
Development

No branches or pull requests

2 participants