Find Jobs
Hire Freelancers

Extract Cookie Data

£18-36 GBP / hour

In Progress
Posted about 6 years ago

£18-36 GBP / hour

I have a Big Commerce Store which is having problems with Facebook Pixels. I need to install the Facebook pixel code myself however, BigCommerce does not make it easy to get the ids of the products in the cart on the checkout page so I can send a purchase event to Facebook with the correct products purchased. We have an app installed Beeketing UpSell / Cross Sell which improves conversion and gets around the issue by adding cart info to a cookie. I need javascript code which I can include on the order confirmation page to read the data from a cookie and extract it into some variables that I can then send to facebook via a purchase pixel. Data required: product ids product quantity number of products in the cart Cookie sample: Cookie Name: bk_cart Cookie Value: {%22t%22:%229764512_1518270530578_9862%22%2C%22s%22:[]%2C%22a%22:[]%2C%22i%22:[{%22p%22:94%2C%22i%22:94%2C%22q%22:1}%2C{%22p%22:174%2C%22i%22:174%2C%22q%22:1}]} The correct product IDs here are 94 and 174. It appears to be perhaps serialised. When I decode it I get this: {"t":"9764512_1518270530578_9862","s":[],"a":[],"i":[{"p":94,"i":94,"q":1},{"p":174,"i":174,"q":1}]} So it would need to extract out the subkey [[i][p] and [i][q]and the same again for the second, third etc cart item.. The function should be something like: var BeeketingCartIds = getCartIds(); // The product IDs in the cart var BeeketingCartQuantities = getCartQuantities(); // The number of each product id ordered var BeeketingCartNumItems = getCartItems(); // The total number of items in the cart Thanks
Project ID: 16268464

About the project

7 proposals
Remote project
Active 6 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
7 freelancers are bidding on average £25 GBP/hour for this job
User Avatar
Hello there, I would like to be considered for this job as I have great working experience in HTML, CSS and JavaScript/jQuery development. I also have good experience in JSON serialization and desalinization. Thanks, Ramesh
£18 GBP in 20 days
5.0 (79 reviews)
6.2
6.2
User Avatar
I have very reasonable and successful experience in the following: - html CSS3, Bootstrap, - PHP+MySQL, node.js,Angular.js, JavaScript + Ajax sites: small auction site for car dealer, site for selling coupons for local shops and corporate site for insurance company. - all site were done by me from 0. I got just PSD files and did all responsive HTML coding for MAC/Win: FF/Chrome/IE/Safari. - I used WooCommerce to apply payment gateways, UPS API for shipping, OAUTH API (SSO 2); - I have great knowledge how develop well optimized DB and less about NoSQL DB; My previous employers always complimented me that I have good creative taste
£25 GBP in 40 days
5.0 (21 reviews)
5.8
5.8
User Avatar
1. Huge experiences in http1.1/2.0, deep background knowledge of web technology. 2. Diligent and fast work. 3. Good communication skills.
£30 GBP in 40 days
4.1 (5 reviews)
3.6
3.6
User Avatar
Hello Sir, I have read your job post and your job sounds really interesting to me as I have done similar work in my past and I can do this job as per your requirements. I have 17 employee short company and all have more than 7-8 years’ experience in each field. I can do your website mobile friendly easily because I have done many hundreds website already. I can easily update your website with modern technology in all language. I also have 9+ years experience in Wed designing and development and digital marketing. Our team is expert with the following tools: - Squarespace - Photoshop SQL - Foundation - HTML5 - CSS3 - Bootstrap - Mobile Responsive - Mobile JQuery - Js/jquery - W3 css responsive - Word Press theme Customization - PHP - SEO - Social Media - Digital Marketing We have done more than 478 web designing and development jobs. Please check it and let me know if you have any question. Regards,
£22 GBP in 40 days
5.0 (8 reviews)
2.7
2.7
User Avatar
Hello, I am very much interested on your project.I feel that I am the exact match for your requirements after thoroughly reviewing the job description and desired skills. Thanks
£30 GBP in 40 days
5.0 (1 review)
0.8
0.8

About the client

Flag of UNITED KINGDOM
London, United Kingdom
0.0
0
Payment method verified
Member since Jan 27, 2018

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.