Find Jobs
Hire Freelancers

Need javascript tracking for Bing Cashback for my shop cart

$30-250 USD

Cancelled
Posted over 14 years ago

$30-250 USD

Paid on delivery
Here is the Javascript code provided by Bing Cashback. This goes on my order completed page. This should take 5-mins for any experienced coder. All you have to do is get it to loop for each item purchased (see code below). <!– Begin cashback Tracking Pixel Code --> <script type='text/javascript'> <!-- var jf_merchant_id = 'WjZYb2NrMWJyNlRUxjQT09Cg'; var jf_merchant_order_num = 'ORDER_NUMBER'; var jf_purchased_items = new Array(); // adding cart items FOR EACH PURCHASED ITEM... // add cart item var jf_item = new Object(); [login to view URL] = 'ITEM_PRODUCT_ID'; [login to view URL] = 'ITEM_PRICE'; [login to view URL] = ITEM_QUANTITY; [login to view URL] (jf_item); NEXT PURCHASED ITEM //--> </script> <script type='text/javascript' src= '[login to view URL]'> </script> <!-- End cashback Tracking Pixel Code --> ----------------------------- Here are the variables that my shopping cart uses. Replace the items above with the correct variables. For example, you would replace ORDER_NUMBER above with Order[0] Order-specific information can be generated by JavaScript on the [login to view URL] page within Volusion. On this page, two JavaScript arrays will be intiialized that advanced users may need to be aware of. The arrays and their contents are as follow: Order Array Contents: * Order[0] = Order ID OrderDetails Array Contents: * OrderDetails[X][0] = Order ID * OrderDetails[X][2] = Product Code * OrderDetails[X][5] = Product Price * OrderDetails[X][6] = Quantity Note that in the above example, X refers to a line item number (beginning from zero). Note that there can be multiple OrderDetails arrays - one for each item contained within an order.
Project ID: 534997

About the project

1 proposal
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $30 USD for this job
User Avatar
Please check PM
$30 USD in 0 day
5.0 (4 reviews)
2.8
2.8

About the client

Flag of UNITED STATES
Northville, United States
5.0
37
Payment method verified
Member since Jun 23, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.