AB Tasty

App · 19 actions

Follow and control your AB Tasty campaigns: list and read tests and personalizations, their variations, modifications, analytics links and tracked events, play or pause them, manage the account's users, and update or clear the AB Tasty script.

Actions

ActionWhat it does
Add userGive someone access to the account with a role.
Change campaign statusPlay, pause, end, archive or otherwise move a campaign to a new status, then return the campaign.
Change user roleChange what a user may do in the account, then return the user.
Clear AB Tasty scriptEmpty the AB Tasty script in an emergency, so no campaign shows on your website until the script is next updated (by playing or pausing a campaign, or the Update AB Tasty script step).
Get AB Tasty script checksumsGet the checksums of the last 10 versions of the AB Tasty script, to check the file your site loads (SHA-512, Base64).
Get account statisticsGet the account's campaign counts by type (running and paused), its number of users, and campaigns created, started and played each month with their visitors.
Get analytics tool linkGet one of the tools a campaign sends its data to.
Get campaignGet a campaign: its type, status, traffic, URL, schedule, visitors and labels.
Get modificationGet one change a variation makes to the page.
Get userGet one user of the account: their role, name, email and when they last signed in.
Get variationGet one variation of a campaign.
List analytics tool linksList the analytics and third-party tools a campaign sends its data to, such as Google Analytics.
List campaign eventsList the clicks and other actions a campaign tracks, and the plugins it uses.
List campaignsList the account's campaigns (tests and personalizations), with filters for type, running or paused, schedule and tags.
List modificationsList the changes a variation makes to the page: each one's type, CSS selector and value.
List usersList the people who can use this AB Tasty account, with their role, email and last sign-in.
List variationsList a campaign's variations, including the original, with each one's share of traffic.
Remove userTake away a user's access to the account.
Update AB Tasty scriptRebuild the AB Tasty script your website loads, so it carries the campaigns' latest changes.

Add user

Give someone access to the account with a role. AB Tasty invites them by email if they don't have an AB Tasty login yet.

Inputs

EmailemailtextRequired
The person's email address.
RoleroletextRequired
What the user may do in AB Tasty: view reports, work on campaigns, create them, or run the account.One of: viewer, user, creator, admin.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "_embedded": {
      "user": {
        "connection_count": 1,
        "creation_date": "example",
        "email": "example",
        "firstname": "example",
        "id": 1,
        "last_login_time": "example",
        "lastname": "example",
        "mfa_enabled": true
      }
    },
    "id": 1,
    "role": "example"
  }
}

Change campaign status

Play, pause, end, archive or otherwise move a campaign to a new status, then return the campaign. AB Tasty refuses moves it doesn't allow, such as pausing a draft.

Inputs

Campaigntest_idnumberRequired
The campaign.At least 1.
StatusstatustextRequired
The campaign's new status.One of: play (Play (running)), pause, draft, ready_to_launch (Ready to launch), in_qa (In QA), analysis, ended, archive.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "active": true,
    "audience_id": "example",
    "creation_date": "example",
    "creator_id": 1,
    "description": "example",
    "id": 1,
    "labels": [
      "example"
    ],
    "last_pause_timestamp": 1,
    "last_play_timestamp": 1,
    "name": "example",
    "preprod": true,
    "report_token": "example",
    "start_datetime": 1,
    "start_stop_timezone": "example",
    "state": "example",
    "stop_datetime": 1,
    "test_visitor_count": 1,
    "traffic": 1,
    "tunnel_parent": 1,
    "type": "example",
    "url": "example",
    "visitors_count": 1
  }
}

Change user role

Change what a user may do in the account, then return the user.

Inputs

Usermembership_idnumberRequired
The user, as a member of this account.At least 1.
RoleroletextRequired
What the user may do in AB Tasty: view reports, work on campaigns, create them, or run the account.One of: viewer, user, creator, admin.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "_embedded": {
      "user": {
        "connection_count": 1,
        "creation_date": "example",
        "email": "example",
        "firstname": "example",
        "id": 1,
        "last_login_time": "example",
        "lastname": "example",
        "mfa_enabled": true
      }
    },
    "id": 1,
    "role": "example"
  }
}

Clear AB Tasty script

Empty the AB Tasty script in an emergency, so no campaign shows on your website until the script is next updated (by playing or pausing a campaign, or the Update AB Tasty script step).

Inputs

None.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "cleared": true
  }
}

Get AB Tasty script checksums

Get the checksums of the last 10 versions of the AB Tasty script, to check the file your site loads (SHA-512, Base64).

Inputs

None.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "checksum_files": [
      {
        "created_at": {
          "pattern": "example",
          "readable_date": "example",
          "timestamp": 1
        },
        "hash": "example",
        "id": 1,
        "size": 1
      }
    ]
  }
}

Get account statistics

Get the account's campaign counts by type (running and paused), its number of users, and campaigns created, started and played each month with their visitors.

Inputs

None.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "campaign_states": {},
    "count_collaborators": 1,
    "count_collaborators_connections": 1,
    "created_experiments": [
      {
        "avg_visitors": "example",
        "count_tests": "example",
        "count_visitors": "example",
        "month_year": "example"
      }
    ],
    "played_experiments": [
      {
        "count_tests": "example",
        "count_visitors": "example",
        "month_year": "example"
      }
    ],
    "started_experiments": [
      {
        "count_tests": "example",
        "count_visitors": "example",
        "month_year": "example"
      }
    ]
  }
}

Get one of the tools a campaign sends its data to.

Inputs

Campaigntest_idnumberRequired
The campaign.At least 1.
Tool linktool_link_idnumberRequired
The analytics tool link.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "custom_tracker": "example",
    "from_account": 1,
    "id": 1,
    "name": "example",
    "value": "example"
  }
}

Get campaign

Get a campaign: its type, status, traffic, URL, schedule, visitors and labels.

Inputs

Campaigntest_idnumberRequired
The campaign.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "active": true,
    "audience_id": "example",
    "creation_date": "example",
    "creator_id": 1,
    "description": "example",
    "id": 1,
    "labels": [
      "example"
    ],
    "last_pause_timestamp": 1,
    "last_play_timestamp": 1,
    "name": "example",
    "preprod": true,
    "report_token": "example",
    "start_datetime": 1,
    "start_stop_timezone": "example",
    "state": "example",
    "stop_datetime": 1,
    "test_visitor_count": 1,
    "traffic": 1,
    "tunnel_parent": 1,
    "type": "example",
    "url": "example",
    "visitors_count": 1
  }
}

Get modification

Get one change a variation makes to the page.

Inputs

Campaigntest_idnumberRequired
The campaign.At least 1.
Variationvariation_idnumberRequired
The variation of the campaign. The original version is 0.At least 0.
Modificationmodification_idnumberRequired
The modification.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "id": 1,
    "name": "example",
    "recursive": "example",
    "selector": "example",
    "type": "example",
    "use_modification_engine": true,
    "value": "example",
    "value_engine": "example"
  }
}

Get user

Get one user of the account: their role, name, email and when they last signed in.

Inputs

Usermembership_idnumberRequired
The user, as a member of this account.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "_embedded": {
      "user": {
        "connection_count": 1,
        "creation_date": "example",
        "email": "example",
        "firstname": "example",
        "id": 1,
        "last_login_time": "example",
        "lastname": "example",
        "mfa_enabled": true
      }
    },
    "id": 1,
    "role": "example"
  }
}

Get variation

Get one variation of a campaign.

Inputs

Campaigntest_idnumberRequired
The campaign.At least 1.
Variationvariation_idnumberRequired
The variation of the campaign. The original version is 0.At least 0.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "description": "example",
    "id": 1,
    "name": "example",
    "traffic": 1,
    "type": "example"
  }
}

List the analytics and third-party tools a campaign sends its data to, such as Google Analytics.

Inputs

Campaigntest_idnumberRequired
The campaign.At least 1.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Records per pageper_pagenumber
How many records each page holds. AB Tasty returns 10 when this is empty.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "_embedded": {
      "items": [
        {
          "custom_tracker": "example",
          "from_account": 1,
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ]
    },
    "limit": 1,
    "page": 1,
    "pages": 1,
    "total": 1
  }
}

List campaign events

List the clicks and other actions a campaign tracks, and the plugins it uses.

Inputs

Campaigntest_idnumberRequired
The campaign.At least 1.
Kindtypetext
Only tracked actions, or only plugins. Leave empty for both.One of: actionTracking (Action tracking), plugin.
Ordersort_by_idtext
List the newest or the oldest first.One of: DESC (Newest first), ASC (Oldest first).
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Records per pageper_pagenumber
How many records each page holds. AB Tasty returns 10 when this is empty.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "_embedded": {
      "items": [
        {
          "config": "example",
          "id": 1,
          "type": "example",
          "value": "example"
        }
      ]
    },
    "limit": 1,
    "page": 1,
    "pages": 1,
    "total": 1
  }
}

List campaigns

List the account's campaigns (tests and personalizations), with filters for type, running or paused, schedule and tags.

Inputs

Searchsearchtext
Only campaigns whose name, URL or ID contains this.
Typestypeslist
Only campaigns of these types. Leave empty for every type.One or more of: ab (A/B test), multipage (Multipage test), mvt (Multivariate test (mvt)), multivariate (Multivariate test), mastersegment (Personalization), subsegment (Personalization scenario), segmentation, predictive, tunnel (Funnel), mobileapp (Mobile app), heatmap.
Running or pausedrunningtext
Only running or only paused campaigns. Leave empty for both.One of: 1 (Running), 0 (Paused).
Schedulescheduledtext
Only campaigns with, or without, a scheduled start or end.One of: 1 (Scheduled), 0 (Not scheduled).
Pre-production onlypreprod_onlytrue/false
Only campaigns in pre-production.
Tagstagslist
Only campaigns with these tags.
Leave out tagsexclude_tagslist
Leave out campaigns with these tags.
Ordersort_by_idtext
List the newest or the oldest campaigns first.One of: DESC (Newest first), ASC (Oldest first).
Order by namesort_by_nametext
List campaigns by name.One of: ASC (A to Z), DESC (Z to A).
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Records per pageper_pagenumber
How many records each page holds. AB Tasty returns 10 when this is empty.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "_embedded": {
      "items": [
        {
          "active": true,
          "audience_id": "example",
          "creation_date": "example",
          "creator_id": 1,
          "description": "example",
          "id": 1,
          "labels": [
            "example"
          ],
          "last_pause_timestamp": 1,
          "last_play_timestamp": 1,
          "name": "example",
          "preprod": true,
          "report_token": "example",
          "start_datetime": 1,
          "start_stop_timezone": "example",
          "state": "example",
          "stop_datetime": 1,
          "test_visitor_count": 1,
          "traffic": 1,
          "tunnel_parent": 1,
          "type": "example",
          "url": "example",
          "visitors_count": 1
        }
      ]
    },
    "limit": 1,
    "page": 1,
    "pages": 1,
    "total": 1
  }
}

List modifications

List the changes a variation makes to the page: each one's type, CSS selector and value.

Inputs

Campaigntest_idnumberRequired
The campaign.At least 1.
Variationvariation_idnumberRequired
The variation of the campaign. The original version is 0.At least 0.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Records per pageper_pagenumber
How many records each page holds. AB Tasty returns 10 when this is empty.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "_embedded": {
      "items": [
        {
          "id": 1,
          "name": "example",
          "recursive": "example",
          "selector": "example",
          "type": "example",
          "use_modification_engine": true,
          "value": "example",
          "value_engine": "example"
        }
      ]
    },
    "limit": 1,
    "page": 1,
    "pages": 1,
    "total": 1
  }
}

List users

List the people who can use this AB Tasty account, with their role, email and last sign-in.

Inputs

Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Records per pageper_pagenumber
How many records each page holds. AB Tasty returns 10 when this is empty.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "_embedded": {
      "items": [
        {
          "_embedded": {
            "user": {
              "connection_count": 1,
              "creation_date": "example",
              "email": "example",
              "firstname": "example",
              "id": 1,
              "last_login_time": "example",
              "lastname": "example",
              "mfa_enabled": true
            }
          },
          "id": 1,
          "role": "example"
        }
      ]
    },
    "limit": 1,
    "page": 1,
    "pages": 1,
    "total": 1
  }
}

List variations

List a campaign's variations, including the original, with each one's share of traffic.

Inputs

Campaigntest_idnumberRequired
The campaign.At least 1.

Outputs

datalist
The response from AB Tasty.
Example output
{
  "data": [
    {
      "description": "example",
      "id": 1,
      "name": "example",
      "traffic": 1,
      "type": "example"
    }
  ]
}

Remove user

Take away a user's access to the account.

Inputs

Usermembership_idnumberRequired
The user, as a member of this account.At least 1.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "membership_id": 1,
    "removed": true
  }
}

Update AB Tasty script

Rebuild the AB Tasty script your website loads, so it carries the campaigns' latest changes.

Inputs

None.

Outputs

dataobject
The response from AB Tasty.
Example output
{
  "data": {
    "rebuilt": true
  }
}

On this page