DemocracyLab / DemocracyLab/CivicTechExchange

Analytics: Redundant Hostnames

Open
#494 0 comments 0 reactions 0 assignees View on GitHub
Investigation OPERATIONS
Dominant language
JavaScript
Stars
105
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Google Analytics is showing the alert:

Property democracylab.org is receiving data from redundant hostnames. Some of the redundant hostnames are:
democracylab.org
www.democracylab.org
Redundant hostnames are counted as separate rows in reports, so hits that are going to the same page on your site from different hostnames will be split into multiple rows. With data split across multiple rows, traffic to specific pages will appear lower than it actually is.

To avoid this problem, consider setting up a 301 redirect from one of your redundant hostnames to the other, or create a search-and-replace filter that strips "www." from hostnames.

Google Tag Assistant Recordings can help you verify that your redirect is setup correctly, or that your filter is working as intended.

[Trello Card](https://trello.com/c/WkmmQSR2)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.