Google Analytics Setup for All Client Sites
- Ensure 3 views exist: 1 for raw data, 1 for testing purposed, and 1 for filtered data used for on-going analysis. Rename these views Raw Data, Test View, and Master View if necessary.
- Select the Master View and click on the gear icon with accompanying text "Admin"
- Under the Account column, select Account Settings
- At the bottom of the Account Settings screen, ensure that a Data Processing Amendment has been processed. Click Save. (all GA accounts must have a completed DPA on file)
- Under the Property column, select Property Settings
- Review the Default URL for accuracy, paying close attention to http:// vs. https:// & www.{CLIENT}.com/ vs. {CLIENT}.com/
- Review the Industry Category for accuracy
- Leave "Allow manual tagging (UTM values) to override auto-tagging..." option under Advanced Settings *unchecked*
- Leave Use enhanced link attribution option under In-Page Analytics *unchecked*
- Leave Start In-Page Analytics in set to Embedded mode
- If you received access to the client's Google Search Console property in Phase II, click Adjust Search Console and review the settings for accuracy. If not, skip this step for now.
- For the Enable User Metric in Reporting under User Analysis, select ON. Click Save.
- Under the Property column, select Tracking Info > Data Collection
- For the Data Collection for Google Signals setting, select ON. Click Save.
- Under the Property column, select Tracking Info > Data Retention. 26 months is appropriate for most clients, as it allows for year-over-year comparisons. Some clients may request the "Do no not automatically expire option". As a general rule, data should not be retained for longer than it provides business value.
- For the Reset on new activity option, select ON. Click Save.
- The User-ID option under Property > Tracking Info > User-ID is *not* appropriate for most websites. A exception would be a service that people consistently log into from multiple devices. Take caution with using this option, and understand the implications for privacy policy, user notice & consent, and PII concerns before implementing.
- Under the Property Column, select Tracking Info > Referral Exclusion List
- The default domain will show up automatically. Click + Add Referral Exclusion and enter in the non-standard version of the clients domain (ultimately both www & non-www versions of the clients domain should show up in this list). Click Create.
- Repeat the last step for the domain [ translate.googleusercontent.com ]
- Under the Property column, select Product Linking > Google Ads Linking
- If you received access to the client's Google Ads account, review this setting for accuracy. If not, skip this step for now.
- Under the Property Column, select Optimize and Tag Manger Linking
- Under the View column, select View Settings
- Under Website's URL, ensure https:// is selected, and the URL listed is the default version (load the site and see if the URL contains www. or not)
- Confirm that the Time zone country or territory match that of the client's headquarters
- Check the box next to Exclude all hits from known bots and spiders under Bot Filtering
- If the client's website has search functionality, toggle the Site search Tracking option to ON. Click Save.
- Open the {CLIENT} Form Tracking Map spreadsheet that you created. Create a destination based goal for all confirmation pages. Use the naming convention Thank You - Contact Form, for example.
- Set the goal type to Destination and click Continue.
- For Destination under Goal details, select Equals to and enter in the portion of the confirmation page URL *after* .com
- If the site has historical data in Google Analytics, click Verify this Goal to confirm proper set-up. If not, skip this step for now and verify the goal after a week or so of data collection. Click Save.
- Repeat the previous 4 steps for all confirmation pages listed on the {Client} Form Tracking Map spreadsheet
Additional Steps For E-commerce sites: Setup a purchase funnel goal
- Under Goal Setup select the Buy merchandise option and click Continue
- Use the naming convention Purchased {PRODUCT NAME/TYPE} - Funnel
- Select Destination under Type and click Continue
- For Destination select Equals to and enter in the portion of the order confirmation page URL *after* .com. For sites with order confirmation pages that load with dynamic values, use the Regular expression option and write a simple RegEx that will match *all* versions of the order confirmation page.
- Under Funnel, select ON
- For Step 1, enter information for the product page. (ex: Name: {PRODUCT NAME/TYPE} Product Page // Screen/Page: /store/product)
- Repeat the step above for the checkout page.
- If the site has historical data in Google Analytics, click Verify this Goal to confirm proper set-up. If not, skip this step for now and verify the goal after a week or so of data collection. Click Save.
Filter Unwanted Traffic & Spam
Filter your Agency IP Address
- Click + Add Filter
- Enter [ {AGENCY} IP ] for Filter name
- For Filter Type, select Predefined / Exclude / traffic from the IP addresses / that are equal to
- Enter the IP address for {AGENCY}'s office and click Save
- Click + Add Filter
Filter Webflow Staging Domian Traffic
- Click + Add Filter
- Enter [ Exclude Webflow Staging URL Traffic ] for Filter Name
- For Filter Type, select Predefined / Exclude / traffic from the ISP domain / that contain
- Enter [ domain.webflow.io ] for the ISP domain and click Save
Combine Instagram Referrals
- Click + Add Filter
- Enter [ Combine Instagram Referrals ] for Filter Name
- For Filter Type, select Custom / Search and Replace
- Under Filter Field, select Campaign Source
- Enter [ .*instagram ] for Search String and [ instagram ] for Replace String. Click Save
Combine Facebook Referrals
- Enter [ Combine Facebook Referrals ] for Filter Name
- For Filter Type, select Custom / Search and Replace
- Under Filter Field, select Campaign Source
- Enter [ .*facebook ] for Search String and [ facebook ] for Replace String. Click Save
Cross-domain tracking
- DELETE the "Include Valid Hostnames" filter
- Click + Add Filter
- Enter [ Full URLs ] for Filter Name
- For Filter Type, select Custom / Advanced
- For Field A -> Extract A, select Hostname, and enter [ (.*) ]
- For Field B -> Extract B, select Request URI, and enter [ (.*) ]
- For Output To -> Constructor, select Request URI, and enter [ $A1$B1 ]
- Check the boxes next to Field A Required, Field B Required, and Override Output Field. Click Save
- Under the Property column, select Referral Exclusion List
- Click + Add Referral Exclusion, and add the outside domain that will be linked to this Analytics property. An example would be a third-party platform used to process transactions, such as event bookings. Click Create.
- Repeat the last step as required, accounting for all linked domains
- Review the on-page code and ensure the Google Analytics snippet contains the additional syntax required for linking domains.
Additional Resources
There are a number of text and number strings referenced below that use square brackets with an opening and closing space to highlight the given string. When entering these strings, do not include the square brackets and opening and closing spaces. For example, if you see [ XXXXXX ], you would enter XXXXXX into the given settings field in Google Analytics.