Analytics
3.6K members online now
3.6K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Filter GA event tracking to avoid incorrect stats

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I use Zoho CRM and their system doesn't have an email tracking feature like SalesForce does, so I found a "fix" for it, but it's not working properly. I put the following code into my html email template so I'm able to know when an email sent through the CRM has been opened by the recipient: 

<img src="http://www.google-analytics.com/collect?v=1&tid=UA-25928694-2&cid=${Leads.Lead Id}&t=event&ec=email&ea=open&el=${Leads.Company}&cs=crm&cm=email&cn=prospect" alt="">

${Leads.Lead Id} gets the lead unique identifier and ${Leads.Company} gets the company name. The problem is: when I log into GA > Behavior > Events, I'm getting this:

 

Desktop screenshot.png

 

So, is there some way to filter by domain in order to prevent tracking when I view some email sent within CRM admin?

 

Thanks.

1 Expert replyverified_user

Re: Filter GA event tracking to avoid incorrect stats

Top Contributor
# 2
Top Contributor
Yes, you can filter by Network Domain, but you could also filter by Event Label=${Leads.Company}.
Mike Sullivan, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.

Re: Filter GA event tracking to avoid incorrect stats

[ Edited ]
Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

How to configure that filter by Event Label in GA admin panel? I don't know what I need to put in field "Filter pattern". I put a name for the filter, then I selected Custom > Exclude > Event Label, then I inserted the value ${Leads.Company} on "Filter pattern" field. Is that correct or I need to use some kind of regular expression? If a regular expression is required, what is the regular expression for ${Leads.Company} ?

 

Additionally, it's possible to use just 1 filter to exclude multiple variables, like ${Leads.Company}, ${Leads.Lead ID} or something like that?