Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...

AspDotNetStorefront
DotFeed

3rd Party Tracking Codes

Hi,

We've added some tracking codes for some shopping and advertisement sites and would like to know some custom values for some of the fields required. Currently, the clear tracking code tokens we know are:

(!ORDERTOTAL!) - This will be replaced by the current order total.

(!ORDERNUMBER!) - This will be replaced by the current order number.

(!CUSTOMERID!) - This will be replaced by the current customer's ID.

We would like to know the token values for Product_ID(or SKU), product_name, product_price, and order_quantity(for each product)...

 

Kind Regards

asked Jun 18, 2014 in MultiStore by clickacig (160 points)

1 Answer

0 votes
Probably lookig at something like this

 

<xsl:param name="NewFeed">
                <xsl:for-each select="/root/OrderItems/Item">
                    <xsl:value-of select="EventID"/>::<xsl:value-of select="OrderedProductPrice"/>::<xsl:value-of select="OrderedProductName"/>::<xsl:value-of select="OrderedProductSKU"/>::<xsl:value-of select="Voucher"/>
                    <xsl:if test="position()!= last()">|</xsl:if>
                </xsl:for-each>
            </xsl:param>

 

etc

 

Who is the third party?
answered Jun 20, 2014 by Skriver (2,345 points)
Hi Skriver,

Well, the 3rd party tracking codes i'm referring to are from other shopping engines (like pricegrabber, become, shopzilla, etc..)

The tracking code for become.com goes something like this..

<script language="JavaScript">
      var pg_pangora_merchant_id='64765';
var pg_order_id='(!ORDERNUMBER!)';
var pg_cart_size='(!NUM_CART_ITEMS!)';
var pg_cart_value='(!ORDERTOTAL!)';
var pg_currency='USD';
var pg_customer_flag='';
var pg_product_id='';
var pg_product_name='';
var pg_product_price='';
var pg_product_units='';
</script>
And so on...

------------------------------

As you can see, the other variables are left blank. I need help in filling them out. :)

 

Thanks and Regards,
...