@@ -782,17 +782,29 @@ envelope endpoint.
782
782
783
783
Page context contains information about the page that the event occurred on.
784
784
785
- ` url `
785
+ ` full. url`
786
786
787
- : ** Required.** The URL of the page that the event occurred on.
787
+ : ** Required.** The URL of the page that the event occurred on, including query parameters .
788
788
789
- - Example: ` https://sentry.io/issues?page=1 `
789
+ - Example: ` https://sentry.io/issues?page=1#123 `
790
790
791
- ` user_agent `
791
+ ` http.url `
792
792
793
- : _ Optional _ . The user agent of the page that the event occurred on.
793
+ : ** Required. ** The URL of the page that the event occurred on, excluding query parameters .
794
794
795
- - Example: ` Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 `
795
+ - Example: ` https://sentry.io/issues `
796
+
797
+ ` http.query `
798
+
799
+ : ** Optional.** The query parameters of the page that the event occurred on.
800
+
801
+ - Example: ` ?page=1 `
802
+
803
+ ` http.fragment `
804
+
805
+ : ** Optional.** The fragment of the page that the event occurred on.
806
+
807
+ - Example: ` #123 `
796
808
797
809
` referer `
798
810
@@ -806,8 +818,10 @@ Page context contains information about the page that the event occurred on.
806
818
{
807
819
"contexts" : {
808
820
"page" : {
809
- "url" : " https://sentry.io/issues?page=1" ,
810
- "user_agent" : " Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" ,
821
+ "full.url" : " https://sentry.io/issues?page=1#123" ,
822
+ "http.url" : " https://sentry.io/issues" ,
823
+ "http.query" : " ?page=1" ,
824
+ "http.fragment" : " #123" ,
811
825
"referer" : " https://sentry.io/"
812
826
}
813
827
}
0 commit comments