Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Google Analytics don't work with Wordpress plugin


Hello.
I have a problem with Google Anlytics for JWPlayer in Worpress.

I have three webs with the plugin with premium license, and only one of them sends statistics to Google Analytics.

In all of these webs, I checked the option "Enable google analytics for JW Player.", and have the same settings configuration.

In the source code appears "ga: {}" like shown in this setup page:
http://www.longtailvideo.com/support/jw-player/28853/connecting-google-analytics/

My webs are (links to pages where appears a video):
http://www.denia.com/la-i-marcha-solidaria-favor-del-cee-raquel-paya-vista-desde-el-aire/ - Work fine.
http://www.javea.com/llegadas-a-meta-de-la-xxv-volta-a-peu-xabia/ - Don't work.
http://www.reproduccionasistida.org/embarazo/ - Don't work.

Thanks!
Regards,
Carlos.

4 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

You are not setting the proper GA script tags in your page head on the two links where it is not working.

JW Player

User  
0 rated :

What script? Does this script?

bc.. <script type="text/javascript">jwplayer.key='????????????????????????????????????=';jwplayer.defaults = { "ph": 2 };</script>
<script type="text/javascript">
if (typeof(jwp6AddLoadEvent) == 'undefined') {
function jwp6AddLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
}
}
}
}
</script>



Is the same in the three webs.

Thanks for your help.

Ethan Feldman

JW Player Support Agent  
0 rated :

I mean the GA script from Google with your UA-XXXX-XX ID

n...

User  
0 rated :

Hello.

The scripts (include GA) is equal in
view-source:http://www.denia.com/la-i-marcha-solidaria-favor-del-cee-raquel-paya-vista-desde-el-aire/
and
view-source:http://www.javea.com/llegadas-a-meta-de-la-xxv-volta-a-peu-xabia/
First link works.

I don't understand you. Sorry.
Can you explain exactly what I have to do, please?

This question has received the maximum number of answers.