# Google Analytics with Flash Website

**URL:** <https://forum.kirupa.com/t/google-analytics-with-flash-website/224099>\
**Category:** flash\
**Created:** [April 28, 2007, 4:00pm UTC](https://forum.kirupa.com/t/google-analytics-with-flash-website/224099 "2007-04-28T16:00:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr77](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@dr77](https://forum.kirupa.com/u/dr77)\
**Post date:** [April 28, 2007, 4:00pm UTC](https://forum.kirupa.com/t/google-analytics-with-flash-website/224099/1 "2007-04-28T16:00:14Z")

</div>

Hello all,

I have a website which I created with Flash.

I would like to use Google Analytics to record visits to the site and so.

I signed up and was given some HTML code (I think) to paste “immediately before the [FONT=Courier New, Courier, mono]\</body\>[/FONT] tag of each page you are planning to track”…

```auto

[FONT=Courier New, Courier, mono]<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
  _uacct="UA-xxxx-x";
  urchinTracker();
</script> [/FONT]

```

Is it possible to use this code with Flash?

If so, how would I do it?

Thanks for any help,

David
