Do companies still have your history even when cleared history, cookies and cache?

I'm 16 and not allowed to have any social media accounts, I know dumb right? I've been on twitter using my phone using Wi-Fi. My computer was hijacked and I'm afraid my dad would ask for the websites that have been visited to the company. On my iPhone, I cleared cookies and cache and history, can the company still track the websites that were visited before I cleared all of that? Please say no.

Companies don't keep the records, your history is kept on your computer/iphone. Nothing short of a court order will get a company to go to the effort of searching their records.

Of course.

I'm the admin on a few website servers.
Every click of your mouse you make on a server is logged. Lets say you make a post here, and delete it later… What is invisible to you and everyone else remains on the server log as a record of what happened, when, and by whom. [this is how we ban people for wrongdoing even if they try erasing their sin, we need logged info eg chat logs to investigate harassment or abuse of service given a website ToS or CS [terms of service/community standards].

As far as phone companies, yes they to have records of every call you make and every connection made.

Think of your computer's Internet Protocol IP address] as a phone number… Every time you transmit anything your IP is wrapped at the beginning and end of every transmission.
People think they are invisible and anonymous, they think if they delete something and can't see it nobody else can. Not true.
(when you get a phone bill for example, all the long distance call you made as listed, any local call you question the phone company has a record of all they can access; cellphone companies being no different)

Hope that helps [although I'm sure it's not the answer you wanted, sorry 'about that] :)

"I cleared cookies and cache and history"

PS, that just erases your cookies and cache and history - not your hard drive. This is why cops seize computers - to analyze the hard drive; that you can't erase barring an F-disk of your computer [taking it back to factory setting that erases absolutely everything]

All that said, if someone/anyone contacted me asking what have you done - I wouldn't tell them. Users have a certain right to privacy and as a 'company' lets say by law I have to respect that - and do.
Only way I can divulge info about anyone is as Comicbook Reader wisely stated is under court order.

Do I have all that info; yes. Would I spill - hell no.
[could he find out anyways if he was learned about computers, yes]