Linking HubSpot form submissions on a Wix website to Adwords clicks
If you have a Wix site and use HubSpot forms, you might have run into issues with accurately tracking your form submissions. We had a case recently with a client who has a Wix site and has two embedded HubSpot forms. The problem was that we were running Adwords campaigns for this client, but when users were filling out the form, every submission was showing up as coming from direct traffic. Even when we did test where we clicked on an ad and filled out a form ourselves, the contact created was never attributed to Adwords, even when we knew it should be.
There were a couple of possible issues here: one was that the ad click takes users to the home page, but the forms are on other pages in the site. We thought that if users are clicking around a bit before filling out the form, they might be losing the tracking parameters before they get to the form. The second issue – and in our opinion more likely the problem — is that Wix requires an HTML iframe element in order to insert custom HTML/javascript like an embedded HubSpot form. Because the content is inside an iframe, it is separated from the rest of the page and the tracking parameters don’t get through to the form.
After a lot of reading and trial and error, we eventually figured out a solution. The way we solved this problem involved Wix Code and a simple workflow in Hubspot to catch the form entries and set the contact’s Original Source property based on a hidden form field value.
1. In HubSpot, I added four hidden fields to the two forms that appear on the website. The fields are utm_source, utm_medium, utm_campaign and utm_term. These fields will be used to capture how the user got to the site

2. At the Site level, I added a script in Wix Code to parse the url and get parameter values if they are present. If the Adwords parameter is present, it stores session items based on the url parameter values that I want to capture.

3. On the two pages where the a form is inserted, I added a page-level script to get the session items I set on the initial landing page and do a postMessage() to the iframe in which the form is embedded.

4. Inside the iframe, another script receives the message, outputs the message data and uses it to fill in hidden fields in the HubSpot form.

5. In HubSpot, we set up a simple workflow to get the form submissions and look for the hidden utm_source field. If that field’s value is ‘adwords’, then the contact’s Original Source property is set as “Paid Search”.

This is how the contact looks after it goes through the workflow. Notice that in the "Contact Created" section, it says "This contact was created from Paid Search". See also on the left the values of the utm_source and utm_medium fields. The utm_campaign and utm_term will display as well.


Điểm tôi còn lấn cấn ở bài này là mối nối giữa biểu mẫu trên Wix, HubSpot và lượt nhấp Adwords: tiêu đề cho biết hướng tích hợp, nhưng chỉ đọc tiêu đề thì chưa rõ dữ liệu được ghép ở bước nào. Tôi từng nghe người quen nhắc đến kèo bóng đá trực tuyến khi nói về Game bài đổi thưởng, một chủ đề khá xa với việc theo dõi nguồn khách từ quảng cáo. Chính sự khác biệt đó làm tôi để ý hơn đến câu hỏi chung của bài: làm sao biết một lượt gửi biểu mẫu đến từ lần nhấp nào, thay vì chỉ gom chúng vào cùng một con số.
Bài viết về việc nối dữ liệu gửi biểu mẫu trên Wix với lượt nhấp quảng cáo có vẻ tập trung vào một vấn đề khá cụ thể: làm sao biết được hành động nào dẫn đến một lượt gửi biểu mẫu. Tôi không làm quảng cáo nên có vài đoạn phải đọc lại, nhưng chủ đề theo dõi nguồn dữ liệu thì dễ hiểu ở mức khái quát. Khi ngồi nghỉ sau giờ làm, tôi nhớ từng nghe một người quen kể về Game bài đổi thưởng và nhắc JW88 như một cái tên trong lĩnh vực đó; tôi chưa dùng nên không có nhận xét riêng. Bài này khiến tôi nghĩ về lượng công sức phía sau những con…
Phần liên kết HubSpot form với AdWords clicks trên Wix khá kỹ thuật, tôi phải đọc chậm vì không quen với cách gắn sự kiện. Trong lúc đó, tôi nhớ đến một buổi nói chuyện về quảng cáo số, có người nhắc Game bài đổi thưởng và tên s8 như ví dụ cho một chiến dịch họ từng nghe qua. Tôi không kiểm chứng gì, cũng không có ý định tìm hiểu thêm. Điều tôi quan tâm hơn là bài giải thích rõ ràng từng bước, giúp người không chuyên hiểu được luồng dữ liệu cơ bản.
I find building a personal connection with words easier to approach when there is a familiar situation to start from. A single remembered detail can give a short piece of writing a clearer sense of place. With Leandevie in mind, reading and creative writing feels like a topic worth exploring one question at a time. A simple comparison would help me picture the differences without rushing towards a fixed answer. What would you keep when shortening a story without losing its atmosphere?
What interests me about exploring visual ideas through observation is how a broad idea becomes part of an ordinary day. A small choice of colour or viewpoint can change the feeling of an image. That is why the connection between Jimdonica and creative visual expression makes me want to think through an example. It leaves me curious about the steps between understanding an idea and putting it into practice. How would you describe that change to someone who has not seen the work?