What is Dostpy in Google Analytics?
If you’ve recently checked your Google Analytics reports and noticed traffic from a source called “dostpy,” your first thought might be confusion. Dostpy isn't a social network, a search engine, or any standard marketing channel. This article will show you exactly what dostpy is, why it's harmful to your data integrity, and how to remove it from your reports for good.
What is Dostpy in Google Analytics?
Dostpy is a form of referral spam, not legitimate website traffic. These are fake visits sent to your site by bots, not humans, with the sole purpose of getting their website name to appear in your analytics reports. Their goal is simple: they want curious website owners like you to see their name in the referral traffic report and visit their domain out of curiosity.
Once you visit their site, they might try to sell you a service, infect your computer with adware, or simply generate traffic to boost their own site's metrics. Whatever their motive, this traffic provides zero value to your business.
How Referral Spam Works
Referral spam falls into two main categories, and "dostpy" is an example of the annoying bot variety.
- Ghost Spam: This type of spam doesn’t even visit your website. Spammers send fake data directly to Google Analytics servers using your Measurement ID (e.g., UA-XXXXX-X or G-XXXXXXX). It's called "ghost spam" because there's no actual "footprint" on your server - only a ghostly presence in your analytics.
- Bot Spam (Crawlers): This is when automated bots actually visit your website. They crawl your pages for a brief moment and leave behind a fake referring URL - like dostpy - in your server logs, which Google Analytics then picks up. This type of spam is more common and what sources like dostpy typically represent.
In either case, the analytics data these bots produce is useless and actively misleads you about your website's performance.
Free PDF · the crash course
AI Agents for Marketing Crash Course
Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.
Why Referral Spam Like Dostpy Is a Problem
A few fake pageviews might not seem like a big deal, particularly for high-traffic sites. However, referral spam can severely distort your most important metrics, leading to poor decisions based on flawed data. When you have spam sessions polluting your analytics, it will negatively affect your data in several key ways. Here's a closer look at the damage it does:
It Smashes Your Engagement Metrics
Bots don't behave like human visitors. They typically "visit" a single page and leave immediately, resulting in:
- 100% or 0% Bounce Rate: Because these sessions only involve a single pageview without any interaction, you’ll often see a 100% bounce rate associated with them.
- 00:00:00 Average Session Duration: Bots execute their task and leave instantly, leading to an average session duration of zero.
- 1 Page per Session: They don't navigate through your site, so they only ever register one page per session.
Imagine your analytics show hundreds of sessions from dostpy, all with a 100% bounce rate. This junk data will artificially inflate your site-wide average bounce rate, making it look like your real visitors find your content unengaging, when that might not be the case at all. This might cause some serious second-guessing over a perfectly fine content strategy!
It Artificially Inflates Your User and Session Counts
Every fake visit from a referral spam source gets counted as a new user and a new session. If you get a significant amount of spam, it can look like your traffic is growing even when your real audience isn't. This can be especially misleading if you're trying to measure the audience's response to a new campaign or product launch.
If you report "a 20% increase in website traffic" to your boss or client without realizing that half of that increase is from spam, you're not presenting an accurate picture of performance.
It Clouds Your Real Acquisition Data
Effective marketing relies on knowing where your actual customers are coming from. Referral spam clutters your acquisition reports, making it harder to identify the channels that are actually effective sources of visitors and sales.
If sources like dostpy appear near the top of your referral list, they push down legitimate referring sites. As a result, you might overlook a small but highly-engaged partner blog or a valuable social media link, simply because it's buried under layers of spammy reports.
Step 1: How to Confirm the Dostpy Traffic is Spam
Before you start filtering, you should be 100% sure the traffic is junk. Usually spam reports have some consistent, tell-tale signs. Here’s a quick checklist to verify it's spam within your Google Analytics 4 property.
- Navigate to your Traffic Acquisition reports. In GA4, go to Reports > Acquisition > Traffic acquisition.
- Change the primary dimension. Avoid the table of results, change the primary dimension from Session default channel grouping to Session source / medium.
- Filter for the suspicious source. Use the search bar right above the chart area to filter for “dostpy.”
- Analyze the engagement metrics. In almost all analytics reports, spam traffic shows obvious fake numbers when analyzed. You’ll probably see numbers that look something like this:
- Users: A handful or hundreds
- Sessions: Similar to the number of users
- Engaged sessions: 0
- Average engagement time: 00:00:00
- Conversions: 0
If the data looks like this, with essentially zero meaningful user engagement, you can confidently flag it as spam.
Free PDF · the crash course
AI Agents for Marketing Crash Course
Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.
Step 2: How to Block Dostpy Spam in Google Analytics 4
Google has improved its automatic bot filtering in analytics, but clever new spam sources constantly find loopholes and break into reporting. When you find one of these loopholes, manually removing the referral's junk traffic sessions is your best bet. In GA4, the best method for dealing with junk traffic from referrals is to add the unwanted source to your referral exclusion list, preventing it from showing in analytics reports. Here's a quick and easy, low-stress guide showing you how to implement your updates:
Use "List Unwanted Referrals"
This feature tells Google Analytics to ignore traffic identified as coming from certain domains that you specify.
- Go to the Admin screen (click the gear icon in the bottom-left corner).
- Under the Property column, select Data Streams.
- Click on the specific web data stream you want to modify (in most cases, users will likely only have one).
- In the stream details panel, scroll down and click on Configure tag settings.
- On the Configuration screen, click Show more if the options list is collapsed.
- Click on List unwanted referrals.
- In the Domain field, type dostpy to add the referral domain.
- Click Save.
This will prevent traffic sessions from the dostpy referral domain from being further processed in your GA4 reports going forward. Note: this setting only works for data after it’s enabled, it’s not retroactive - old sessions data will remain unchanged.
Best Practices for Keeping Your GA Data Clean
Maintaining a clean dataset is an ongoing battle, and new spam sources always appear. Here are some simple steps to keep your data clean:
- Regularly Audit Your Reports: Set a monthly review of your GA4 Traffic Acquisition reports to spot any new sources.
- Enable Bot Filtering: GA4 has automatic filtering for known bots and spiders, and it should be enabled by default. Verify it’s on in the Admin panel.
- Don’t Click on Suspicious Links: If you see a new or unknown referring domain in your reports, resist the urge to click it. That’s what spammers want.
- Focus on Meaningful Metrics: Instead of panicking over traffic spikes, focus on conversions, revenue, and other important metrics. Bots rarely convert, so filter them out so your data represents actual performance.
Final Thoughts
Dostpy and other referral spam may be annoying, but it's a manageable problem. By using exclusion features and regular audits, you can keep your data clean and focus on the signals that truly matter. This will help you make informed decisions and maintain data integrity.
We know how important it is to manage your analytics effectively. To streamline this, consider using tools like Graphed to stay organized and improve your data analysis.
Related Articles
How to Create Facebook Ads API for Claude Code
Create a Meta Marketing API access token that never expires, using a system user, so Claude Code can pull Facebook ad reports and manage campaigns.
ClickHouse vs Postgres: When to Switch to Columnar
Comparing ClickHouse vs PostgreSQL means matching storage architecture to workload. Row storage wins for transactions. Columnar wins for scan-heavy analytics.
Google Ads for Orthodontists: Get More Booked Consults
Most orthodontic Google Ads campaigns waste money on low-intent searches. The problem is structure, not the platform.