The easiest way to do this is to make your badge image, then upload it to your client’s server. Put it somewhere in the Web root that you can easily target later in the server logs – maybe put it in something like http://example.com/campaign_name/badge.png. Then, when you give out the code to the people who are going to use the badge, you give them something like this:
That should get you enough hooks to figure out who clicked what from where. Just be sure to enable “query string” tracking in your log analysis software. Apache will store the ?source= part in its logs, but many log analysis applications default to only show you the bare link, absent any querystring portion, as a means of simplifying the report. All of them that I have used allow you to enable this option, though.
Naturally, give each advertising source a different client_identifier token.
Walter
On Feb 11, 2014, at 9:01 AM, Julie Maxwell wrote:
Good Morning,
I have a client that want a badge to put into another website to advertise their business.
I can design the graphic - but how do I generate html code so the other site can insert it that way?
Just be sure that the query string, like any other part of any other URL, contains no spaces. Replace all spaces with + signs or hyphens or underscores.
Walter
On Feb 11, 2014, at 9:36 AM, Walter Lee Davis wrote:
Let’s say you were giving these out to three different companies to place on their sites:
Bob’s Buggies: ?source=bob
Fred’s Flivvers: ?source=fred
Pat’s Perambulators: ?source=pat
Basically, the identifier can be anything at all that makes sense to you – you could use ?source=asdf823sdf if that floats your boat!
Julie
On Feb 11, 2014, at 9:38 AM, Walter Lee Davis email@hidden wrote:
Just be sure that the query string, like any other part of any other URL, contains no spaces. Replace all spaces with + signs or hyphens or underscores.
Walter
On Feb 11, 2014, at 9:36 AM, Walter Lee Davis wrote:
Let’s say you were giving these out to three different companies to place on their sites:
Bob’s Buggies: ?source=bob
Fred’s Flivvers: ?source=fred
Pat’s Perambulators: ?source=pat
Basically, the identifier can be anything at all that makes sense to you – you could use ?source=asdf823sdf if that floats your boat!
if I were to put it on my server but we want it to link the clients site… how would that look for code?
She is looking for her server info for me to go onto it.
thanks!
On Feb 11, 2014, at 10:12 AM, Julie Maxwell email@hidden wrote:
Thank you I will attempt this and let you know!
Julie
On Feb 11, 2014, at 9:38 AM, Walter Lee Davis email@hidden wrote:
Just be sure that the query string, like any other part of any other URL, contains no spaces. Replace all spaces with + signs or hyphens or underscores.
Walter
On Feb 11, 2014, at 9:36 AM, Walter Lee Davis wrote:
Let’s say you were giving these out to three different companies to place on their sites:
Bob’s Buggies: ?source=bob
Fred’s Flivvers: ?source=fred
Pat’s Perambulators: ?source=pat
Basically, the identifier can be anything at all that makes sense to you – you could use ?source=asdf823sdf if that floats your boat!
It would just be whatever your server address is in place of the example.com for the image address. Basically, if you were to upload the image to your server somewhere, and you visited that image in a browser – what would the URL be? The only problem with this approach would be that you would be stuck analyzing your server logs to see how many people saw that button versus how many people clicked on it (which would be done from your client’s server). It just makes the analysis harder, not the actual “showing of the image” part.
Walter
On Feb 11, 2014, at 11:12 AM, Julie Maxwell wrote:
Question,
if I were to put it on my server but we want it to link the clients site… how would that look for code?
She is looking for her server info for me to go onto it.
thanks!
On Feb 11, 2014, at 10:12 AM, Julie Maxwell email@hidden wrote:
Thank you I will attempt this and let you know!
Julie
On Feb 11, 2014, at 9:38 AM, Walter Lee Davis email@hidden wrote:
Just be sure that the query string, like any other part of any other URL, contains no spaces. Replace all spaces with + signs or hyphens or underscores.
Walter
On Feb 11, 2014, at 9:36 AM, Walter Lee Davis wrote:
Let’s say you were giving these out to three different companies to place on their sites:
Bob’s Buggies: ?source=bob
Fred’s Flivvers: ?source=fred
Pat’s Perambulators: ?source=pat
Basically, the identifier can be anything at all that makes sense to you – you could use ?source=asdf823sdf if that floats your boat!
ok I totally understand that. , but incase she can’t find it. … how would it be clickable to her site -if I dd my server? or is that up to the other site it is going on
On Feb 11, 2014, at 11:15 AM, Walter Lee Davis email@hidden wrote:
It would just be whatever your server address is in place of the example.com for the image address. Basically, if you were to upload the image to your server somewhere, and you visited that image in a browser – what would the URL be? The only problem with this approach would be that you would be stuck analyzing your server logs to see how many people saw that button versus how many people clicked on it (which would be done from your client’s server). It just makes the analysis harder, not the actual “showing of the image” part.
Walter
On Feb 11, 2014, at 11:12 AM, Julie Maxwell wrote:
Question,
if I were to put it on my server but we want it to link the clients site… how would that look for code?
She is looking for her server info for me to go onto it.
thanks!
On Feb 11, 2014, at 10:12 AM, Julie Maxwell email@hidden wrote:
Thank you I will attempt this and let you know!
Julie
On Feb 11, 2014, at 9:38 AM, Walter Lee Davis email@hidden wrote:
Just be sure that the query string, like any other part of any other URL, contains no spaces. Replace all spaces with + signs or hyphens or underscores.
Walter
On Feb 11, 2014, at 9:36 AM, Walter Lee Davis wrote:
Let’s say you were giving these out to three different companies to place on their sites:
Bob’s Buggies: ?source=bob
Fred’s Flivvers: ?source=fred
Pat’s Perambulators: ?source=pat
Basically, the identifier can be anything at all that makes sense to you – you could use ?source=asdf823sdf if that floats your boat!
That’s just how you write the link part. Look back to my example, I did separate the link and the image onto separate lines so you could see the structure.
On Feb 11, 2014, at 11:19 AM, Julie Maxwell wrote:
ok I totally understand that. , but incase she can’t find it. … how would it be clickable to her site -if I dd my server? or is that up to the other site it is going on
On Feb 11, 2014, at 11:15 AM, Walter Lee Davis email@hidden wrote:
It would just be whatever your server address is in place of the example.com for the image address. Basically, if you were to upload the image to your server somewhere, and you visited that image in a browser – what would the URL be? The only problem with this approach would be that you would be stuck analyzing your server logs to see how many people saw that button versus how many people clicked on it (which would be done from your client’s server). It just makes the analysis harder, not the actual “showing of the image” part.
Walter
On Feb 11, 2014, at 11:12 AM, Julie Maxwell wrote:
Question,
if I were to put it on my server but we want it to link the clients site… how would that look for code?
She is looking for her server info for me to go onto it.
thanks!
On Feb 11, 2014, at 10:12 AM, Julie Maxwell email@hidden wrote:
Thank you I will attempt this and let you know!
Julie
On Feb 11, 2014, at 9:38 AM, Walter Lee Davis email@hidden wrote:
Just be sure that the query string, like any other part of any other URL, contains no spaces. Replace all spaces with + signs or hyphens or underscores.
Walter
On Feb 11, 2014, at 9:36 AM, Walter Lee Davis wrote:
Let’s say you were giving these out to three different companies to place on their sites:
Bob’s Buggies: ?source=bob
Fred’s Flivvers: ?source=fred
Pat’s Perambulators: ?source=pat
Basically, the identifier can be anything at all that makes sense to you – you could use ?source=asdf823sdf if that floats your boat!
On Feb 11, 2014, at 11:49 AM, Walter Lee Davis email@hidden wrote:
That’s just how you write the link part. Look back to my example, I did separate the link and the image onto separate lines so you could see the structure.
Walter
On Feb 11, 2014, at 11:19 AM, Julie Maxwell wrote:
ok I totally understand that. , but incase she can’t find it. … how would it be clickable to her site -if I dd my server? or is that up to the other site it is going on
On Feb 11, 2014, at 11:15 AM, Walter Lee Davis email@hidden wrote:
It would just be whatever your server address is in place of the example.com for the image address. Basically, if you were to upload the image to your server somewhere, and you visited that image in a browser – what would the URL be? The only problem with this approach would be that you would be stuck analyzing your server logs to see how many people saw that button versus how many people clicked on it (which would be done from your client’s server). It just makes the analysis harder, not the actual “showing of the image” part.
Walter
On Feb 11, 2014, at 11:12 AM, Julie Maxwell wrote:
Question,
if I were to put it on my server but we want it to link the clients site… how would that look for code?
She is looking for her server info for me to go onto it.
thanks!
On Feb 11, 2014, at 10:12 AM, Julie Maxwell email@hidden wrote:
Thank you I will attempt this and let you know!
Julie
On Feb 11, 2014, at 9:38 AM, Walter Lee Davis email@hidden wrote:
Just be sure that the query string, like any other part of any other URL, contains no spaces. Replace all spaces with + signs or hyphens or underscores.
Walter
On Feb 11, 2014, at 9:36 AM, Walter Lee Davis wrote:
Let’s say you were giving these out to three different companies to place on their sites:
Bob’s Buggies: ?source=bob
Fred’s Flivvers: ?source=fred
Pat’s Perambulators: ?source=pat
Basically, the identifier can be anything at all that makes sense to you – you could use ?source=asdf823sdf if that floats your boat!