Solved

link customer information with google analytics

Posted on 2007-03-30
5
257 Views
Last Modified: 2013-12-07
I would like to know if there is a way to link ids from our database with a certain field that can be tracked in google analytics? I am looking to link a applicant id from our website to something we can track with google analytics to help determine the value of certain keywords.

For example if applicant 1 clicks on a link lands on our webpage and then submits contact information. I would like to be able to link the id of the contact information with the keyword that the applicant clicked on. Is this possible to do with google anayltics?
0
Comment
Question by:robanstee
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:jawahar_prasad
ID: 18835205
Hi..
Google analytics will tell you which link referred a visitor to your site which contains the link id..
You can see the statistics in your google analytics page..
Then you can click that particular link and see which keyword is used in that particular link..

:)
OR
You can get the HTTP_REFERER servervariable if your page and link to the contact information and update into the database...
0
 
LVL 9

Expert Comment

by:pmagony
ID: 18840392
You would need to build a GA url that contains a variable value for your ID.

First and foremost, you need to build and provide this link to the host website. If you don't have control of the link on the referring website, you can't track it with your specific ID.

Next, go here and learn how to build GA Url's:
http://www.google.com/support/analytics/bin/answer.py?answer=27255&query=tag&topic=0&type=f

Any link can contain parameters that are meaningful to you.  So let's assume that Site A is your referring site, and you are CNN.

http://www.cnn.com/?utm_source=siteA&utm_medium=txtLink&utm_term=keyword

The link above is sprinkled with parameters that tell me all about the referring source, the medium, and the type.  Of course, this can all be customized to suit your needs.  I hope this helps.. I'm on the run but wanted to get some information to you.  Post back if you have further questions after researching the above methods.

Good Luck
0
 

Author Comment

by:robanstee
ID: 18845915
Thanks for the solutions. I have set this up and I am testing this with current links. What I want to do is be able to link the data with my web database so I can see specific names of applicants and what keywords caused them to come to our site. I think this is impossible without building some sort of landing page that would take the information and then insert that data into a database.
0
 
LVL 9

Accepted Solution

by:
pmagony earned 500 total points
ID: 18846541
"I think this is impossible without building some sort of landing page that would take the information and then insert that data into a database."

The landing page can be any page on your site.  You don't have to create additional pages.  You could, with PHP "capture" the $_GET variable you pass in the URL.

Utilizing the original URL we talked about, my page could have a variable declaration at the top of the page that reads like this:

$keyword = $_GET['utm_term'];
$referrer = $_GET['utm_source'];
$medium = $_GET['utm_medium'];

Once the link comes in, those variables are just sitting there waiting to be populated by the variables being passed in the URL.  Once they have been assigned a value, you can then pass them from one page to the next, or INSERT them into your db.
0
 

Author Comment

by:robanstee
ID: 18847078
Thanks that is a simple solution but I think it will work best for us in this case. Thanks for all your help, this is exactly what I needed.

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question