Retrieve segment tag

Returns a tracking tag for a specific segment by ID. Tag format determined by the tag_type query parameter (default: 'js').

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The unique ID of the segment

Query Params
string
enum
Defaults to js

Format of the tag to render. Each value names a template in the segment tag directory. Defaults to 'js'.

Allowed:
Responses

400

Invalid data provided.

401

Authentication credentials were not provided.

403

Permission denied.

404

Segment not found.

Language
Credentials
:
URL
LoadingLoading…
Response
Choose an example:
application/json