Registration on your own site → the ad platform and the source
Here the registration and the payment happen not at an affiliate network but on your own site: in your product, store or service. The site itself — its page or its server — has to tell Qubix about them. Then Qubix sends the conversion to the ad platform, by postback to the traffic source or both ways — as the source itself decides. If the registration happens at a network, the network reports it — see The path of a visitor and a conversion.
What you need beforehand: a site — hosted in Qubix or on your own hosting — and a tracker campaign whose entry point covers its address.
1. Qubix code on the site
- The site is hosted in Qubix — the code is already there, इवेंट ट्रैक करें is on from the start (a site of the Whitepage type gets no code at all). More — A hosted site counts itself.
- The landing page is on your own hosting — in लैंडिंग पेज add it with the + बाहरी वेबसाइट button and put the code from the साइट कनेक्ट करें block on every page. More — Connecting a landing page hosted elsewhere.
Check: visits appear on the पेज item of the website card.
2. The campaign and the source
The campaign's entry point is the domain and path of your site. Where the conversion goes is decided by the traffic source Qubix attributes the click to: usually the source of this campaign the visit came by; where a platform's campaigns are attached to tracker campaigns — the attached campaign's source of that platform, and of several such sources the one the visit came by. That source's template and settings decide it, and the two ways of sending do not depend on each other:
- by the event map — if the source's template has an ad platform's event map, the conversion goes to that platform under the name the map pairs it with, or the platform's own tag on the site sends it, if the source is set so;
- by postback — only रजिस्ट्रेशन and डिपॉज़िट, each to its own address and switched on in कन्वर्ज़न, in the row of the source in the card of the conversion; a person to whom that section is not open sets the same address and switch in the source card, in the S2S पोस्टबैक block — each of the two has its own row there; see Parameter passing and postback.
A source can use both ways or neither. More — The path of a visitor and a conversion.
3. Tell Qubix about the registration and the payment
Pick one way — Qubix handles them alike.
From the page. In the site code, at the place where the registration was accepted or the payment went through, add a call:
// the registration was accepted
sdk.sendEvent('reg')
// the payment went through
sdk.sendEvent('dep', { payout: '50', currency: 'USD', txid: 'order-123' })
txid is the order or deal number: by it Qubix does not count a repeat. More —
Report a registration or a deposit.
From the site server. The page takes the visitor identifier from the Qubix code — sdk.getPiuid() — when the lead
is sent and passes it to the server together with the lead, for example in a hidden form field. On a site connected
with the script from a Qubix domain the identifier appears once Qubix has answered the page's first event, so do not
read it when the page loads. When the server has accepted the registration or the payment, it calls the postback
address from the card of a domain with the पोस्टबैक role:
# registration
curl "https://pb.your-domain.com/<code>/postback?subid=CLICK_ID&status=lead&from=mysite"
# deposit
curl "https://pb.your-domain.com/<code>/postback?subid=CLICK_ID&status=sale&payout=50¤cy=USD&from=mysite"
The ready address with the code is in the पोस्टबैक URL block of the domain card; it is shown only to those who see all domains. More — If your landing page has its own backend.
From a handler of a site hosted in Qubix. The handler knows the visitor of the request by itself:
Qubix.conversion('reg');
Qubix.conversion('dep', { payout: '50', currency: 'USD', txid: 'order-123' });
More — Landing page backend.
4. Check every step
| What to check | Where |
|---|---|
| ad visits land in the campaign | tracker campaign card → क्लिक |
| the registration and the deposit are recorded | campaign card → रजिस्ट्रेशन and डिपॉज़िट; ऑडियंस → the visitor card |
| the server postback arrived | ऑडियंस → पोस्टबैक |
the conversion went to Facebook (a source on the facebook template) | the Facebook window → the मिलान tab — the delivery strip above the table; स्रोत — the Not sent to Facebook: N label in the Facebook: कोई ट्रैकर कैंपेन नहीं row |
The campaign card tabs show visits with an ad number in the address and conversions of such visits. A test visit opened by hand without an ad number is found in ऑडियंस and on the पेज item of the website card. An administrator sees it; with limited access you see visits and events only of the ads of your campaigns.