Re: Amazon referrals firefox extension for GNOME



Hi,

I packaged up the friendofgnome amazon referral extension. It's here
if you want to try it
http://ftp.haitsma.org/friendofgnome.xpi
Comments appreciated. I'll put it on mozilla addons site when we
decide it's ready

I also added for the non-US stores the referral code. It's also
friendofgnome but in europe a -21 gets added and in japan -22.

This is the relevant code

      if (check('co.uk')) { return 'friendofgnome-21'; }
       else if (check('de') || check('at')) { return 'friendofgnome-21'; }
       else if (check('fr') ||
uri.host.toLowerCase().indexOf('amazone.com') != -1) { return
'friendofgnome-21'; }
       else if (check('ca')) { return 'friendofgnome-20'; }
       else if (check('co.jp') || check('jp')) { return 'friendofgnome-22'; }
       else { return 'friendofgnome-20'; }

Stormy,

Can you make these referral accounts in the respective shops?

Jaap


On Mon, Jun 29, 2009 at 11:14, Dave Neary<dneary gnome org> wrote:
> Hi Jaap,
>
> It's also possible to add in the extensions as we get new ones - with just
> amazon.com it's already useful.
>
> Cheers,
> Dave.
>
> Stormy Peters wrote:
>>
>> Thanks, Jaap!
>>
>> On amazon.com <http://amazon.com> we have friendofgnome-20
>> <https://affiliate-program.amazon.com/gp/associates/network/your-account/manage-tracking-ids.html?ie=UTF8&idbox%5Ftracking%5Fid=friendofgnome-20&tracking%5Fid%5Fsearchterm=>
>> (in addition to others). I'll work on the other accounts the week after
>> GUADEC.
>>
>> Stormy
>>
>> On Mon, Jun 29, 2009 at 12:14 AM, Jaap A. Haitsma <jaap haitsma org
>> <mailto:jaap haitsma org>> wrote:
>>
>>    Hi,
>>
>>    I picked up the task from http://live.gnome.org/GnomeMarketing/Tasks
>>    that wants to make a copy of iheartmiro http://www.iheartmiro.org/
>>    It's mostly ready and I called the extension: friendofgnome
>>
>>    What I'm missing are the affiliate ID's for all the different regions
>>    (.com, .co.uk <http://co.uk>, ca, .fr, .de, .co.jp <http://co.jp>).
>>
>>    Stormy,
>>
>>    Can you set up these accounts and id's? Once you have setup the
>>    accounts you can add extra id's to it. I suggest you use
>>    friendofgnome.
>>
>>    Jaap
>>    --
>>    marketing-list mailing list
>>    marketing-list gnome org <mailto:marketing-list gnome org>
>>    http://mail.gnome.org/mailman/listinfo/marketing-list
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> --
>> marketing-list mailing list
>> marketing-list gnome org
>> http://mail.gnome.org/mailman/listinfo/marketing-list
>
> --
> Dave Neary
> GNOME Foundation member
> dneary gnome org
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]