soumavachakraborty / gaforflash

Automatically exported from code.google.com/p/gaforflash
Apache License 2.0
0 stars 0 forks source link

# on page title breaks GA event tracking #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Create an HTML page with <title>Before hash # after hash</title>

2. Include a Flash movie with gaforflash tracking

3. Activate trackEvent on the flash movie

What is the expected output? 

utmac   UA-XXXXXXX-1
utmcc   [....](direct)|utmcmd=(none);
utmcs   UTF-8
utmdt   Before hash # after hash

What do you see instead?

utmcs   UTF-8
utmdt   Before hash

Please provide any additional information below.

If the page title has a # sign in it, there is no event tracking because 
gaforflash fails to send the utmac & utmcc parameters with the account number, 
hence google-analytics.com doesn't know what to do with it. 

Original issue reported on code.google.com by pjfu...@gmail.com on 15 Feb 2012 at 10:50