Change product revenue in Google Tagmanager
With this script, you can manipulate the productrevenue for Google Ads. This will only work when you're using a Google conversionpixel in GTM.
First off, you'll have to define your hero-products. So what products are most important for your business? And what products bring in the most new customers? These products are worth more to you, then just the revenue they make. For these products, we'll increase the revenue so make them more important to the Smart Shopping algorithm.
Secondly, you'll have to calculate what the increased importance of these hero-products is worth to you. For all these products, a multiplier will be used in the script. For instance: if one of your products price is set to $10 and your multiplier is set to 1.2, a product revenue of $12 will be reported back to Google Ads on that product.
Set tag in GTM
Use a Google Ads conversionpixel in GTM and set it like this example:
- Collect the product-ID's of your hero-products. You can add these on the second line of this script. Like the 'XX', 'YY', 'ZZ' in the example, you can add as much products as you wish. Put the quotes around them and split them by a comma. Make sure the brackets are around the whole line-up of product-ID's.
- Define your multiplier and set in on line 7. In the example, 1.25 is equal to 25% higher revenue.