You are correct. You do not receive the gift of the Holy Ghost/Spirit upon belief, nor are you saved uppn belief. You receive the gift of the Holy Ghost/Spirit at the time of being baptized into Christ per Acts 2:38.
Also for clarity, receiving the gift of the HolyGhost/Spirit is the Spirit itself and not the miraculous gifts administered by/through the Spirit, those listed in 1 Cor 12:8-10.
And additionally for clarity, Acts 19 clearly indicates those Ephesians had only been baptized unto John's baptism and not in the name of Jesus Christ for the remission of sins pursuant to Acts 2:38, and had to be re-baptized, or, correctly baptized in the name of Jesus Christ.
After doing so, it must be noted too that they didn't receive the miraculous gifts until Paul, an apostle, laid HIS hands on them. It's by the laying on of the apostle's hands that the gifts of the Spirit (not the Spirit itself, but the miraculous gifts) were imparted to people.
Acts 19:1-7
1And it came to pass, that, while Apollos was at Corinth, Paul having passed through the upper coasts came to Ephesus: and finding certain disciples,
2He said unto them, Have ye received the Holy Ghost since ye believed? And they said unto him, We have not so much as heard whether there be any Holy Ghost.
3And he said unto them, Unto what then were ye baptized? And they said, Unto John's baptism.
4Then said Paul, John verily baptized with the baptism of repentance, saying unto the people, that they should believe on him which should come after him, that is, on Christ Jesus.
5When they heard
this, they were baptized in the name of the Lord Jesus.
6And when Paul had laid
his hands upon them, the Holy Ghost came on them; and they spake with tongues, and prophesied.
7And all the men were about twelve.
Acts 2:38
38Then Peter said unto them, Repent, and be baptized every one of you in the name of Jesus Christ for the remission of sins, and ye shall receive the gift of the Holy Ghost.