Creating a Hostname Filter
- Go to
Admin > View > Filtersand create a new filter
Custom, with "Include", field "Hostname", filter pattern your-website-url.
- If there's Analytics data available, you can verify that the filter works as intended
- Don't forget to save!
Google Tag Manager Best practices
Save the Universal Analytics ID in a