Tracking Links to 3rd Party Sites

In some cases you may want to track visitors or contacts who are clicking on links that go to sites that you don't control. A common example of this would be when you want to track email clicks to affiliate sites, or are doing 3rd-party promotions.

Much like Facebook or Google Pixels, because SegMetrics requires the tracking pixel to be on the page that the contact visits in order to track them. If that site is out of your control, then that can be difficult.

There are two ways to add tracking to links heading to 3rd party sites:

  1. PixelMe
  2. WordPress

1. Pixelme.me

PixelMe is an URL shortener that embed retargeting pixels from Facebook, Adwords, Linkedin and more into shortened links. It works similar to other URL shorteners like Bit.ly, but allows you to add pixel tracking and custom branding to any of your links.

Install the SegMetrics Pixel in PixelMe

  1. In SegMetrics, go to your Site Setup page from the gear in the top menu, and copy the pixel code.
  2. Go to your PixelMe dashboard. Under the Audience Builder 'Settings' tab, you can add your Custom Pixel.
  3. Alternatively, if you are using Google Tag Manager together with SegMetrics, you can add the Google Tag Manager Pixel instead

Create the Retargeting Link

  1. Once you've added the SegMetrics pixel, follow PixelMe's guide on adding a new retargeting link.
  2. In the top right corner, select the 'Create a redirect' button. 
  3. Add your destination URL, edit your UTM settings as required, and don't forget to add it to a folder to make it easier to find later. If you're using these links from emails, be sure to add the contact Id to the emails to track them across domains.
  4. Now, select the SegMetric pixel to include it in your link.
  5. If you have a custom domain set up, you can select that as well.

Configure Your Custom Domain (Optional)

If you're sending contacts only to affiliate sites, then there's no need to have a custom domain in PixelMe. However, if you want to increase the fidelity of your tracking, and track leads across multiple affiliate sites through PixelMe, it is beneficial to set up a custom domain for PixelMe.

  1. Go to the 'Settings' tab on your PixelMe account, then click the 'Custom Domain' tab. 
  2. Add a subdomain of one of your main domains, and press "Add"
    NOTE: in order to track users effectively across all the sites, use a subdomain of your main marketing site. For example, if your main domain is example.com, make the PixelMe domain pix.example.com
  3. Follow the PixelMe's instructions for setting up your CNAME and DNS.

2. Create a Tagging Redirect in WordPress

If your site is using WordPress, you can set up a redirect system that will tag users before they get redirected.

Install & Configure the Plugin

  1. To set up the redirect, we'll want to use the Quick Page/Post Redirect Plugin.
  2. From the WordPress Admin, click on Plugins > Add New
  3. Search for "Quick Page/Post Redirect Plugin" and then click the Install Now button.
  4. Once Installed, click the Activate Button
  5. Now we're going to configure the plugin to tag contacts who are visiting your redirect links.
    From the WordPress Admin, click Quick Redirects > Meta Options
  6. Set Redirect Seconds to be 1
  7. In the Page Content section, add your SegMetrics Pixel from your your Site Setup page.
  8. Click Save Changes

Create Redirects

Now we're ready to create our redirects! Because this plugin automatically passes in any query strings or UTM values that we send it, we do not need to configure utm values in the redirect destination

  1. From the WordPress admin, click on Pages > Add New
    Note: For organization purposes, we recommend having all your redirects be Child Pages under a short top-level page like /r/ . This will allow you to instantly know which pages are redirects and which ones are actual pages in your site.
  2. Under the Quick Page/Post Redirect heading, check the box next to Make Redirect Active
  3. In the Redirect / Destination URL box, enter the entire URL that you want to redirect to WITHOUT any UTM values or query strings
  4. Set the Type of Redirect to be Meta Redirect
  5. Set the Redirect Seconds to be 1.
  6. Click Publish to publish your post
  7. Then, send users to the URL of that page to have them automatically redirected to your third-party site, with all the tracking intact. If you're using these links from emails, be sure to add the contact Id to the emails to track them across domains.

Still need help? Contact Us Contact Us