# Wowza Event Tracking using Google Analytics API (on Wowza module base)

**URL:** <https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651>\
**Category:** Wowza Developer Dojo\
**Created:** [June 19, 2014, 3:01pm UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651 "2014-06-19T15:01:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jin-mo\_Kang](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jin-mo\_Kang](https://community.wowza.com/u/Jin-mo_Kang)\
**Post date:** [June 19, 2014, 3:01pm UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/1 "2014-06-19T15:01:35Z")

</div>

Wowza Streaming Engine Event Tracking with Wowza module via Google Analytics API

**Demo video :** [http://youtu.be/dtJ9lIdvdRU](http://youtu.be/dtJ9lIdvdRU)

![](http://www.homux.co.kr/images/forums/GoogleAnalytics2.png)

![](http://www.homux.co.kr/images/forums/GoogleAnalytics_ua.png)

![](http://www.homux.co.kr/images/forums/GoogleAnalytics_device.png)

Embed Google Anaytics Report in Homepage.

![](http://www.homux.co.kr/images/forums/dashboard.png)

---

<div class="post-metadata">

**Author:** ![Adam\_Kwasik](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@Adam\_Kwasik](https://community.wowza.com/u/Adam_Kwasik)\
**Post date:** [July 14, 2014, 9:32am UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/2 "2014-07-14T09:32:34Z")

</div>

I am interested in this solution.

How do I run it?

Is it possible to create for the individual - access points, streams?

---

<div class="post-metadata">

**Author:** ![Adam\_Kwasik](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@Adam\_Kwasik](https://community.wowza.com/u/Adam_Kwasik)\
**Post date:** [July 16, 2014, 7:49pm UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/3 "2014-07-16T19:49:44Z")

</div>

Thanks.

Where can I download the free version?

You go ahead and post the full version - the module installation instructions, etc.?

---

<div class="post-metadata">

**Author:** ![Adam\_Kwasik](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@Adam\_Kwasik](https://community.wowza.com/u/Adam_Kwasik)\
**Post date:** [February 3, 2015, 7:56pm UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/4 "2015-02-03T19:56:30Z")

</div>

Hello,

I bought it. 100$.Even works.

However, I recommend that: [https://www.wowza.com/docs/how-to-send-connection-and-stream-statistics-to-google-analytics-analytics](https://www.wowza.com/docs/how-to-send-connection-and-stream-statistics-to-google-analytics-analytics)

… is free. It works even better.

Best Regards…

---

<div class="post-metadata">

**Author:** ![Christian\_WALDBILLIG](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@Christian\_WALDBILLIG](https://community.wowza.com/u/Christian_WALDBILLIG)\
**Post date:** [July 23, 2014, 10:43am UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/5 "2014-07-23T10:43:09Z")

</div>

Hi,

great Module! Do you already offer a full version ? How much does it cost ?

best regards,

Christian

---

<div class="post-metadata">

**Author:** ![Jin-mo\_Kang](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jin-mo\_Kang](https://community.wowza.com/u/Jin-mo_Kang)\
**Post date:** [July 16, 2014, 10:55am UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/6 "2014-07-16T10:55:49Z")

</div>

Thank you for your interest.

I’ll soon post a new article to help installation process of the free edition.

Let me try to give you some tips here.

In order to track the events, Wowza Module sends following information to Google Analytics.

- Event:Category : Video

- Event:Action : Play, Stop, Seek, Pause, Publish, UnPublish

- Event:Label : StreamPath

- Event:Value : Played(Published) times(on Stop / UnPublish)

IP address, user agents, and more infomation are sent together.

You can specify particular access points or streams with Google Analytics filters.

Example:

Google Analytics \> Admin \> View \> Filter \> New Filter

-. Include

-. IP Address

-. Filter Pattern : Insert range of IP addresses

Regards,

Jinmo Kang

---

<div class="post-metadata">

**Author:** ![Jin-mo\_Kang](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jin-mo\_Kang](https://community.wowza.com/u/Jin-mo_Kang)\
**Post date:** [July 17, 2014, 2:20pm UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/7 "2014-07-17T14:20:27Z")

</div>

**Google Analytics at Wowza Streaming Engine module install and configuration.**

1.1 Google Analytics Sign in

To use this module, you must first have a Google analytics account. ([http://www.google.com/analytics/](http://www.google.com/analytics/))

After signing up, you’ll get the Tracking ID, appearing similar to UA-XXXXXXXX-1. This tracking ID is the link between the module and Google Analytics server.

![](http://www.homux.co.kr/images/forums/GoogleAnalytics_Singin.png)]

1.2 Tracking ID

Tracking ID can be found at the following menu in Google Analytics.

- Google Analytics \> Sign-in \> Admin \> PROPERTY \> Property Settings \> Tracking ID

![](http://www.homux.co.kr/images/forums/GoogleAnalytics_trackingID.png)]

2.1 Wowza Streaming Engine Module Install

Download and unzip following module file.

[http://www.homux.co.kr/download/google-analytics/homux-wowza-google-analytics-1.0.zip](http://www.homux.co.kr/download/google-analytics/homux-wowza-google-analytics-1.0.zip)

Copy homux-wowza-google-analytics-1.0.jar into [install-dir]/lib.

2.2 Wowza Streaming Engine Application configuration

Application.xml of the application that you want to track events, enter the module information.

```auto
	<Module>
			<Name>googletrackingevent</Name>
			<Description>GoogleTrackigEvent</Description>
			<Class>com.homux.wowza.google.analytics.TrackingEvent</Class>
	</Module>

```

Add the trackingID property to the Properties. trackingID property value is your Google Analytics tracking ID.

```auto
	<Properties>
			<Property>
					<Name>trackingID</Name>
					<Value>UA-XXXXXXXX-1</Value>
			</Property>
	</Properties>

```

1. Restart the Wowza Streaming Engine.

Free edition is limited 1,000 events per day.

1. Google Analytics Reports

After you installed and configured the module, events will be reported to your Google Analytics account and will be collected under the “Google Analytics \> Reporting \> Real-Time \> Events”.

![](http://www.homux.co.kr/images/forums/GoogleAnalytics_Event.png)]

If you want Behaviour report, it can be found under the “Google Analytics \> Reporting \> Behaviour \> Events \> Top Events”.

Analytics are updated on a daily basis.

![](http://www.homux.co.kr/images/forums/GoogleAnalytics_Behaviour.png)]

Please take a look at the Google Analytics Embed API demo site, which shows live examples of dashboards built using the Embed API.

[http://www.homux.co.kr/demo/analytics/](http://www.homux.co.kr/demo/analytics/)

[https://ga-dev-tools.appspot.com/demos/embed-api/](https://ga-dev-tools.appspot.com/demos/embed-api/)

Regards,

Jinmo Kang ([comjakma@paran.com](mailto:comjakma@paran.com))

---

<div class="post-metadata">

**Author:** ![Jin-mo\_Kang](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jin-mo\_Kang](https://community.wowza.com/u/Jin-mo_Kang)\
**Post date:** [July 28, 2014, 2:34pm UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/8 "2014-07-28T14:34:40Z")

</div>

> Hi,
> 
> great Module! Do you already offer a full version ? How much does it cost ?
> 
> best regards,
> 
> Christian

If you want to more information, visit to [http://www.homux.co.kr/product/analytics](http://www.homux.co.kr/product/analytics).

Regards,

Jinmo Kang

---

<div class="post-metadata">

**Author:** ![Jin-mo\_Kang](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jin-mo\_Kang](https://community.wowza.com/u/Jin-mo_Kang)\
**Post date:** [September 1, 2014, 2:07pm UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/9 "2014-09-01T14:07:07Z")

</div>

changes in Google Analytics module v1.1.0 :

- Fixed event:Label missing the sub folder.

- Added Application/Properties property “eventCategory” (string, default “VIDEO”) to be specified event:Category.

1. Download and unzip following new module file, copy homux-wowza-google-analytics-1.1.jar into [install-dir]/lib.

[http://www.homux.co.kr/download/google-analytics/homux-wowza-google-analytics-1.1.zip](http://www.homux.co.kr/download/google-analytics/homux-wowza-google-analytics-1.1.zip)

1. Be delete old homux-wowza-google-analytics-1.0.jar file.

2. Restart the Wowza Streaming Engine.

Regards,

Jinmo Kang

---

<div class="post-metadata">

**Author:** ![Jin-mo\_Kang](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@Jin-mo\_Kang](https://community.wowza.com/u/Jin-mo_Kang)\
**Post date:** [March 22, 2015, 2:43pm UTC](https://community.wowza.com/t/wowza-event-tracking-using-google-analytics-api-on-wowza-module-base/34651/10 "2015-03-22T14:43:19Z")

</div>

changes in Google Analytics module v1.2.0 :

- Fixed the wrong tracking when using multiple trackingIDs.

1. Download and unzip following new module file, copy homux-wowza-google-analytics-1.2.jar into [install-dir]/lib.

[http://www.homux.co.kr/download/google-analytics/homux-wowza-google-analytics-1.2.zip](http://www.homux.co.kr/download/google-analytics/homux-wowza-google-analytics-1.2.zip)

1. Be delete old homux-wowza-google-analytics-1.1.jar file.

2. Restart the Wowza Streaming Engine.

Regards,

Jinmo Kang
