Track Email Newsletters Signups In Google Analytics

  • 0 [T] | 0 [FB] | 0 [+1] | 0 [LI] | 0 [PT]
    http://www.flyteblog.com/flyte/2008/02/track-email-new.html
    0 SHARES

Yesterday I got an email asking about an article I wrote called "Tracking Conversions: Does Your Web Site Turn Suspects Into Prospects?"

I had talked about how to track Constant Contact subscriptions in Google Analytics…something difficult to do because the signup happens at Constant Contact’s site, not yours.

The trick is in adding a piece of code to the signup form. (The same holds true for any outgoing link.) Basically, you set up an imaginary directory for your outgoing links and GA tracks these clicks as if they were going to that imaginary directory.

For the Constant Contact example, your opening line might look like this:

<form name="ccoptin" action="http://ui.constantcontact.com/d.jsp"
target="_blank" method="post"
onsubmit="javascript: pageTracker._trackPageview(‘/outgoing/example.com’);">

If you’re using the older GA code it might look like this:

<form name="ccoptin" action="http://ui.constantcontact.com/d.jsp"
target="_blank" method="post"
onsubmit="urchinTracker(‘newsletter/subscription’);">

How do you know if you’re using the older or newer Google Analytics code? Find out here.

Learn more about tracking outbound links on your site  at the GA help section.

Rich Brooks
Measure Twice, Cut Once

  • http://www.marcom-writer-blog.com Dianna

    Rich,

    Thank you for this post. I have been pulling my hair for weeks trying to figure out how to track newsletter subscribers via GA.

  • http://www.marcom-writer-blog.com Dianna

    Rich,

    Thank you for this post. I have been pulling my hair for weeks trying to figure out how to track newsletter subscribers via GA.

  • http://www.clicksharpmarketing.com Paul Burani, Clicksharp Market

    Good stuff Rich. One thing I want to point out is that the TrackPageview function needs to appear AFTER the Analytics code… so webmasters, make sure that you paste the code way up on the page. Otherwise TrackPageview will run, but the server won't know what to do with that command. (This is important, because Google always tells users to paste the GA code at the bottom, near the tag.)

  • http://www.clicksharpmarketing.com Paul Burani, Clicksharp Marketing

    Good stuff Rich. One thing I want to point out is that the TrackPageview function needs to appear AFTER the Analytics code… so webmasters, make sure that you paste the code way up on the page. Otherwise TrackPageview will run, but the server won't know what to do with that command. (This is important, because Google always tells users to paste the GA code at the bottom, near the tag.)

  • http://blog.freshegg.com jaamit

    Just to come back to Paul Burani's comment above – it's not absolutely necessary to have the GA script above the trackpageview code – the important thing is that the GA script is run before the user signs up for a newsletter. Given that it only usually takes a few seconds for the full page code (including the GA.js script at the end) to load, its unlikely someone is likely to sign up for newsletters that quickly (unless they REALLY like your site!).

  • http://blog.freshegg.com jaamit

    Just to come back to Paul Burani's comment above – it's not absolutely necessary to have the GA script above the trackpageview code – the important thing is that the GA script is run before the user signs up for a newsletter. Given that it only usually takes a few seconds for the full page code (including the GA.js script at the end) to load, its unlikely someone is likely to sign up for newsletters that quickly (unless they REALLY like your site!).

  • http://www.smhc.org chris

    So I did this on Friday and would have expected to see something in the report today. Wouldn't it be in the 'track exit pages' or would it be in 'content' … I'm hoping I'm looking for the results in the wrong area … thanks!

  • http://www.smhc.org chris

    So I did this on Friday and would have expected to see something in the report today. Wouldn't it be in the 'track exit pages' or would it be in 'content' … I'm hoping I'm looking for the results in the wrong area … thanks!

  • Olaf

    If you want to have complete data and if you want to see in Google Analytics, how often an email or newsletter was opened (or viewed), you can use http://email-tracking-with-google-analytics.com/, There you can get a pixel which you insert into your email. The pixel will then cause your Google Analytics to show how often the email has been read.

  • http://twitter.com/therichbrooks therichbrooks

    Olaf, that’s a good idea, but the problem is that so many email programs (including Outlook and Gmail) routinely turn off images by default to cut down on spam. Because of this, many emails are read but not registered with either the email service provider or GA.

  • Pingback: How to Track Constant Contact Newletter Subscribers via Google Analytics | Dianna Huff

  • Pingback: Camcorder Reviews

  • Pingback: gaming computer

  • Pingback: grind and brew coffee makers

  • Pingback: gaming pc on a budget

  • Pingback: digital recordings