pageView
Version:
|
Type |
Function |
|
Import path |
|
Sends a VIEW event.
Signature
Parameters
|
Name |
Type |
Description |
|---|---|---|
|
|
|
Required. The HTTP request. |
|
|
Optional. Data for |
Return value
Returns a promise.
Examples
Example 46. Running the pageView function
Next.js
Note
To run this function, you have to first initialize the Cloud SDK.
See more examples and other data you can include in the event.
Here's an example of how to use the pageView function: