Skip to content

Commit

Permalink
Replace property value link looks with backslashes (#907)
Browse files Browse the repository at this point in the history
* try converting to backslash

* add escaped character instead
  • Loading branch information
tiffanyqi committed Mar 7, 2024
1 parent 1f0aeb7 commit 64607d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/docs/data-structure/events-and-properties.md
Expand Up @@ -35,7 +35,7 @@ We recommend striking the right balance when defining your events. Events should

**For example:**

* If your goal is to analyse at high-level how users traverse through different pages: instead of tracking multiple events `Home Page Viewed` and `Pricing Page Viewed`, track a `Page Viewed` event with a `Page Name` property set to **"/home"** or **"/pricing"**. See [Tracking Page Views](/docs/tracking-methods/sdks/javascript#tracking-page-views) in our Javascript SDK documentation on how to instrument this.
* If your goal is to analyse at high-level how users traverse through different pages: instead of tracking multiple events `Home Page Viewed` and `Pricing Page Viewed`, track a `Page Viewed` event with a `Page Name` property set to **"\/home"** or **"\/pricing"**. See [Tracking Page Views](/docs/tracking-methods/sdks/javascript#tracking-page-views) in our Javascript SDK documentation on how to instrument this.

* If your goal is to track users adding items to a shopping cart: instead of tracking multiple events `Add Shirt to Cart`, `Add Hoodie to Cart`, and `Add Socks to Cart`, track a `Add to Cart` event with a `Item` property set to **"Shirt"**, or **"Hoodie"**, or **"Socks"**.

Expand Down
2 changes: 1 addition & 1 deletion pages/docs/tracking-methods/integrations/google-pubsub.md
Expand Up @@ -123,7 +123,7 @@ At this point, you can route events from your production Pub/Sub topic through a
Once connected, this will result in a steady stream of events being sent to Mixpanel. Happy streaming!

# Error Handling
In rare instances, Mixpanel's /import API may return a 429 or 5XX error. These can be safely retried. We recommend an exponential backoff with jitter strategy, as written in the sample code above. PubSub can be configured to perform exponential backoff if the function itself times out.
In rare instances, Mixpanel's \/import API may return a 429 or 5XX error. These can be safely retried. We recommend an exponential backoff with jitter strategy, as written in the sample code above. PubSub can be configured to perform exponential backoff if the function itself times out.

If the payload is malformed, our API might return a 400 error. In this case, the item cannot be ingested and this error should not be retried. Enqueue these messages onto a dead-letter-queue for inspection later on. This might happen while initially testing the connector, but should be rare in production, assuming the shape of data flowing through the pipeline remains consistent.

Expand Down

0 comments on commit 64607d1

Please sign in to comment.