Setting up a trigger on a WordPress (woo) site with data transfer via API
Hello everyone!
So we have a connection with eSpunik. Various triggers are set up on eSpunik to send notifications via email or messengers to visitors. Here is one of the triggers that needs to be configured, but there are also other similar tasks.
Data transmission about abandoned browsing for tanita-romario.ua
What needs to be done
It is necessary to set up the transmission of data about abandoned browsing to the Esputnik.com system.
Logic: if a user viewed products but did not add them to the cart, did not purchase, and left, it is necessary to send the last products they viewed (up to 6 items). The event should be transmitted 1 hour (recommended time, another interval can be chosen) after the user session ends.
Required parameters in the event:
eventTypeKey – this is the string identifier of the event type.
keyValue – event key;
params – event parameters that can be used in the scenario.
Mandatory format – array {"name": "email", "value": "customer's email"}.
email – The method of transmitting the user's email is determined on your side. As an option, it can be taken from the page code. This can be a hidden block displaying the user's email (when they logged in to the site).
url - link to the product
name – product name (screenshot)
price – current price
tags_oldprice – old price (if there is no discount on the product and no old price, then this parameter should transmit the value 0)
imageurl - link to the product image
Example of request body for 2 products:
{
"eventTypeKey": "browsing",
"keyValue": "CUSTOMER'S EMAIL",
"params":
[
{
"name": "email",
"value": "CUSTOMER'S EMAIL"
},
{
"name": "items",
"value":
{
"array":
[
{
"name": "Cocktail Dress Lace Jacquard 24064 Milk",
"price": "1980",
"url": "https://tanita-romario.ua/product/koktelna-suknia-merezhyvo-zhakkard-24064-molochna/",
"imageurl": "https://tanita-romario.ua/wp-content/uploads/2024/11/2772a8ce615711ef930ce7e7971efadb_6c28ba889b8211ef93178ef5fb592a9f.jpg",
"tags_oldprice": "0"
},
{
"name": "Evening Dress Lace Fringe 9046 Gold",
"price": "990",
"url": "https://tanita-romario.ua/product/vechirnia-suknia-hipiur-bakhroma-9046-zolota/",
"imageurl": "https://tanita-romario.ua/wp-content/uploads/2024/09/968b28e1d9a911ebab450cb6d2b285c6_b1bbda1e540a11ef930ce7e7971efadb.jpg",
"tags_oldprice": "1980"
}
]
}
}
]
}
Access parameters to the eSputnik system for API
Send by method – https://esputnik.com/api/v2/event
These accesses are used exclusively for API access:
API key: XXXXXXXXXXXXXXXXXXXXXX (I will provide!)
Method type: POST.
Detailed documentation for this request is contained in the API description.
Client's review of cooperation with Oleksandr Rekrut
Setting up a trigger on a WordPress (woo) site with data transfer via APII am very satisfied with Alexander's work. He responded quickly, asked the right questions, delivered everything on time in a short period, and at reasonable costs. I recommend him for collaboration and will definitely reach out again.
Freelancer's review of cooperation with Yurii Yso
Setting up a trigger on a WordPress (woo) site with data transfer via APIClear specifications, ease of communication
I recommend for collaboration
-
3070 53 1 Yuri, greetings!
A lot of experience working on such specific tasks (for example, transferring the same data to Google Analytics) + experience working with WordPress (and specifically with WooCommerce)
Feel free to reach out, I would be happy to work on the task.
-
4926 88 0 Good day, Yuriy
I will complete it in a few hours.
The task is not difficult, it will be ready by morning
Write in private messages, let's start right away
-
81 1 0 Good day. I can take your project, I work quickly and efficiently. The project is interesting. Feel free to reach out.
Current freelance projects in the category Web Programming
Need a strong Webflow developer for a B2B website (not a beginner)We are looking for a contractor to create a corporate website for a cybersecurity company. We specifically need a Webflow specialist with experience in B2B / corporate websites, who can build clean architecture, Client-First, components, CMS logic, responsive design, forms, SEO,… Web Programming ∙ 47 minutes back ∙ 3 proposals |
Setting up Shopify system for offline storeWe are opening an offline hobby games store - selling board games, card games (Pokemon, Magic the Gathering, Lorcana, etc.). The store should operate on the Shopify platform (POS system, inventory management, product receipt, write-off, price adjustment). The list of items… Web Programming ∙ 2 hours 4 minutes back ∙ 6 proposals |
Mobile version of the websiteHello everyone. We need to redesign the existing mobile version of the website according to the specifications: https://docs.google.com/document/d/1BVV0UGDTEDyZ-EUvFg0RAmEasGKcl6cnK_cBB4Urbko/edit?usp=sharing HTML & CSS, Web Programming ∙ 6 hours 52 minutes back ∙ 34 proposals |
New website for sto-vag.com.uaWe want to update the website of our small auto service center. Currently, it is 1 page, and we want to make it multi-page. The CMS will be chosen by the contractor. For us, the main points are: - fast website loading - cross-browser compatibility - good mobile version The… Content Management Systems, Web Programming ∙ 8 hours 58 minutes back ∙ 69 proposals |
I am looking for a person who can help fill the website on WordPress.I'm looking for a responsible and attentive person to finish the website. I created in the cloud the pages that I like, and it mostly gave me static content. Most of the information will be static, so I won't change it much. I'm more interested in changing cases, adding… AI Content Creation, Web Programming ∙ 10 hours 52 minutes back ∙ 24 proposals |