Prostores: How to Add the NexTag ROI Optimizer

Are you submitting your Prostores catalog to NexTag? If you are not, you should be! To get that setup, login to your Prostores admin area and click on Marketing found in the left navigation bar. Once in the Marketing Manager, look for the NexTag link under

Traffic Generation
Comparison Shopping (Advanced – Account required)

Once you have set that up, NexTag offers code that you can add to your Order Confirmation page called the NexTag ROI Optimizer that helps you track your Return on Investment (ROI) with NexTag. To accomplish this, add the following code near the bottom of your order confirmation page template:

<script type="text/javascript">
    /* NexTag ROI Optimizer Data */
    var id = 'enter your id here';
    var rev = '<ss:value source="$invoice.subTotal"/>';
    var order = '<ss:value source="$invoice.invoiceNumber"/>';
<script type="text/javascript" src=""></script>

You will want to change the ‘enter your id here’ to your id, i.e.

var id = '123456';

Also, you can change the


variable to the 


value instead if you wish, i.e.

var rev = '<ss:value source="$invoice.totalDue"/>';

is what is owed by the customer after discounts.


is the subtotal of items before shipping, tax and discounts. It’s up to you which number to report to NexTag.
Happy SEM!

One thought on “Prostores: How to Add the NexTag ROI Optimizer

  1. Informative article, totally what I was looking for.

Leave a Comment

Your email address will not be published. Required fields are marked *

Enter Code *

Filed Under


Get excited for SQL Saturday 2022! Join our Microsoft MVP speakers Rez and Eric to learn how you can use the Power Platform in conjunction with Dataverse for Teams to create apps and solve your business automation challenges. Register now:


During the next episode of the #PixelMillWebinars, our #UI/UX experts break down:

- #PowerApp UI/UX best practices & common pitfalls
- #Figma best practices for PowerApps
- Converting from Figma to PowerApps
- See a PowerApp design in action!

In the next episode of the #PixelMillWebinars, our #UI / #UX experts break down:

- #PowerApp #UI / #UX best practices & common pitfalls
- #Figma best practices for #PowerApps
- Converting from #Figma to #PowerApps
- See a #PowerApp design in action!

In the next episode of the #PixelMillWebinars, our branding and #UI/#UX experts will show you how to elevate your #PowerApp experience without #coding.

Join us on 9/29 at 11am PST to see how you can apply custom #UI to #PowerApps designed in #Figma.

Working in a hybrid environment allows us to collaborate with people from all over the world. Check out this quick video and learn how to navigate language barriers when using Teams! #workthewayyouwant

Subscribe to PixelMill's

* indicates required

Let's Talk Digital
Workspaces Today

Get In Touch