Archive for February, 2011

Add Google Analytics Data to Zoho CRM Lead Forms

Published February 16th, 2011 Analytics 10 Comments

I thought I’d earn some karma and put some instructions up for people who are interested in integrating Google Analytics data into their Zoho CRM Web-to-Lead forms. We were doing this with Salesforce, and since switching (back) to Zoho, we’ve updated the code to work with their system. Here are the steps and a link to the code at the bottom. Big thanks to Art Wells who wrote this jQuery code, and Justin Cutroni; I directed Art to his post on integrating Google Analytics with a CRM to make this happen

First step is to create the fields that will house the Google Analytics cookie data in Zoho. Navigate to Setup > Lead Settings > Fields List and create five new fields:

  • Google Analytics Source
  • Google Analytics Medium
  • Google Analytics Campaign
  • Google Analytics Keyword
  • Google Analytics Content

I set these all up as text fields, in the Description section (see below for how to create their own section), with a length of 100 just to be safe. I’m going to suppose you have a good knowledge of how these fields are used in Google Analytics. If you don’t then you can read up on campaign tracking in Google Analytics, and keep in mind that the source and medium values are used for referrals, organic search, and direct traffic also. Additionally, keyword is used for organic traffic. You’ll see an example later in this post.

With those setup, this next step is optional: I moved them all into their own section on the Lead page, called Google Analtyics data. This is all done in Setup > Lead Settings > Edit Page Layout. Pretty straightforward; setup the section and move the fields down there.

Now you need to get the values that Zoho is going to associate with these in the Web-to-Lead form. I’m assuming that you have a Web-to-Lead form setup and you are using it on your website. If not, you need to get that going; use Zoho’s support tools to figure that out. Moving along: go to your Web-to-Lead form in Setup > Lead Settings > Web-to-Lead Form and add these new fields into the form. Then get the source code.

Dump that code into a text editor, and find the 5 Google Analytics fields you created. They will have an input “name” of something like LEADCF8. You see how this value is configured: lead custom field and then a numeric value. Copy those field values and put them into Evernote or something.

Next, you’re going to take the script provided below and put it into your own .js file on your site. I can’t write code anymore, so don’t post a bunch of comments about how to use this. It’s in the jQuery on our site in swellpath.js. Dig up the file if you need to figure it out in detail. The screenshot shows you where the values from your Zoho Web-to-Lead form go.

Zoho Gooogle Analytics Source Script

Final step. Add this to each of the Web-to-Lead forms on your site, in the <form> tag:
class=’trackmaster’

This class is what triggers the script to add the hidden Google Analytics input values.

So, what do you get with all this? Check this screen shot out:

Zoho Google Analtyics Integration

This is from a test lead, where the term “swellpath marketing analytics portland” was used to find our site. Not much to add; I think the value in this is pretty clear for sites generating leads from these Zoho forms.

iHere is the JavaScript we are using. Enjoy using this!

Is Facebook Advertising A Bargain Right Now?

Published February 7th, 2011 Social Media No Comments

Last week I came across a Quora question about whether Facebook advertising is a bargain right now. I thought this presented an interesting jumping off point for a blog post. We feel that Facebook advertising is a bargain for marketers right now, for several reasons. Ultimately this is because the space isn’t very competitive right now. It isn’t competitive for several reasons, and in my answer I listed the primary ones as a misunderstanding of how to use the medium, and failure to optimize campaigns.

There is a perception out there that Facebook advertising “doesn’t work”. There is data to support this – or back up the notion that most marketers aren’t using it right. Webtrends in particular is pumping out some great data on Facebook advertising, some of it suggesting that click-through rates are lower than traditional online display click-through benchmarks. The numbers definitely match up with what we have seen – from campaigns that weren’t well run. We’ve also found that campaigns that are well managed, and focused mainly on social impressions, had much higher click-through rates. This hits on the major differentiator Facebook has – the social graph and access to the interests of everyone in a viewers social circle. Leveraging social impressions (ads served to “Friends of Fans”) is critical to a solid Facebook ad campaign.

Just as critical is having realistic goals. Expecting someone to click-through to an off-Facebook page, and complete some type of conversion goal might be unrealistic, unless it is a very compelling offer. Expecting a Friend of one of your fans to like your ad and page is much more realistic. So, if your immediate business need is to sell widgets through your own ecommerce site, Facebook advertising is probably not the best option place for you to spend your dollars right now. If your objective is to build up a network of people who are interested in your products and your brand, in a medium with which you can communicate to them, then it makes much more sense.

Optimization is simply about having an active campaign that is constantly being refined and tested. Stagnant campaigns flatline on Facebook; active campaigns are rewarded. Being active takes time with Facebook – the interface is not like AdWords, and it is difficult to be efficient. However, using a tool that leverages the API, or simply investing the sweat into Facebook’s interface, is well worth it. Combining this will a well crafted testing and optimization strategy is critical to generating those higher click-through rates that make the medium a bargain.

One final consideration that is important in considering the bargain-factor, is taking into account the long-term or lifetime value of a new Like. Leveraging the Facebook “network” is limited right now, but there are are myriad of opportunities it may present to marketers in the future.

Email Updates

Signup for our newsletter to keep up with the latest from the convenience of your inbox.

Connect with Us

Find SwellPath on the socialsphere and keep up with the latest news in our world.

  • Google Plus
  • LinkedIn
  • Twitter
  • Facebook

411 NW Park Avenue, Suite 400
Portland, OR 97209
(503) 224-9204
info@swellpath.com