Create Account Tree

Provision account

6 variables
71 variables

Provision account

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Create a new Google Analytics account along with its default property and view

Input

This building block consumes 6 input parameters

  = Parameter name
  = Format

accountName STRING

kind STRING

Resource type for account ticket

profileName STRING

timezone STRING

webpropertyName STRING

websiteUrl STRING

Output

This building block provides 71 output parameters

  = Parameter name
  = Format

account OBJECT

JSON template for Analytics account entry

account.childLink OBJECT

Child link for an account entry. Points to the list of web properties for this account

account.childLink.href STRING

Link to the list of web properties for this account

account.childLink.type STRING

Type of the child link. Its value is "analytics#webproperties"

account.created DATE_TIME

Time the account was created

account.id STRING

Account ID

account.kind STRING

Resource type for Analytics account

account.name STRING

Account name

account.permissions OBJECT

Permissions the user has for this account

account.permissions.effective[] STRING

account.selfLink STRING

Link for this account

account.starred BOOLEAN

Indicates whether this account is starred or not

account.updated DATE_TIME

Time the account was last modified

kind STRING

Resource type for account ticket

profile OBJECT

JSON template for an Analytics view (profile)

profile.accountId STRING

Account ID to which this view (profile) belongs

profile.botFilteringEnabled BOOLEAN

Indicates whether bot filtering is enabled for this view (profile)

profile.childLink OBJECT

Child link for this view (profile). Points to the list of goals for this view (profile)

profile.childLink.href STRING

Link to the list of goals for this view (profile)

profile.childLink.type STRING

Value is "analytics#goals"

profile.created DATE_TIME

Time this view (profile) was created

profile.currency STRING

The currency type associated with this view (profile), defaults to USD. The supported values are: USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL

profile.defaultPage STRING

Default page for this view (profile)

profile.eCommerceTracking BOOLEAN

Indicates whether ecommerce tracking is enabled for this view (profile)

profile.enhancedECommerceTracking BOOLEAN

Indicates whether enhanced ecommerce tracking is enabled for this view (profile). This property can only be enabled if ecommerce tracking is enabled

profile.excludeQueryParameters STRING

The query parameters that are excluded from this view (profile)

profile.id STRING

View (Profile) ID

profile.internalWebPropertyId STRING

Internal ID for the web property to which this view (profile) belongs

profile.kind STRING

Resource type for Analytics view (profile)

profile.name STRING

Name of this view (profile)

profile.parentLink OBJECT

Parent link for this view (profile). Points to the web property to which this view (profile) belongs

profile.parentLink.href STRING

Link to the web property to which this view (profile) belongs

profile.parentLink.type STRING

Value is "analytics#webproperty"

profile.permissions OBJECT

Permissions the user has for this view (profile)

profile.permissions.effective[] STRING

profile.selfLink STRING

Link for this view (profile)

profile.siteSearchCategoryParameters STRING

Site search category parameters for this view (profile)

profile.siteSearchQueryParameters STRING

The site search query parameters for this view (profile)

profile.starred BOOLEAN

Indicates whether this view (profile) is starred or not

profile.stripSiteSearchCategoryParameters BOOLEAN

Whether or not Analytics will strip search category parameters from the URLs in your reports

profile.stripSiteSearchQueryParameters BOOLEAN

Whether or not Analytics will strip search query parameters from the URLs in your reports

profile.timezone STRING

Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database

profile.type STRING

View (Profile) type. Supported types: WEB or APP

profile.updated DATE_TIME

Time this view (profile) was last modified

profile.webPropertyId STRING

Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs

profile.websiteUrl STRING

Website URL for this view (profile)

webproperty OBJECT

JSON template for an Analytics web property

webproperty.accountId STRING

Account ID to which this web property belongs

webproperty.childLink OBJECT

Child link for this web property. Points to the list of views (profiles) for this web property

webproperty.childLink.href STRING

Link to the list of views (profiles) for this web property

webproperty.childLink.type STRING

Type of the parent link. Its value is "analytics#profiles"

webproperty.created DATE_TIME

Time this web property was created

webproperty.dataRetentionResetOnNewActivity BOOLEAN

Set to true to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period). Set to false to delete data associated with the user identifier automatically after the rentention period. This property cannot be set on insert

webproperty.dataRetentionTtl STRING

The length of time for which user and event data is retained. This property cannot be set on insert

webproperty.defaultProfileId INTEGER

Default view (profile) ID

webproperty.id STRING

Web property ID of the form UA-XXXXX-YY

webproperty.industryVertical STRING

The industry vertical/category selected for this web property

webproperty.internalWebPropertyId STRING

Internal ID for this web property

webproperty.kind STRING

Resource type for Analytics WebProperty

webproperty.level STRING

Level for this web property. Possible values are STANDARD or PREMIUM

webproperty.name STRING

Name of this web property

webproperty.parentLink OBJECT

Parent link for this web property. Points to the account to which this web property belongs

webproperty.parentLink.href STRING

Link to the account for this web property

webproperty.parentLink.type STRING

Type of the parent link. Its value is "analytics#account"

webproperty.permissions OBJECT

Permissions the user has for this web property

webproperty.permissions.effective[] STRING

webproperty.profileCount INTEGER

View (Profile) count for this web property

webproperty.selfLink STRING

Link for this web property

webproperty.starred BOOLEAN

Indicates whether this web property is starred or not

webproperty.updated DATE_TIME

Time this web property was last modified

webproperty.websiteUrl STRING

Website url for this web property