View source: R/filter_management.R
| ga_filter_apply_to_view | R Documentation | 
Apply an existing filter to view.
ga_filter_apply_to_view(filterId, accountId, webPropertyId, viewId)
| filterId | The id of the filter to be added to profile/view | 
| accountId | Account Id of the account that contains the filter | 
| webPropertyId | Web property Id to create profile filter link for | 
| viewId | Profile/view Id to create profile filter link for | 
A profileFilterLink object
Other managementAPI functions: 
ga_experiment(),
ga_experiment_list(),
ga_filter_add(),
ga_filter_update(),
ga_filter_update_filter_link(),
ga_segment_list()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.