This is can be done similar to the method for memberships. Each upsell now has its own block of code you can add that will be inserted into the thank you page if they accept it. You can put your Google code snippet for each upsell there. This code snippet block can also be used to add additional HTML to be displayed on a thank you page when clients accept the offer.