Google but the traffic I got on my homepage is for another keyword but some of them engaged with the CTA which led to my new page targeting for completely different keyword.
Yeah, that did contribute to its ranking, the internal linking helped with passing of authority and thus ranked it for that specific serp. There are other reasons too
High traffic to a specific page can potentially contribute to improved search engine rankings, but it's not the only or even the primary factor