The track method sends the collected data to our track servers. After sending, the pixel automatically deletes all data from the cache and cannot access it anymore.
Overview
Value | Description | Data type | Default value | Required |
|---|---|---|---|---|
keepData | After sending the tracking data, the Pixel automatically removes all defined data. If you want to keep the data, set |
|
| - |
Implementation Example
import { WebtrekkSmartPixelReact } from "@webtrekk-smart-pixel/react";import { WebtrekkSmartPixelReact } from "@webtrekk-smart-pixel/next";WebtrekkSmartPixelReact
WebtrekkSmartPixelReact.track(false);