Connect DataLayer on the Wordpress site in popups through Elementor
It is necessary to connect DataLayer for GTM to the feedback/order forms. The site is Wordpress, built on Elementor.
Accordingly, all popups are also on Elementor, this needs to be taken into account.
The event generate_lead generates information about the submission of the application to the CRM. Here is how the popup looks https://prnt.sc/ymi8fNIlc7Dj
Insertion code
dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.
dataLayer.push({
event: "generate_lead",
service_name: “select service”,
url_path: “path”,
user_data: {
user_name: “first_name”,
user_phone: “phone_number”,
user_mail: “user_name”
}
});
Description of what is responsible for what: https://prnt.sc/o2OvQwx0hwyE
We insert the email only in those forms where there is an email. As I see it, there are none, but let it be with a view to the future.
I will send the site in a personal message. The task is urgent.
Current freelance projects in the category Web Programming
Development of a simple catalog website (Czech Republic)A budget-friendly yet fully functional product catalog website is needed for the Czech market. The project is short-term (launched for a clearance sale), so the priorities are minimum cost, speed of implementation, and ease of deployment. No complex automation systems or… HTML & CSS, Web Programming ∙ 5 minutes back ∙ 5 proposals |
Automation setup: Form on the website → WhatsApp bot → CRM (Make + WATI)Project Description: There is a transportation company website. Clients submit requests through a form on the site — the form is sent to email. We need to set up the following automation:Stage 1 — Form → WhatsApp — When a new request comes to the email from the website, the… Web Programming, Bot Development ∙ 1 hour 19 minutes back ∙ 12 proposals |
I want to learn how to create websites for CS:GO/CS2I need a mentor who will teach me how to create a CS2/CS:GO server. I want to go through step by step via Discord/Zoom: hosting/VPS, server.cfg, maps, plugins, admin panel, ban system, Discord, website, and statistics. Language: Ukrainian or Russian. HTML & CSS, Web Programming ∙ 7 hours 1 minute back ∙ 8 proposals |
Development of the web service "Interactive Veterinary Dental Map"Project essence: a web application where doctors can maintain interactive dental charts for patients (cats and dogs) The interface design and all jaw elements are already fully prepared in Figma (vector SVG with separation by individual teeth) Required functionality:… Databases & SQL, Web Programming ∙ 7 hours 31 minutes back ∙ 49 proposals |
Looking for a programmer or vibe coding Automation scraping data 2https://drive.google.com/file/d/14tP5XWJB9acV4gn_cJrFwMpihUj3EbQz/view?usp=sharing I accidentally sent that link Web Programming, Data Parsing ∙ 9 hours 58 minutes back ∙ 26 proposals |