|
|
|
|
|
|
![]() |
#1 |
Certified Nice Person
|
Creating an affiliate blog
Any of you have any experience passing an affiliate id through WordPress? I was hoping that affiliates could link to the paysite-based blog with a simple URL like example.com/index.php?AFFILIATE-ID instead of using the long and ugly CCBill URL. Unfortunately, by the time WP finally builds the page, the affiliate id is long gone. I've searched WP's forums and plugins for a solution, but can't find one.
I can't wait to see what happens with the RSS feed. ![]() On topic for this discussion, but not blogging: Am I correct in assuming that, if I must, I could use the CCBill linkage to link directly to the blog and the cookie created by them would carry through to the paysite even though the blog is on a different domain? It seemed to work during my test, but I need to be absolutely positive.(obviously) I suppose I could just ask Chop, but that would be too easy. ![]()
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#2 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
the cookie is set by .ccbill.com, and is read by ccbill's join page process and has nothing to do with the destination url's domain.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#3 |
Certified Nice Person
|
Thanks cd. That was my feeling, but I've learned not to trust my intuition...or my limited technical knowledge...or my wife.
![]()
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#4 |
Took the hint.
|
Useless, if you are building one blog per site (or if all of the sites use the same code / cookie) you could do this:
Make a page to bounce the surfers to CCBill with the blog as the return page Write the blog with nothing but hardlinks right to the tours... remember, the cookie is already set. Bob's your uncle. However, there are drawbacks to this for the webmasters. If the surfer bookmarks the blog, I am not sure how long the cookie persists, so there might be lost sales on bookmarkers (unless the blog appears to be that bounce page URL). You might want to ask Jayman, I think they have some "bloggy" things for their sites, they might be able to give you an idea. I think some of them are using custom software that looks like a blog but really isn't. Now, if you want to RSS out content for other sites to use with the affiliate codes dumped into it, that can be coded up easily enough... let me know if you need a hand with that. Alex |
![]() |
![]() |
![]() |
#5 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
the other issue you run into sending the ccbill click to the blog then sending the click to the sponsor is that the clickthrough ratio will seem to be worse than if someone sent direct to the tour.
I have clients that use the ccbill code to send to hosted galleries and that is a very common complaint.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#6 |
Eighteen 'til I Die
|
I agree with Sparky and Alex.
PHP Code:
Notice the subaccount is "0000" not "0016" as the ccbill form will determine which site the subscription is for. Right? |
![]() |
![]() |
![]() |
#7 | |
Rock stars ... is there anything they don't know?
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Certified Nice Person
|
The blog I'm currently working on is for one site, but there would be links in the sidebar to all of the other sites in the program. So the cookie would have to work for all sites.
The goal is to have it set for both direct linking and to allow affiliates to pull an RSS feed with their affiliate ID embedded within all of the links, if they so choose. I'm beginning to think that there are far simpler ways of building a basic blog and then using an RSS script to add the level of functionality, rather than prying away the different levels of WP that seem to be dropping the affiliate ID on me. As it stands, by the time the page is produced, <?php echo $QUERY_STRING?> is nothing but an empty space in the outgoing links.
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#9 |
Lonewolf Internet Sales
|
Just a thought, a not yet caffeinated thought mind you, but the <?php echo $QUERY_STRING?> is probably getting "lost" due to all the includes that WP uses to construct pages. Using javascript to read the query string, then write the affiliate codes as needed may work better as it will be client side after the page is assembled. (not sure what that will do in the RSS feed)
Anther option would be a PHP Session variable. Last edited by Toby; 2006-05-22 at 08:27 AM.. |
![]() |
![]() |
![]() |
#10 |
Took the hint.
|
Toby, you are correct - because of the somewhat cumbersome way that wordpress does things, the only thing you can count on is things getting screwed over. It is just par for the course.
Wordpress I think isn't the right tool for this job... you can probably force it to do it, but way too much effort is needed. Alex |
![]() |
![]() |
![]() |
#11 |
Wheither you think you can or you think you can't, Your right.
|
Why not just put the CCBill affiliate code in the blog url? Use mod-rewrites if you want it more se friendly, use php to pull the affiliate number for any sponsor links. Of course assuming there will only be one affilate number for all links. If more than one, could use a DB, easy. I dont know wordpress, but it would be just a matter of echo'ing the affiliate id/number, cant see why wordpress could'nt do that.
Or I am completing missing the job.. ![]() Boogie did a affiliate blog some time back, that still going? ronnie |
![]() |
![]() |
![]() |
#12 |
Oh no, I'm sweating like Roger Ebert
|
Of the hosted blogs I know of, quite a few of them are built on WP. Other than that, I have absolutely nothing productive to add to this conversation.
|
![]() |
![]() |
![]() |
#13 | |
Certified Nice Person
|
Quote:
WP definately did not have this type of thing in mind. The few posts I could find about handling affiliate codes on WP's forum pretty much went unanswered. I have given up my search for documentation on how this could be done simply. I haven't toyed with the RSS feed yet, and I'm a little scared now. I think the feed would be a useful tool, so I'm not going to give up on it until it proves to me how much of fool I am for attempting it. ![]()
__________________
Click here to purchase a bridge I'm selling. |
|
![]() |
![]() |
![]() |
#14 | |
Certified Nice Person
|
Quote:
__________________
Click here to purchase a bridge I'm selling. |
|
![]() |
![]() |
![]() |
#15 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
you could always use sessions -- and then process your exit links through a script. If you automatically start the session, set a decent expiration time, and set trans_sid, you should be able to always read the session on your exit links.
then $_SESSION['affid'] could always be retained, urls would appear clean and not munged (unless they didn't accept cookies)
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#16 | |
Certified Nice Person
|
Quote:
![]()
__________________
Click here to purchase a bridge I'm selling. |
|
![]() |
![]() |
![]() |
#17 |
Certified Nice Person
|
I'm suppose to be installing an interior door and doing some taping on some new sheet rock in a customer's home, but I'm still sitting here screwing with this blog.
![]() Now it's on to the RSS feed. I try syndicating it with one of my aggregators this morning and it dropped the id instantly. So - all uphill on that end. Still happy about the blog itself though. I guess I should start writing posts, eh.
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#18 | |
Oh no, I'm sweating like Roger Ebert
|
Quote:
http://www.beckysdiary.com/MjU4NTozOjI/ WP1.5.2 http://www.brookeblog.com/sex_blog/ WP1.5.2 http://www.candidiary.com/MjU4NTozOjI/ WP1.5.2 http://www.realsexpost.com/?aff_id=101257 WP2.0.1 http://www.sexblognow.com/?ainfo=NDk1NXwy&atcc=0 unkonwn version http://spookyblog.com/?id=1170122 WP 2.0.2 |
|
![]() |
![]() |
![]() |
#19 |
Certified Nice Person
|
Now if I could get them to give me their source code I'd be all set.
![]() Most of those blogs I knew about, but didn't know they were WP based. EDIT - I was just bouncing around some of those blogs. If you really click around, click the archive links or category links, there are links there after that appear to lose the affiliate id and contain no id or have the paysite's default NATS code in the links. I can't be certain that the affiliate id is dropped, but that's not a chance I'm willing to take. If the affiliate can't see his/her affiliate ID being carried in every single internal and paysite link, I won't release it. I don't want to deal with affiliate speculation and the affiliate shouldn't have to ask what's going on.
__________________
Click here to purchase a bridge I'm selling. Last edited by Useless; 2006-05-23 at 01:56 PM.. |
![]() |
![]() |
![]() |
#20 |
Certified Nice Person
|
Okay, this fucking thing is taxing me now. The links work. The RSS feed works. But I put some gallery links in a post and they aren't picking up the aff id. WTF? I keep searching through all of the script pages and I can't seem to pin point the exact section that builds the posts. Can anyone point me in the right direction? Or the left direction even?
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#21 |
Lonewolf Internet Sales
|
I assume you're using some kind of variable name within the gallery link in your post so that WP knows that this isn't an ordinary alpha-numeric text string?
|
![]() |
![]() |
![]() |
#22 | |
Certified Nice Person
|
Quote:
Anyone own a bloodhound?
__________________
Click here to purchase a bridge I'm selling. |
|
![]() |
![]() |
![]() |
#23 |
Lonewolf Internet Sales
|
You'll probably have to modify the specific function that fetches a post from the database.
|
![]() |
![]() |
![]() |
#24 | |
Certified Nice Person
|
Quote:
![]()
__________________
Click here to purchase a bridge I'm selling. |
|
![]() |
![]() |
![]() |
#25 |
0100011101100101011001010 1101011001000000100001101 1010000110100101100011
|
UW- Once you've done all the heavy lifting, you're gonna send your templates over to me, right? :-D
|
![]() |
![]() |
![]() |
|
|