Export to GitHub

gaforflash - issue #94

# on page title breaks GA event tracking


Posted on Feb 15, 2012 by Happy Panda

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 ....|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.

Status: New

Labels:
Type-Defect Priority-Medium