Insert
|
|||||
|
|
Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Edit Google Analytics management entities
Input
This building block consumes 25 input parameters
Name | Format | Description |
---|---|---|
accountId Required |
STRING |
Account ID to create the web property for |
accountId |
STRING |
Account ID to which this web property belongs |
childLink |
OBJECT |
Child link for this web property. Points to the list of views (profiles) for this web property |
childLink.href |
STRING |
Link to the list of views (profiles) for this web property |
childLink.type |
STRING |
Type of the parent link. Its value is "analytics#profiles" |
created |
DATE_TIME |
Time this web property was created |
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 |
dataRetentionTtl |
STRING |
The length of time for which user and event data is retained. This property cannot be set on insert |
defaultProfileId |
INTEGER |
Default view (profile) ID |
id |
STRING |
Web property ID of the form UA-XXXXX-YY |
industryVertical |
STRING |
The industry vertical/category selected for this web property |
internalWebPropertyId |
STRING |
Internal ID for this web property |
kind |
STRING |
Resource type for Analytics WebProperty |
level |
STRING |
Level for this web property. Possible values are STANDARD or PREMIUM |
name |
STRING |
Name of this web property |
parentLink |
OBJECT |
Parent link for this web property. Points to the account to which this web property belongs |
parentLink.href |
STRING |
Link to the account for this web property |
parentLink.type |
STRING |
Type of the parent link. Its value is "analytics#account" |
permissions |
OBJECT |
Permissions the user has for this web property |
permissions.effective[] |
STRING |
|
profileCount |
INTEGER |
View (Profile) count for this web property |
selfLink |
STRING |
Link for this web property |
starred |
BOOLEAN |
Indicates whether this web property is starred or not |
updated |
DATE_TIME |
Time this web property was last modified |
websiteUrl |
STRING |
Website url for this web property |
= Parameter name
= Format
accountId STRING Required Account ID to create the web property for |
accountId STRING Account ID to which this web property belongs |
childLink OBJECT Child link for this web property. Points to the list of views (profiles) for this web property |
childLink.href STRING Link to the list of views (profiles) for this web property |
childLink.type STRING Type of the parent link. Its value is "analytics#profiles" |
created DATE_TIME Time this web property was created |
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 |
dataRetentionTtl STRING The length of time for which user and event data is retained. This property cannot be set on insert |
defaultProfileId INTEGER Default view (profile) ID |
id STRING Web property ID of the form UA-XXXXX-YY |
industryVertical STRING The industry vertical/category selected for this web property |
internalWebPropertyId STRING Internal ID for this web property |
kind STRING Resource type for Analytics WebProperty |
level STRING Level for this web property. Possible values are STANDARD or PREMIUM |
name STRING Name of this web property |
parentLink OBJECT Parent link for this web property. Points to the account to which this web property belongs |
parentLink.href STRING Link to the account for this web property |
parentLink.type STRING Type of the parent link. Its value is "analytics#account" |
permissions OBJECT Permissions the user has for this web property |
permissions.effective[] STRING |
profileCount INTEGER View (Profile) count for this web property |
selfLink STRING Link for this web property |
starred BOOLEAN Indicates whether this web property is starred or not |
updated DATE_TIME Time this web property was last modified |
websiteUrl STRING Website url for this web property |
Output
This building block provides 24 output parameters
Name | Format | Description |
---|---|---|
accountId |
STRING |
Account ID to which this web property belongs |
childLink |
OBJECT |
Child link for this web property. Points to the list of views (profiles) for this web property |
childLink.href |
STRING |
Link to the list of views (profiles) for this web property |
childLink.type |
STRING |
Type of the parent link. Its value is "analytics#profiles" |
created |
DATE_TIME |
Time this web property was created |
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 |
dataRetentionTtl |
STRING |
The length of time for which user and event data is retained. This property cannot be set on insert |
defaultProfileId |
INTEGER |
Default view (profile) ID |
id |
STRING |
Web property ID of the form UA-XXXXX-YY |
industryVertical |
STRING |
The industry vertical/category selected for this web property |
internalWebPropertyId |
STRING |
Internal ID for this web property |
kind |
STRING |
Resource type for Analytics WebProperty |
level |
STRING |
Level for this web property. Possible values are STANDARD or PREMIUM |
name |
STRING |
Name of this web property |
parentLink |
OBJECT |
Parent link for this web property. Points to the account to which this web property belongs |
parentLink.href |
STRING |
Link to the account for this web property |
parentLink.type |
STRING |
Type of the parent link. Its value is "analytics#account" |
permissions |
OBJECT |
Permissions the user has for this web property |
permissions.effective[] |
STRING |
|
profileCount |
INTEGER |
View (Profile) count for this web property |
selfLink |
STRING |
Link for this web property |
starred |
BOOLEAN |
Indicates whether this web property is starred or not |
updated |
DATE_TIME |
Time this web property was last modified |
websiteUrl |
STRING |
Website url for this web property |
= Parameter name
= Format
accountId STRING Account ID to which this web property belongs |
childLink OBJECT Child link for this web property. Points to the list of views (profiles) for this web property |
childLink.href STRING Link to the list of views (profiles) for this web property |
childLink.type STRING Type of the parent link. Its value is "analytics#profiles" |
created DATE_TIME Time this web property was created |
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 |
dataRetentionTtl STRING The length of time for which user and event data is retained. This property cannot be set on insert |
defaultProfileId INTEGER Default view (profile) ID |
id STRING Web property ID of the form UA-XXXXX-YY |
industryVertical STRING The industry vertical/category selected for this web property |
internalWebPropertyId STRING Internal ID for this web property |
kind STRING Resource type for Analytics WebProperty |
level STRING Level for this web property. Possible values are STANDARD or PREMIUM |
name STRING Name of this web property |
parentLink OBJECT Parent link for this web property. Points to the account to which this web property belongs |
parentLink.href STRING Link to the account for this web property |
parentLink.type STRING Type of the parent link. Its value is "analytics#account" |
permissions OBJECT Permissions the user has for this web property |
permissions.effective[] STRING |
profileCount INTEGER View (Profile) count for this web property |
selfLink STRING Link for this web property |
starred BOOLEAN Indicates whether this web property is starred or not |
updated DATE_TIME Time this web property was last modified |
websiteUrl STRING Website url for this web property |