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


Do you need to build a custom search-driven component for your #digitalworkspace while saving thousands of hours of development time?

Join us on as we lift the hood of #PnP Modern Search v4, show you how it's built, & take you on a live coding adventure.

#Hybridwork is more than just a buzzword to latch onto; it’s the future for many organizations for the unforeseeable future. So, how can you use #Microsoft365 for #hybridwork? Let's breaks it down…

It's that time again! Join the #PixelMillWebinars on 4/29 where @EricOverfield lifts the hood of #PnP Modern Search v4, shows how it's built, & takes you on a live coding adventure to customizing your own web part using the power of the existing codebase.

What? Anchor links now work in #SharePoint site navigation! This fix snuck in and I completely missed it. Use them to create a TOC for long pages or cross link between pages. They work in text or quick links web parts & nav too!

A big thank you to David Leveille and @CrushNetworks for having our President + Co-Founder @EricOverfield on this episode of #TheVirtualWaterCooler!

Subscribe to PixelMill's

* indicates required

Let's Talk Digital
Workspaces Today

Get In Touch