regex - Fail to filtering Spam Referal in Google Analytics -
i see lot of spam referal in google analytics... i'm creating new custom filter , exclude 'hostname' field, regex pattern: .*best\-seo\-(offer|solution)\.com|buttons\-for\-your\-website\.com
but somehow referal still coming up! wrong regex pattern eventhough validate through regexpal.com
any insight ?
filtering hostname exclude sessions occur on domains have same ga tracking code on domain yours. see hostname custom report example.
instead exclude referral traffic adding spam domains referral exclusion list (admin > property > tracking info > referral exclusion list.) unfortunately, can't add regex: have enter each domain separately. more info on referral exclusion list.
this custom report give list of spam domains exclude.
update: i've changed answer previous answer inflate direct traffic.
you should filter out referrals instead of hostname exclude spam referral traffic. when creating filter, make sure have view has no filters on. here's how create filter:
- admin > view > filters
- + new filter
- filter type == custom
- exclude, filter field == referral
Comments
Post a Comment