How to Add Social Media Icons to an Email Signature
Enhance your email signature by adding social media icons. Discover step-by-step instructions to turn every email into a powerful marketing tool.

If you're driving traffic from Facebook ads to a HubSpot landing page, you're only seeing half the picture. Knowing your ads generate clicks is one thing, but knowing exactly which ad creative or headline led to a signed-up lead is the data that transforms your campaign from a guessing game into a predictable growth engine. This article provides a definitive guide on how to track HubSpot form submissions as Facebook lead events, giving you the clarity needed to optimize your ads effectively.
Connecting these two platforms might seem like an overly technical task, but the strategic payoff is enormous. When Facebook knows precisely which users are converting, its powerful algorithm starts working for you, rather than taking a shot in the dark. Let's break down the tangible benefits:
There are two primary ways to make this connection. The method you choose depends on your technical comfort level and the degree of control you need.
1. Direct HubSpot Integration (The Simplest Way): HubSpot offers a native integration with the Facebook ads tool. You can connect your ad account directly within HubSpot's settings. This allows you to sync lead data automatically and attribute contacts to ads. It's a great starting point if you're looking for simplicity and don't need highly granular tracking.
2. Google Tag Manager (The More Robust Way): Using Google Tag Manager (GTM) gives you a level of precision and flexibility that direct integrations often lack. With GTM, you can create a system that "listens" for a HubSpot form submission and then tells your Facebook Pixel to fire a "Lead" event. While it requires a few more setup steps, it’s the gold standard for reliable conversion tracking. This method gives you full control, allows you to track very specific forms, and works universally across your entire digital marketing stack. For these reasons, we’ll be focusing on the GTM method in this guide.
Before diving into the setup, let's make sure you have everything you need. A little preparation here will make the whole process much smoother. Here's a quick checklist:
Ready to connect the dots? This step-by-step process will walk you through setting up the GTM listener, trigger, and tag to create a flawless tracking system.
First, we need to tell GTM how to recognize when a visitor successfully submits a HubSpot form. By default, GTM isn't aware of these form events. We can bridge this gap with a small piece of JavaScript that "listens" for HubSpot's success message and pushes an event into GTM's data layer.
<,script type="text/javascript">,
window.addEventListener("message", function(event) {
if (event.data.type === 'hsFormCallback' &,&, event.data.eventName === 'onFormSubmitted') {
window.dataLayer.push({
'event': 'hubspot-form-success',
'hs-form-guid': event.data.id
}),
}
}),
<,/script>, This script now watches for a message called 'onFormSubmitted' that HubSpot broadcasts upon a successful submission. When it "hears" it, it pushes a new GTM event called `hubspot-form-success` into the data layer, along with the form's unique ID.
The code in Step 1 includes the unique ID of the submitted form (`hs-form-guid`). By capturing this ID as a variable in GTM, you can create triggers for specific forms. For example, you could fire a "Demo Request" event for one form and a "Newsletter Signup" event for another.
Now that GTM is listening for the event, we need to create a trigger that fires whenever that event happens. This is what we'll use to launch our Facebook Pixel tag.
This is the final step where everything comes together. We will create the Facebook Pixel tag that sends the "Lead" event to Facebook whenever our trigger from Step 3 fires.
Your setup is complete! All you need to do now is click the Submit button in the top right of your GTM workspace to publish your changes.
Never assume your new tracking works without testing it. Both GTM and Facebook offer excellent tools to verify your implementation in real-time.
GTM's Preview Mode is your best friend for debugging.
Once you've confirmed GTM is firing the tag, you should also check that Facebook is receiving the data.
By using Google Tag Manager to track HubSpot form submissions as Facebook Events, you unlock an entirely new level of data-driven advertising. This setup tears down the wall between your marketing efforts and actual business results, giving you the crystal-clear attribution you need to stop guessing and start scaling confidently.
Getting your conversion tracking dialed in buys you time to focus on the top of your funnel: creating great content that actually stops the scroll. We know how frustrating it can be to wrestle with schedulers built for a bygone era of social media. That's why we created Postbase, a social media management tool made from the ground up for modern formats like Reels, Shorts, and TikToks. Our goal is to give you a clean, reliable, and intuitive platform so you can plan, schedule, and analyze your content without the constant friction of legacy tools.
```
Enhance your email signature by adding social media icons. Discover step-by-step instructions to turn every email into a powerful marketing tool.
Record clear audio for Instagram Reels with this guide. Learn actionable steps to create professional-sounding audio, using just your phone or upgraded gear.
Check your Instagram profile interactions to see what your audience loves. Discover where to find these insights and use them to make smarter content decisions.
Requesting an Instagram username? Learn strategies from trademark claims to negotiation for securing your ideal handle. Get the steps to boost your brand today!
Attract your ideal audience on Instagram with our guide. Discover steps to define, find, and engage followers who buy and believe in your brand.
Activate Instagram Insights to boost your content strategy. Learn how to turn it on, what to analyze, and use data to grow your account effectively.
Wrestling with social media? It doesn’t have to be this hard. Plan your content, schedule posts, respond to comments, and analyze performance — all in one simple, easy-to-use tool.