Facebook Pixel & Conversions API code integration
For your proposal, please provide an approximate estimate of the project duration and the price at which you can carry out this integration.
The overall task is to implement advanced user tracking with event transmission to Facebook for further formation of advertising campaigns.
General Workflow
An event is tracked
We collect data for the event
We transmit the event via Facebook Pixel
We store data in the database for further transmission via Conversions API
We form data transmission to Conversions API according to a separate regulation
* Technical requirements - according to the documentation, FB recommends using a separate cloud
** For deduplication of events in the system, we use event_time, which must be the same when transmitting data via Facebook Pixel and Conversions API
1 - Facebook Pixel
The pixel is already installed on the site. The task is to ensure that all events are tracked correctly and the necessary data is transmitted.
Tracked Events
ViewContent
AddToCart
InitiateCheckout
Purchase
ViewContent - product view
fbq('track', 'ViewContent', { parameters })
Placement
product page, main product
Parameter Description
value - selling price of the product (taking into account the discount if any)
currency = ‘UAH’
content_name - product name depending on the language
content_type = ‘product’
content_ids - product identifier
content_category - name of the parent category of the product depending on the language
event_time - event time
AddToCart - adding product to cart
fbq('track', 'AddToCart', { parameters })
Placement
product page - main product
Parameter Description (same as in ViewContent)
value - selling price of the product (taking into account the discount if any)
currency = ‘UAH’
content_name - product name depending on the language
content_type = ‘product’
content_ids - product identifier
content_category - name of the parent category of the product depending on the language
event_time - event time
InitiateCheckout - order checkout
fbq('track', 'InitiateCheckout', { parameters });
Placement
checkout page
Parameter Description
content_category = ‘checkout’
content_ids - array of product identifiers in the cart ( [‘123’, ‘456’, …] )
currency = ‘UAH’
num_items - number of products in the cart
value - current order amount
event_time - event time
Purchase - order completed
fbq('track', 'Purchase', { parameters });
Placement
thank you page for the order (order completed, we have the order number)
Parameter Description
content_category = ‘purchase’
content_ids - array of product identifiers in the cart ( [‘123’, ‘456’, …] )
content_type = ‘product’
currency = ‘UAH’
num_items - number of products in the cart
value - current order amount
event_time - event time
2 - Facebook Conversions Api
It needs to be set up from scratch.
Documentation for forming the request
https://developers.facebook.com/docs/marketing-api/conversions-api/using-the-api/
Description of request parameters
https://developers.facebook.com/docs/marketing-api/conversions-api/parameters
For events from the site sent via Conversions API, the following parameters are required
client_user_agent – User agent for the browser corresponding to this event - Link to description of client_user_agent
action_source
event_source_url
Pageview - on all pages of the site
Data collection and sending - on all pages
ViewContent - product view
Data collection and sending - product page, main product
AddToCart - adding product to cart
Data collection and sending - product page - main product
InitiateCheckout - order checkout
Data collection and sending - checkout page
Purchase - order completed
Data collection and sending - thank you page for the order (order completed, we have the order number)
-
2418 71 0 1 Good day, I am interested in your project. I am confident that the task matches my professional skills and experience.
I am ready to pay great attention to details and ensure high-quality execution of the task. I have experience working on similar projects and have a great understanding of the requirements of your project.
I would appreciate the opportunity to discuss your expectations in more detail and collaboratively find optimal solutions. I am ready to start working immediately and ensure the successful implementation of your project's ideas.
I look forward to collaborating!
Current freelance projects in the category Javascript and Typescript
Full-stack development — Amazon PPC Dashboard (Stage 1)Need a full-stack developer with experience working with Amazon API to implement Stage 1 of the internal PPC dashboard. The project is real, the data is live, everything is ready to start. Frontend prototype (5 pages, React + TypeScript): WHAT IS ALREADY READY — Frontend… Javascript and Typescript, Web Programming ∙ 10 hours 59 minutes back ∙ 17 proposals |
Development of a photo book and photo frame constructor websiteProject Goal A modern website needs to be developed for ordering photo books, photo frames, and other personalized photo products. The main task of the project is to provide the client with the ability to independently create a ready-made layout of the product directly on the… Javascript and Typescript, Web Programming ∙ 2 days 3 hours back ∙ 90 proposals |
Full-stack developmentNeed a full-stack developer who is free for work and not looking to get rich immediately from this project. This is my test site: readyhome.ge the prototype of which I want to create (not referring to design). In the footer, there is Russian language, fill out the questionnaire… Javascript and Typescript, Web Programming ∙ 2 days 15 hours back ∙ 79 proposals |
Team for a custom marketplace of funeral services.We are looking for a team to launch and develop a custom national marketplace for funeral services. Right away: we are not looking for solo freelancers, juniors, or "website builders." We need a strong product team at the middle+/senior level with real cases in… Javascript and Typescript, Web Programming ∙ 2 days 21 hours back ∙ 25 proposals |
Improvement of the existing Next.js/Supabase project: offers, CRM, analytics, AI chatThere is an active project WatchGenius — a luxury watch analytics platform with a catalog of models, price analytics, external offers, application forms, and an AI chat. The project has already been partially developed. We need not a website from scratch, but an experienced… Javascript and Typescript, Web Programming ∙ 4 days 22 hours back ∙ 55 proposals |