View source: R/web_properties.R
Create a new property in Google Analytics
1 | create_property(accountId, name, websiteUrl = NULL, industryVertical = NULL)
|
accountId |
Account ID to link to new web property. Does not accept ~all as paramter |
name |
Name of web property |
websiteUrl |
Optional field. Website url for this web property. |
industryVertical |
Optional field. The industry vertical/category selected for this web property. If this field is set, the correct values are: UNSPECIFIED, ARTS_AND_ENTERTAINMENT |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.