The memory is DDR4-2666 SO-DIMM. However, it is set up to accept standard OEM memory. The HyperX Impact product will have more aggressive timings. If you install the HyperX it will likely work, but the motherboard will force it to run at less aggressive timings. Standard memory will likely be CL = 19 latency and the HyperX Impact will perhaps be CL = 15 or 16. Worst case, the laptop will not POST with the HyperX installed. So get Samsung or Hynix or Crucial instead. 32 gigs (2 x 16) will work.
Post back with any more questions and please accept as solution if this is the info you needed.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".