Re: [Flashcoders] External Interface + Google Analytics + IE7

2008-02-29 Thread Glen Pike

Hi,

   Thanks that seems to have solved the problem, now I just need to 
wait and check that Analytics is registering these.


   Glen

Cory Petosky wrote:

Glen,

Somebody on my team had the same problem with AS3, Google Analytics,
and IE7. He used the global sendToURL function instead. According to
him, neither navigateToURL nor ExternalInterface worked for him.

On 2/29/08, Glen Pike <[EMAIL PROTECTED]> wrote:
  

Hi,

I am using AS3, so this is not an option, but thanks.


Glen


 Karim Beyrouti wrote:
 > I know this is not what you are asking for, but I use a getURL command to
 > call the tracking script: getURL("javascript:pageTracker._trackPageview('" +
 > str + "');");
 >
 > I have built two classes for google analytics 1 for the urchin tracking, and
 > another for the gaTracker, Here are the links to the classes:
 >
 > http://underground-bunker.com/transfer/gaTracker.as
 > http://underground-bunker.com/transfer/urchinTracker.as
 >
 > maybe they will be usefull to someone.
 >
 >
 > - karim
 >
 > -Original Message-
 > From: [EMAIL PROTECTED]
 > [mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
 > Sent: 29 February 2008 13:57
 > To: Flash Coders List
 > Subject: Re: [Flashcoders] External Interface + Google Analytics + IE7
 >
 > Hi,
 >
 > Does anyone have any ideas about this?
 >
 > Glen
 >
 > Glen Pike wrote:
 >
 >> Hi,
 >>
 >>I have encountered a problem with an ExternalInterface.call causing
 >> IE7 to throw a JS error.
 >>
 >>I get an error message saying:
 >>Line: 1
 >>Char 14:
 >>Error: Expected ';'
 >>Code: 0;
 >>URL: http://www.dijitl.co.uk/beta/
 >>  So, my guessing is that somewhere the ExternalInterface call is
 >> not adding a semi-colon, but that IE 7 maybe getting it's knickers in
 >> a twist.  Either way, it's annoying and my tracking is not working.
 >> Can anyone shed light on this - I am using
 >> so.addParam("allowScriptAccess", "always"); with SWFObject too.
 >>  Ta
 >>
 >>Glen
 >>
 >>AS code is like this:
 >>  var page:String = evt.type.substr(5);
 >>  if (ExternalInterface.available) {
 >>ExternalInterface.call ("trackTesting", page);
 >>}
 >>
 >>Have also tried calling the pageTracker object directly -
 >> ExternalInterface.call("pageTracker._trackPageview", page); - but no joy.
 >>
 >>JS Code is like this:
 >>
 >>
 >>// <![CDATA[
 >>var pageTracker = _gat._getTracker("UA-DELETED");
 >>pageTracker._initData();
 >>pageTracker._trackPageview();
 >>  function trackTesting(page) {
 >>alert("before " + page);
 >>pageTracker._trackPageview(page);
 >>alert("after");
 >>}
 >>  // ]]>
 >>
 >>
 >
 >

 --

 Glen Pike
 01736 759321
 www.glenpike.co.uk <http://www.glenpike.co.uk>
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





  


--

Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] External Interface + Google Analytics + IE7

2008-02-29 Thread Cory Petosky
Glen,

Somebody on my team had the same problem with AS3, Google Analytics,
and IE7. He used the global sendToURL function instead. According to
him, neither navigateToURL nor ExternalInterface worked for him.

On 2/29/08, Glen Pike <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using AS3, so this is not an option, but thanks.
>
>
> Glen
>
>
>  Karim Beyrouti wrote:
>  > I know this is not what you are asking for, but I use a getURL command to
>  > call the tracking script: getURL("javascript:pageTracker._trackPageview('" 
> +
>  > str + "');");
>  >
>  > I have built two classes for google analytics 1 for the urchin tracking, 
> and
>  > another for the gaTracker, Here are the links to the classes:
>  >
>  > http://underground-bunker.com/transfer/gaTracker.as
>  > http://underground-bunker.com/transfer/urchinTracker.as
>  >
>  > maybe they will be usefull to someone.
>  >
>  >
>  > - karim
>  >
>  > -Original Message-
>  > From: [EMAIL PROTECTED]
>  > [mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
>  > Sent: 29 February 2008 13:57
>  > To: Flash Coders List
>  > Subject: Re: [Flashcoders] External Interface + Google Analytics + IE7
>  >
>  > Hi,
>  >
>  > Does anyone have any ideas about this?
>  >
>  > Glen
>  >
>  > Glen Pike wrote:
>  >
>  >> Hi,
>  >>
>  >>I have encountered a problem with an ExternalInterface.call causing
>  >> IE7 to throw a JS error.
>  >>
>  >>I get an error message saying:
>  >>Line: 1
>  >>Char 14:
>  >>Error: Expected ';'
>  >>Code: 0;
>  >>URL: http://www.dijitl.co.uk/beta/
>  >>  So, my guessing is that somewhere the ExternalInterface call is
>  >> not adding a semi-colon, but that IE 7 maybe getting it's knickers in
>  >> a twist.  Either way, it's annoying and my tracking is not working.
>  >> Can anyone shed light on this - I am using
>  >> so.addParam("allowScriptAccess", "always"); with SWFObject too.
>  >>  Ta
>  >>
>  >>Glen
>  >>
>  >>AS code is like this:
>  >>  var page:String = evt.type.substr(5);
>  >>  if (ExternalInterface.available) {
>  >>ExternalInterface.call ("trackTesting", page);
>  >>}
>  >>
>  >>Have also tried calling the pageTracker object directly -
>  >> ExternalInterface.call("pageTracker._trackPageview", page); - but no joy.
>  >>
>  >>JS Code is like this:
>  >>
>  >>
>  >>// <![CDATA[
>  >>var pageTracker = _gat._getTracker("UA-DELETED");
>  >>pageTracker._initData();
>  >>pageTracker._trackPageview();
>  >>  function trackTesting(page) {
>  >>alert("before " + page);
>  >>pageTracker._trackPageview(page);
>  >>alert("after");
>  >>}
>  >>  // ]]>
>  >>
>  >>
>  >
>  >
>
>  --
>
>  Glen Pike
>  01736 759321
>  www.glenpike.co.uk <http://www.glenpike.co.uk>
>  ___
>  Flashcoders mailing list
>  Flashcoders@chattyfig.figleaf.com
>  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


-- 
Cory Petosky : Lead Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] External Interface + Google Analytics + IE7

2008-02-29 Thread Steven Sacks
SWFAddress 2.0 has Google Analytics stuff built in.  It might be worth 
it to check out Rostislav's source code to see how he does it.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] External Interface + Google Analytics + IE7

2008-02-29 Thread Glen Pike

Hi,

   I am using AS3, so this is not an option, but thanks.

   Glen

Karim Beyrouti wrote:

I know this is not what you are asking for, but I use a getURL command to
call the tracking script: getURL("javascript:pageTracker._trackPageview('" +
str + "');");

I have built two classes for google analytics 1 for the urchin tracking, and
another for the gaTracker, Here are the links to the classes:

http://underground-bunker.com/transfer/gaTracker.as
http://underground-bunker.com/transfer/urchinTracker.as

maybe they will be usefull to someone.


- karim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: 29 February 2008 13:57
To: Flash Coders List
Subject: Re: [Flashcoders] External Interface + Google Analytics + IE7

Hi,

Does anyone have any ideas about this?

Glen

Glen Pike wrote:
  

Hi,

   I have encountered a problem with an ExternalInterface.call causing 
IE7 to throw a JS error.


   I get an error message saying:
   Line: 1
   Char 14:
   Error: Expected ';'
   Code: 0;
   URL: http://www.dijitl.co.uk/beta/
 So, my guessing is that somewhere the ExternalInterface call is 
not adding a semi-colon, but that IE 7 maybe getting it's knickers in 
a twist.  Either way, it's annoying and my tracking is not working.  
Can anyone shed light on this - I am using 
so.addParam("allowScriptAccess", "always"); with SWFObject too.

 Ta

   Glen

   AS code is like this:
 var page:String = evt.type.substr(5);
 if (ExternalInterface.available) {
   ExternalInterface.call ("trackTesting", page);
   }

   Have also tried calling the pageTracker object directly - 
ExternalInterface.call("pageTracker._trackPageview", page); - but no joy.


   JS Code is like this:

   
   // <![CDATA[
   var pageTracker = _gat._getTracker("UA-DELETED");
   pageTracker._initData();
   pageTracker._trackPageview();
 function trackTesting(page) {
   alert("before " + page);
   pageTracker._trackPageview(page);
   alert("after");
   }
 // ]]>
   



  


--

Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] External Interface + Google Analytics + IE7

2008-02-29 Thread Corban Baxter
thanks for sharing those classes Karim!

I had wrote some like this for myself but these are great! thanks!

On Fri, Feb 29, 2008 at 9:44 AM, Karim Beyrouti <[EMAIL PROTECTED]> wrote:
> I know this is not what you are asking for, but I use a getURL command to
>  call the tracking script: getURL("javascript:pageTracker._trackPageview('" +
>  str + "');");
>
>  I have built two classes for google analytics 1 for the urchin tracking, and
>  another for the gaTracker, Here are the links to the classes:
>
>  http://underground-bunker.com/transfer/gaTracker.as
>  http://underground-bunker.com/transfer/urchinTracker.as
>
>  maybe they will be usefull to someone.
>
>
>  - karim
>
>
>
>  -Original Message-
>  From: [EMAIL PROTECTED]
>  [mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
>  Sent: 29 February 2008 13:57
>  To: Flash Coders List
>  Subject: Re: [Flashcoders] External Interface + Google Analytics + IE7
>
>  Hi,
>
> Does anyone have any ideas about this?
>
> Glen
>
>  Glen Pike wrote:
>  > Hi,
>  >
>  >I have encountered a problem with an ExternalInterface.call causing
>  > IE7 to throw a JS error.
>  >
>  >I get an error message saying:
>  >Line: 1
>  >Char 14:
>  >Error: Expected ';'
>  >Code: 0;
>  >URL: http://www.dijitl.co.uk/beta/
>  >  So, my guessing is that somewhere the ExternalInterface call is
>  > not adding a semi-colon, but that IE 7 maybe getting it's knickers in
>  > a twist.  Either way, it's annoying and my tracking is not working.
>  > Can anyone shed light on this - I am using
>  > so.addParam("allowScriptAccess", "always"); with SWFObject too.
>  >  Ta
>  >
>  >Glen
>  >
>  >AS code is like this:
>  >  var page:String = evt.type.substr(5);
>  >  if (ExternalInterface.available) {
>  >ExternalInterface.call ("trackTesting", page);
>  >}
>  >
>  >Have also tried calling the pageTracker object directly -
>  > ExternalInterface.call("pageTracker._trackPageview", page); - but no joy.
>  >
>  >JS Code is like this:
>  >
>  >
>  >// <![CDATA[
>  >var pageTracker = _gat._getTracker("UA-DELETED");
>  >pageTracker._initData();
>  >pageTracker._trackPageview();
>  >  function trackTesting(page) {
>  >alert("before " + page);
>  >pageTracker._trackPageview(page);
>  >alert("after");
>  >}
>  >  // ]]>
>  >
>
>  --
>
>  Glen Pike
>  01736 759321
>  www.glenpike.co.uk <http://www.glenpike.co.uk>
>  ___
>  Flashcoders mailing list
>  Flashcoders@chattyfig.figleaf.com
>  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>  --
>  No virus found in this incoming message.
>  Checked by AVG Free Edition.
>  Version: 7.5.516 / Virus Database: 269.21.2/1304 - Release Date: 29/02/2008
>  08:18
>
>
>
>
>  ___
>  Flashcoders mailing list
>  Flashcoders@chattyfig.figleaf.com
>  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Corban Baxter
http://www.projectx4.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] External Interface + Google Analytics + IE7

2008-02-29 Thread Karim Beyrouti
I know this is not what you are asking for, but I use a getURL command to
call the tracking script: getURL("javascript:pageTracker._trackPageview('" +
str + "');");

I have built two classes for google analytics 1 for the urchin tracking, and
another for the gaTracker, Here are the links to the classes:

http://underground-bunker.com/transfer/gaTracker.as
http://underground-bunker.com/transfer/urchinTracker.as

maybe they will be usefull to someone.


- karim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: 29 February 2008 13:57
To: Flash Coders List
Subject: Re: [Flashcoders] External Interface + Google Analytics + IE7

Hi,

Does anyone have any ideas about this?

Glen

Glen Pike wrote:
> Hi,
>
>I have encountered a problem with an ExternalInterface.call causing 
> IE7 to throw a JS error.
>
>I get an error message saying:
>Line: 1
>Char 14:
>Error: Expected ';'
>Code: 0;
>URL: http://www.dijitl.co.uk/beta/
>  So, my guessing is that somewhere the ExternalInterface call is 
> not adding a semi-colon, but that IE 7 maybe getting it's knickers in 
> a twist.  Either way, it's annoying and my tracking is not working.  
> Can anyone shed light on this - I am using 
> so.addParam("allowScriptAccess", "always"); with SWFObject too.
>  Ta
>
>Glen
>
>AS code is like this:
>  var page:String = evt.type.substr(5);
>  if (ExternalInterface.available) {
>ExternalInterface.call ("trackTesting", page);
>}
>
>Have also tried calling the pageTracker object directly - 
> ExternalInterface.call("pageTracker._trackPageview", page); - but no joy.
>
>JS Code is like this:
>
>
>// <![CDATA[
>var pageTracker = _gat._getTracker("UA-DELETED");
>pageTracker._initData();
>pageTracker._trackPageview();
>  function trackTesting(page) {
>alert("before " + page);
>pageTracker._trackPageview(page);
>alert("after");
>}
>  // ]]>
>

-- 

Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


-- 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.2/1304 - Release Date: 29/02/2008
08:18


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] External Interface + Google Analytics + IE7

2008-02-29 Thread Glen Pike

Hi,

   Does anyone have any ideas about this?

   Glen

Glen Pike wrote:

Hi,

   I have encountered a problem with an ExternalInterface.call causing 
IE7 to throw a JS error.


   I get an error message saying:
   Line: 1
   Char 14:
   Error: Expected ';'
   Code: 0;
   URL: http://www.dijitl.co.uk/beta/
 So, my guessing is that somewhere the ExternalInterface call is 
not adding a semi-colon, but that IE 7 maybe getting it's knickers in 
a twist.  Either way, it's annoying and my tracking is not working.  
Can anyone shed light on this - I am using 
so.addParam("allowScriptAccess", "always"); with SWFObject too.

 Ta

   Glen

   AS code is like this:
 var page:String = evt.type.substr(5);
 if (ExternalInterface.available) {
   ExternalInterface.call ("trackTesting", page);
   }

   Have also tried calling the pageTracker object directly - 
ExternalInterface.call("pageTracker._trackPageview", page); - but no joy.


   JS Code is like this:

   
   // 
   


--

Glen Pike
01736 759321
www.glenpike.co.uk 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] External Interface + Google Analytics + IE7

2008-02-28 Thread Glen Pike

Hi,

   I have encountered a problem with an ExternalInterface.call causing 
IE7 to throw a JS error.


   I get an error message saying:
   Line: 1
   Char 14:
   Error: Expected ';'
   Code: 0;
   URL: http://www.dijitl.co.uk/beta/
  
   So, my guessing is that somewhere the ExternalInterface call is not 
adding a semi-colon, but that IE 7 maybe getting it's knickers in a 
twist.  Either way, it's annoying and my tracking is not working.  Can 
anyone shed light on this - I am using so.addParam("allowScriptAccess", 
"always"); with SWFObject too.
  
   Ta


   Glen

   AS code is like this:
  
   var page:String = evt.type.substr(5);
  
   if (ExternalInterface.available) {

   ExternalInterface.call ("trackTesting", page);
   }

   Have also tried calling the pageTracker object directly - 
ExternalInterface.call("pageTracker._trackPageview", page); - but no joy.


   JS Code is like this:

   
   //   
   function trackTesting(page) {
   alert("before " + page);
   pageTracker._trackPageview(page);
   alert("after");
   }
// ]]>
   
--

Glen Pike
01736 759321
www.glenpike.co.uk 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders