Event track and page-view displaying as direct traffic in analytics?

60 views
Skip to first unread message

c0358832

unread,
Oct 21, 2010, 5:14:59 AM10/21/10
to GA Tracking For Adobe Flash

I'm looking for some assistance on an issue i am having,i am getting
massive direct traffic reported in analytics.
I have created a set of banners which are being distributed via
multiple ad-networks/agencies. I have implemented the GA tracking and
utilized;

import com.greensock.*;
import com.greensock.easing.*;
import com.google.analytics.AnalyticsTracker;
import com.google.analytics.GATracker;
var tracker:AnalyticsTracker = new GATracker( this, "removedforpost",
"AS3", false );

//bespoke tween in
TweenLite.to(bespoke, 1, {delay:1, x:3.35, y:104.55,
ease:Sine.easeOut, onComplete:bespoketweenout}) ;
// end

//track page view using event track
tracker.trackEvent("intendedwebiste" ,"300x250caramelHome");
//end

I have used the event track to track impressions of the banner
campaign, these report fine in analytics under the event section.

I have also implemented the track page view attribute on a button
click to track the page view;

//click here button code
clickmeffs.addEventListener(MouseEvent.MOUSE_UP, meClick);

function meClick(ev:MouseEvent):void
{
var request:URLRequest = new URLRequest("http://
www.uniquetagedurl.com"); // this is tagged with a url constructed
with google url builder
navigateToURL(request,"_self");
tracker.trackPageview("/Website300x250caramelHome");
//End

The information of the event is reported in analytics but my issue is
i have a MASSIVE increase in direct traffic, the events appear as
desired in the event section of the analytics, the page views come
through fine i need some assistance in working out what is causing the
direct traffic to be reported. Everything appears to be working as
intended but the distorted direct traffic results are causing me a
headache any suggestions on where i have gone wrong?

This is an urgent request so any help would be appreciated.

Many thanks

Guy

zwetan

unread,
Oct 25, 2010, 1:57:09 AM10/25/10
to GA Tracking For Adobe Flash
Hi,

> I'm looking for some assistance on an issue i am having,i am getting
> massive direct traffic reported in analytics.
> I have created a set of banners which are being distributed via
> multiple ad-networks/agencies. I have implemented the GA tracking and
> utilized;
>
[...]

>
> The information of the event is reported in analytics but my issue is
> i have a MASSIVE increase in direct traffic, the events appear as
> desired in the event section of the analytics, the page views come
> through fine i need some assistance in working out what is causing the
> direct traffic to be reported. Everything appears to be working as
> intended but the distorted direct traffic results are causing me a
> headache any suggestions on where i have gone wrong?
>

define "massive" and "distorted"

you don't really say what you are expecting to see as traffic
and what other traffic you got instead

a) it could be as simple as your AS3 code not waiting for the stage
being ready
and so not detecting the ExternalInterface and then defaulting on the
domain of the SWF URL
to send the first tracking

b) or as complicated of expecting different domains or referrers from
different
ad-networks location when the banner is served in fact from one single
location

or c) expecting a different result when in fact the result you obtain
is pretty normal


looking at the AS3 code I would say the problem is a)
you just need to miss few milliseconds to not have the
"ExternalInterface" ready
listening to ADDED_TO_STAGE and/or wait a little to be sure that
"ExternalInterface" is there
could correct the problem of "too much direct traffic"

or maybe explain a little more why you think things are distorted in
the results ?

zwetan




xiaoy...@gmail.com

unread,
Jan 26, 2014, 9:10:36 PM1/26/14
to ga-for...@googlegroups.com
I probably can't understand your question well. But I happened to read something about the winforms pageview component and the C# track control which seems to be highly relevant to what you are talking about. Hope those things helps.
Reply all
Reply to author
Forward
0 new messages