Google Analytics Flash issues? Check your script access
Posted on Wednesday, September 23rd, 2009 at 8:54 PM by Pramesh Attwala | Comments (0)
Before you toss your Mac through the window, here’s a troubleshooting tip for integrating Google Analytics and Flash.
As you probably know, you can track Flash events in Google Analytics. This gives you more robust site statistics—you can, for example, track how users interact with Flash video players, even how much of a video they watch.
But the integration can be a challenge. A few weeks ago, for example, we worked with a client’s Flex developer to integrate Google Analytics into a Flash-based weight loss assessment. Users reached the assessment after clicking a link on an HTML website. After planning and implementing a search marketing campaign to drive traffic to the site, we found that Google Analytics wasn’t properly reporting conversions to their source. Comparing results to AdWords conversion stats, things didn’t add up.
Users appeared to start a new session every time they began their assessment. And that made it exceedingly difficult to know which traffic source had the best return on investment. After working through a list of potential issues, it came down to the equivalent of having an unplugged cord. Looking at the code to embed Flash into the site, we found this culprit:
<param name="allowScriptAccess" value="sameDomain" />
Because of the way Google Analytics functions, this line of code should have been the following:
<param name="allowScriptAccess" value="always" />
It’s a slight difference, but one that will improve your data’s reliability and usefulness—and prevent you from destroying a perfectly good computer in frustration.
Recent entries
- Digital marketing is an ecosystem, not a pet store
- Why the Post paywall is probably a bad idea
- Is Zite the future of digital publishing? How publishers can embrace aggregation, curation and personalization
- Six free tools for world-class competitive intelligence
- Secret of camp’s overnight marketing success? A complete paradigm shift
- Improve your digital marketing with our summer reading list
- Got social media? Cafe’s so successful, it ran out of milk—here’s how
- Google Analytics URL builder for multiple links
- Three ways Google Analytics can improve sharing
- Social media: An effective lead generator?