2 Clarifications, and embedded link with descriptive title.
source | link

You can set GA upsetup Google Analytics to excludeexclude based on the referrer domain.

  See this for more: https://support.google.com/analytics/answer/1034842Google Analytics - Exclude referrers

Also, you could block these based on the referrer as well via your .htaccess.htaccess or apacheApache conf file., like this:

RewriteCond %{HTTP_REFERER} ^.*\.doubleclick\.net.*$ [NC]
RewriteRule ^(.*)$ - [F]

(rather than blocking multiple IP addresses)

You can set GA up to exclude based on the referrer domain.

 https://support.google.com/analytics/answer/1034842

Also, you could block these based on the referrer as well via your .htaccess or apache conf file.

RewriteCond %{HTTP_REFERER} ^.*\.doubleclick\.net.*$ [NC]
RewriteRule ^(.*)$ - [F]

(rather than blocking multiple IP addresses)

You can setup Google Analytics to exclude based on the referrer domain. See this for more: Google Analytics - Exclude referrers

Also, you could block these based on the referrer as well via your .htaccess or Apache conf file, like this:

RewriteCond %{HTTP_REFERER} ^.*\.doubleclick\.net.*$ [NC]
RewriteRule ^(.*)$ - [F]

(rather than blocking multiple IP addresses)

1
source | link

You can set GA up to exclude based on the referrer domain.

https://support.google.com/analytics/answer/1034842

Also, you could block these based on the referrer as well via your .htaccess or apache conf file.

RewriteCond %{HTTP_REFERER} ^.*\.doubleclick\.net.*$ [NC]
RewriteRule ^(.*)$ - [F]

(rather than blocking multiple IP addresses)