?
Solved

How can i check if event  google analytics is working

Posted on 2015-02-19
2
Medium Priority
?
103 Views
Last Modified: 2016-02-24
Hello i do have this function where i add to it a push event trigger for google analytics and i added the main script in the top of the page however the event isn't tracking

function egnyt_facebook(pixel,val, cny) {
  var cd = {};
  cd.value = val;
  cd.currency = cny;
  _fbq.push(['track',pixel, cd]);
}
//combine facebook and google
function egnyt_track(pixel, val, cny,type ,process,name){

	egnyt_facebook(pixel, val , cny);
	_gaq.push(['_trackEvent',type, process, name]);
       window.location='';


}
                                  

Open in new window

than i added
<A href="tolinks.html" onlcick="egnyt_track('6021900583991','1','USD','Shopping','purchase','COD')"/>go here</a>

Open in new window


So what's wrong and how can i test it if works
0
Comment
Question by:jaylab2
1 Comment
 
LVL 11

Accepted Solution

by:
Jeffrey Dake earned 2000 total points
ID: 40623896
What I ussually do is open up in chrome and use the developer tools to see if a request is being fired off for the tracking event.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
In this article, we’ll look at how to deploy ProxySQL.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question