Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
IRoad
Visitor

Google analytics on XML file

I would like to add a code from google analytics on my XML file, because I want to track if a movie like or not like.
The ratings is different, I need to know how many people watch a movie and that case can I give the Royalty back...
Someone can help me.
Thanks
F
0 Kudos
2 REPLIES 2
TheEndless
Channel Surfer

Re: Google analytics on XML file

viewtopic.php?f=34&t=48738&p=332621
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
IRoad
Visitor

Re: Google analytics on XML file

The Endless Thanks!
I have this script but I don't understand where put the code,
Thanks


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed>
<!-- resultLength indicates the total number of results for this feed -->
<resultLength>4</resultLength>
<!-- endIndix indicates the number of results for this *paged* section of the feed -->
<endIndex>4</endIndex>

<item sdImg="http://XXX.png" hdImg="http://XXXX.png">
<title>title</title>
<contentId>20047</contentId>
<contentType>title</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>mp4</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://XXXXXX/XXXX/XXXX.mp4</streamUrl>
</media>
<synopsis>XXXXXX</synopsis>
<genres>Documentary</genres>
<rating>PG</rating>
<runtime>4800</runtime>
</item>
</feed>
0 Kudos