Converting a img src 1*1 conversion pixel w/ parameters into javascript

I was provided with a 1*1 img src pixel that contained custom parameters, how can I include those custom parameters within that img src? I’m assuming I can’t unless I do it through javascript, so i’m trying to figure out how to create a img src 1*1 pixel w/ the custom parameters. Example script below:

<img src=https://tags.websitename.com/ab/ab?conv_a=1234&conv_bid=1234&a=i&a=1234&conv_page=1&conv_type=[custom value]&conv_quantity=[custom value] width="1" height="1" alt="" />