createPixel

suspend fun createPixel(name: String, slug: String, teamId: String? = null): Pixel

Creates a new tracking pixel.

Return

The created Pixel object.

Parameters

name

The name for the pixel.

slug

The slug for the pixel.

teamId

The ID of the team to associate the pixel with. Optional.