Tealium

App · 17 actions

Send events, look up visitor profiles, manage hosted data layers and track file imports and iQ publishes in Tealium.

Actions

ActionWhat it does
Count omnichannel filesCount the omnichannel files with a prefix that were uploaded in a time range.
Delete a hosted data layerDelete a hosted data layer object or JSON file.
Delete a visitorQueue a visitor's profile for deletion, for a privacy request.
Find omnichannel filesList the status of each omnichannel file with a prefix uploaded in a time range.
Get a hosted data layerGet a hosted data layer's file name, size and when it last changed.
Get a visitorLook up a visitor's Customer Data Hub profile: their attributes, audiences and badges.
Get an iQ profileGet the iQ Tag Management profile's latest saved version, or another, with the parts chosen: tags, load rules, variables and more.
Get an iQ publishGet who published an iQ revision, when, with what comment and to which environments.
Get an omnichannel file's statusGet how far an imported omnichannel file has got: downloaded, processed, and lines skipped.
Get deletion statusCheck whether a visitor deletion is pending, done or failed.
List failed data layer uploadsList hosted data layer uploads that failed, up to 5,000, so they can be sent again.
List hosted data layersList the hosted data layer objects and JSON files of the profile, up to 1,000 at a time.
List iQ publishesList the profile's published iQ Tag Management revisions, newest first.
List visitor ID attributesList the visitor ID attributes (such as Email Address) visitors can be looked up by.
Send an eventSend an event to Tealium's Customer Data Hub, such as a purchase or a sign-in.
Update a hosted data layerReplace a hosted data layer's values.
Upload a hosted data layerUpload a hosted data layer object (or JSON file) of values.

Count omnichannel files

Count the omnichannel files with a prefix that were uploaded in a time range.

Inputs

File prefixfile_prefixtextRequired
The file prefix of the omnichannel file definition, such as sales_transactions.
Startstartdate and timeRequired
Start of the time range.
Endenddate and timeRequired
End of the time range.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "count": 1
  }
}

Delete a hosted data layer

Delete a hosted data layer object or JSON file.

Inputs

Data layerdatalayer_idtextRequired
The hosted data layer's name, such as product_catalog. Letters, numbers, dashes and underscores.
File typefile_typetext
Store it as a JSON file instead of a data layer object.One of: json.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "datalayer_id": "example",
    "deleted": true
  }
}

Delete a visitor

Queue a visitor's profile for deletion, for a privacy request. Check the request with Get deletion status.

Inputs

Visitor ID attributeattribute_idtextRequired
The visitor ID attribute to look the visitor up by, such as Email Address.
Valueattribute_valuetextRequired
The visitor's value for that attribute, such as their email address.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "transactionId": "example"
  }
}

Find omnichannel files

List the status of each omnichannel file with a prefix uploaded in a time range.

Inputs

File prefixfile_prefixtextRequired
The file prefix of the omnichannel file definition, such as sales_transactions.
Startstartdate and timeRequired
Start of the time range.
Endenddate and timeRequired
End of the time range.

Outputs

datalist
The response from Tealium.
Example output
{
  "data": [
    {
      "_id": {
        "$oid": "example"
      },
      "account": "example",
      "created_at": {
        "$date": "example"
      },
      "file": {
        "line_count": 1,
        "name": "example",
        "size": 1,
        "source": {
          "type": "example"
        }
      },
      "profile": "example",
      "status": [
        {
          "lines_skipped": 1,
          "state": "example",
          "timestamp": {
            "$date": "example"
          }
        }
      ]
    }
  ]
}

Get a hosted data layer

Get a hosted data layer's file name, size and when it last changed.

Inputs

Data layerdatalayer_idtextRequired
The hosted data layer's name, such as product_catalog. Letters, numbers, dashes and underscores.
File typefile_typetext
Store it as a JSON file instead of a data layer object.One of: json.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "file": "example",
    "lastModified": "example",
    "size": 1
  }
}

Get a visitor

Look up a visitor's Customer Data Hub profile: their attributes, audiences and badges.

Inputs

Visitor ID attributeattribute_idtextRequired
The visitor ID attribute to look the visitor up by, such as Email Address.
Valueattribute_valuetextRequired
The visitor's value for that attribute, such as their email address.
Use attribute namespretty_nametrue/false
Show attributes by their names rather than their numbers.
Searchsearch_prioritytext
Where to look: live data first, historical first, or only one.One of: live_first (Live first), historical_first (Historical first), live, historical.
Only these attributesresponse_filterslist
Only return these attribute IDs, up to 150.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "audiences": [
      "example"
    ],
    "badges": [
      "example"
    ],
    "current_visit": {},
    "dates": {},
    "flags": {},
    "metrics": {},
    "properties": {},
    "visitor_id": "example"
  }
}

Get an iQ profile

Get the iQ Tag Management profile's latest saved version, or another, with the parts chosen: tags, load rules, variables and more.

Inputs

Includeincludeslist
The parts of the profile to include.One or more of: tags, loadRules, variables, extensions, events, versionIds, tags.templateList, tags.template.
Versionpublish_versiontext
The version to get (YYYYMMDDHHMM). Leave empty for the latest.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "account": "example",
    "creation": "example",
    "environmentVersions": {},
    "events": [
      {}
    ],
    "extensions": [
      {}
    ],
    "libraryType": "example",
    "loadRules": [
      {}
    ],
    "minorVersion": "example",
    "parentVersion": "example",
    "profile": "example",
    "tags": [
      {}
    ],
    "variables": [
      {}
    ],
    "version": "example",
    "versionDetails": {
      "environmentVersions": {},
      "notes": "example",
      "user": "example"
    },
    "versionIds": [
      "example"
    ],
    "versionTitle": "example"
  }
}

Get an iQ publish

Get who published an iQ revision, when, with what comment and to which environments.

Inputs

Revisionrevision_idtextRequired
The revision, named by when it was published (YYYYMMDDHHMM).

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "account": "example",
    "comment": "example",
    "created_by": "example",
    "name": "example",
    "profile": "example",
    "revision_id": "example",
    "targets_published": [
      "example"
    ],
    "time_created": "example"
  }
}

Get an omnichannel file's status

Get how far an imported omnichannel file has got: downloaded, processed, and lines skipped.

Inputs

File namefilenametextRequired
The file's full name, such as sales-transaction_2024feb4.csv.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "_id": {
      "$oid": "example"
    },
    "account": "example",
    "created_at": {
      "$date": "example"
    },
    "file": {
      "line_count": 1,
      "name": "example",
      "size": 1,
      "source": {
        "type": "example"
      }
    },
    "profile": "example",
    "status": [
      {
        "lines_skipped": 1,
        "state": "example",
        "timestamp": {
          "$date": "example"
        }
      }
    ]
  }
}

Get deletion status

Check whether a visitor deletion is pending, done or failed.

Inputs

Transaction IDtransaction_idtextRequired
The transaction ID Delete a visitor answered with.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "status": "example",
    "transaction_id": "example"
  }
}

List failed data layer uploads

List hosted data layer uploads that failed, up to 5,000, so they can be sent again.

Inputs

Startstartdate and time
Start of the time range.
Endenddate and time
End of the time range.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "account": "example",
    "count": 1,
    "failedUploads": [
      {
        "date": "example",
        "file": "example"
      }
    ],
    "profile": "example"
  }
}

List hosted data layers

List the hosted data layer objects and JSON files of the profile, up to 1,000 at a time.

Inputs

Continuation tokencontinuation_tokentext
The continuation token from the last page, for the next 1,000.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "continuationToken": "example",
    "fileStatuses": [
      {
        "file": "example",
        "lastModified": "example",
        "size": 1
      }
    ],
    "isTruncated": true
  }
}

List iQ publishes

List the profile's published iQ Tag Management revisions, newest first.

Inputs

None.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "revision_ids": [
      "example"
    ]
  }
}

List visitor ID attributes

List the visitor ID attributes (such as Email Address) visitors can be looked up by.

Inputs

None.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "attributes": [
      {
        "id": "example",
        "name": "example"
      }
    ]
  }
}

Send an event

Send an event to Tealium's Customer Data Hub, such as a purchase or a sign-in.

Inputs

Event nametealium_eventtextRequired
The event's name, such as user_login or purchase.
Visitor IDtealium_visitor_idtext
The visitor's anonymous ID. For a known visitor, Tealium expects `__account_profile__attributeid_value__`.
Data source keytealium_datasourcetext
The data source key the event belongs to.
Environmenttealium_environmenttext
The environment the event is for.One of: prod, qa, dev.
Event dataattributesobject
The event's data, by name, such as email_address or order_total.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "sent": true
  }
}

Update a hosted data layer

Replace a hosted data layer's values. Changes can take up to an hour to reach Tealium's servers.

Inputs

Data layerdatalayer_idtextRequired
The hosted data layer's name, such as product_catalog. Letters, numbers, dashes and underscores.
File typefile_typetext
Store it as a JSON file instead of a data layer object.One of: json.
DatadataobjectRequired
The data layer's values, by name, such as sku and price. Names can't hold a period.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "datalayer_id": "example",
    "saved": true
  }
}

Upload a hosted data layer

Upload a hosted data layer object (or JSON file) of values. Changes can take up to an hour to reach Tealium's servers.

Inputs

Data layer IDdatalayer_idtextRequired
The hosted data layer's name, such as product_catalog. Letters, numbers, dashes and underscores.
File typefile_typetext
Store it as a JSON file instead of a data layer object.One of: json.
DatadataobjectRequired
The data layer's values, by name, such as sku and price. Names can't hold a period.

Outputs

dataobject
The response from Tealium.
Example output
{
  "data": {
    "datalayer_id": "example",
    "saved": true
  }
}

On this page