Forum Moderators: buckworks & skibum

Message Too Old, No Replies

Tracking conversions

What to do when your contact is a link

         

silverbytes

1:29 pm on May 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I need help with conversion tracking. My site has email links mailto to offer user contact, spreaded on all pages on the website. And just one page with a form.

I'm trying to identify conversions coming from adwords.

My problem: users get in touch trhough email contact mostly. And few from the form page. Assuming conversion is receiving a contact from site wether from email or form page, how do I track it?

I remember once put a conde showing a logo but didn't like that. In the other hand although I can put that logo in the "Form ok page" to determine if someone sent info, I can't do it in pages containing email links, since those are all pages and doesn't mean they clicked the email link and finally send it.

Any help?

treeline

1:53 am on May 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you find a way to serve a different email address to visitors who come in from adwords?

For the duration of the visit, set a cookie (or usersession) showing adwords as the referrer. These visitors could get one email address, direct request could get another.

Steve6

5:07 am on May 15, 2005 (gmt 0)

10+ Year Member



It's a bit off subject, but we've removed all mailto links from our site, because they all were spam magnets. We replaced them with a form that can mail different people depending on the "who" parameter (.../send_email.php?who=steve). This seemed to solve our spam problem (after we changed everyone's email address) and no one complained.

birdstuff

11:48 am on May 15, 2005 (gmt 0)

10+ Year Member



Could you replace the email link on all of your pages with a link to your "Contact Us" form?

silverbytes

4:33 pm on May 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hard to move to form but how that help me to track adwords? Since other people not coming through adwords will fill there too?

In the other hand I have no idea of how to set a cookie? May you tell me how or where to learn that?

Steve6

7:30 pm on May 19, 2005 (gmt 0)

10+ Year Member



In the other hand I have no idea of how to set a cookie?

You don't need to know this if you just want to use the AdWords conversion tracking tool. Simply copy the code that AdWords gives you and paste it into your "Thank you for contacting us." page. Google will take care of setting and reading the cookies.

The important thing not to do is to paste the code into the "Contact Us" page. You only want to count a conversion when the visitor actually fills out the contact form and sends you the query. That's why it has to go in the "Thank you" page that he sees after he fills out the form and clicks submit.

The code that you paste automatically checks the cookie to see if this user has clicked on your ad. If so, it sends a message (as a page fetch) to AdWords that updates that visitor's AdWords record to count it as a converted click.

silverbytes

6:37 pm on May 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That would work with forms but not with html mailto links. I see.

about

Can you find a way to serve a different email address to visitors who come in from adwords?

I don't see how since email link is already there wether they visit it coming from ad or not...

Steve6

7:00 pm on May 20, 2005 (gmt 0)

10+ Year Member



I don't see how since email link is already there wether they visit it coming from ad or not...

This is off-topic, to get better answers you should visit the world of web page scripting at [webmasterworld.com ] or [webmasterworld.com ].

We use PHP, so I set a cookie if a user comes from a PPC page like this:


if ($_GET['source']) {
unset($adwords);
foreach (array('source', 'campaign', 'group', 'ad', 'creative', 'keyword') as $gvar) {
if ($_GET[$gvar])
$adwords[] = $gvar . '=' . $_GET[$gvar];
}
$adwords = implode('&', $adwords);
SetCookie('adwords', $adwords, time()+60*60*24*30, '/');
}

Then, if I wanted a different email link, I would do something like this:

<% if ($_COOKIE['adwords']) : %>
<a href="mailto:sales-adword@example.com">Sales</a>
<% else : %>
<a href="mailto:sales@example.com">Sales</a>
<% endif %>

I understand your site may not have much in the way of scripting, but if you're trying to keep track of campaigns, it would be useful.