How to insert HTML to owncloud service?



Hi guys I could use some help. Let me explain I haven't found answer to my question from internet. Question is How can I insert HTML writen code to my owncloud that when someone connects to my server he/she goes trough link that tracks how many times link has been opened. I have the link and I have html writen code BUT I don't know how to insert it to the service. I tried inserting it to index.html file but that didn't work when I opened the my owncloud the service didn't count me.
And I tried wrote my own website (HTML) and when I inserted my tracking services link (html code) there it worked when I opened my website. My platform is Linux server.