Download the PHP package xddesigners/shop-affiliate-marketing without Composer
On this page you can find all versions of the php package xddesigners/shop-affiliate-marketing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xddesigners/shop-affiliate-marketing
More information about xddesigners/shop-affiliate-marketing
Files in xddesigners/shop-affiliate-marketing
Package shop-affiliate-marketing
Short Description Adds affiliate marketing s2s postback support to SilverShop orders
License BSD-3-Clause
Informations about the package shop-affiliate-marketing
XD Silvershop Affiliate marketing
Adds affiliate marketing s2s postback support to SilverShop orders. The module comes with a abstract AffiliateProvider class where implementation for different providers can be based upon. A default implementation for Tune's HasOffers platform already exists.
What it is
Affiliate marketing is used by marketeers to generate leads with affiliate networks. Affilate partners can use links with affliate id's in blog posts for example.
Configuration
Has Offers
You can configure the following parameters on the Has Offers implementation:
If you work with multiple goals or offers id's and don't want to make use of the default parameter you can extend the HasOffers
class:
Create a custom AffiliateProvider
If you have a different affiliate provider you can extend the abstract AffiliateProvider class and implement the methods sessionFromRequest
and doPostBack
. The first method is used to get and store the id you need for your postback in the session. The doPostBack
method is called by the order when paid and should call the provider's server with the stored id.
Configure the injector to use your custom affiliate provider: