Skip to content

Commit 006018e

Browse files
author
markzegarelli
authored
Updated example page call to include category (#3015)
1 parent bce7f29 commit 006018e

File tree

1 file changed

+2
-2
lines changed
  • src/connections/destinations/catalog/google-analytics

1 file changed

+2
-2
lines changed

src/connections/destinations/catalog/google-analytics/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ If you send a [`screen`](/docs/connections/spec/screen) call using a server libr
6060

6161
### Virtual Pageviews
6262

63-
Virtual pageviews are when you send a pageview to Google Universal Analytics when the page URL didn't actually change, for example when a full-screen modal dialog appears. You can do this with Segment by making a [Page call](/docs/connections/spec/page/) with optional properties, like in the following example.
63+
Virtual pageviews are when you send a pageview to Google Universal Analytics when the page URL didn't actually change, for example when a full-screen modal dialog appears. You can do this with Segment by making a [Page call](/docs/connections/spec/page/) with optional properties, like in the following example. Include both the category and name, in addition to the properties.
6464

6565
```javascript
66-
analytics.page({
66+
analytics.page('Form', 'Signup Modal', {
6767
title: 'Signup Modal',
6868
url: 'https://segment.com/#signup',
6969
path: '/#signup',

0 commit comments

Comments
 (0)