---
title: Track Meetings Booked by Email Campaign
description: Track Meetings Booked by Email Campaign
---

<https://www.brandonjarousky.com/repo>

# [Track Meetings Booked by Email Campaign](https://www.brandonjarousky.com/repo/track-meetings-booked-by-email-campaign)

 Written by [Brandon Jarousky](https://www.brandonjarousky.com/repo/author/brandon-jarousky) | Mar 13, 2019 10:18:51 PM

Steps to Implement:

1. Start by setting the domain for where your meetings are hosted. You must host your meetings from the same subdomain that you use for landing pages.

2. Set Email tracking settings to 'Add source tracking only if no existing tags in URL'

3. Create a landing page using the ['Meetings by Owner' custom module](https://app.hubspot.com/design-manager/3369802/modules/7553887169). This can be copied from the Consulting portal to your customer's portal.

4. Create an email using the ['Email Tracking Meeting Link' custom module](https://app.hubspot.com/design-manager/3369802/modules/7556059976). This can be copied from the Consulting portal to your customer's portal.

5. Below is the script to add into the footer or closing body section of your landing page:

<script> var getQueryString = function ( field, url ) { var href = url ? url : window.location.href; var reg = new RegExp( '[?&]' + field + '=([^&#]*)', 'i' ); var string = reg.exec(href); return string ? string[1] : null; }; var emailName = getQueryString('utm_email_name').replace(/_/g, ' '); var eventName = "Meeting booked from" + emailName; if (eventName){ setTimeout(function(){ jQuery('.meetings-iframe-container iframe').contents().find(".meetings-page").on('click', "button[data-selenium-test='forward-button']", function(){ _hsq.push(["trackEvent", { id: eventName }]); }); }, 3000); } </script>

6. Events will now be logged for all Meetings booked from marketing emails with the name "Meetings booked from [EMAIL NAME]."

[View full post](https://www.brandonjarousky.com/repo/track-meetings-booked-by-email-campaign)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Brandon Jarousky"
  },
  "dateModified" : "2019-03-13T22:18:51.320Z",
  "datePublished" : "2019-03-13T22:18:51Z",
  "headline" : "Track Meetings Booked by Email Campaign",
  "image" : {
    "@type" : "ImageObject",
    "url" : "http://www.adherecreative.com/hubfs/Aero-2016/Image/blogHeroBg.jpg"
  },
  "mainEntityOfPage" : "https://www.brandonjarousky.com/repo/track-meetings-booked-by-email-campaign",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "repo"
  }
}
```