Use Cases of Keitaro TDS
TDS Between Website and Affiliates
Consider a case when you need to instal TDS between a landing page and an offer page.
A link to offer page: http://gomickey.com/?ref=199833
Create a new group. In the last action choose one of the redirection: HTTP-redirect, JS-redirect, formSubmit. Open in the frame. Write URL of the offer.
Read more about how to transfer the utm-labels through TDS on page FAQ.
Press the button “Get URL”, copy URL. Traffic should be sent to this URL.
Add this code to your landing page:
<html> <body> ... <a href="http://tds.com/gomickey">Buy!</a> </body> </html>
Besides, you can add a parameter se_referrer (a referrer of the search engine) for collecting statistics by keywords.
<html> <head> <script type="text/javascript"> window.onload = function() { var items = document.getElementsByTagName('a'); for(i = 0; i < items.length; i++) { var el = items[i]; var referer = encodeURIComponent(document.referrer); var sep = (el.href.indexOf('?') != -1) ? '&' : '?'; var href = el.href + sep; href += 'se_referrer=' + referer; href += '&' + window.location.search.replace('?', ''); el.href = href; } } </script> </head> <body> ... <a href="http://tds.com/?gomickey">Buy!</a> </body> </html>
Let's check. If you go to the link then an offer page will be opened and statistics will be updated.
Tracking Conversions
For example, you buy traffic through different teaser networks and send it to loan programs of affiliate offer Ad1. TDS allows you to split your traffic by offers of different cities and track the conversion.
In TDS create a new group. Call it “Saving account”, tick “Track conversions” and at “Stream Selection Mode” choose “Sequential”.
For each offer create a new stream. For example, there are three streams:
Stream 1
Action: HTTP-redirect URL: <nowiki>http://c.cpa1.ru/901df/{subid}:{source} </nowiki> Filters: Cities: allow: Moscow
Stream 2
Action: HTTP-redirect URL: <nowiki>http://c.cpa1.ru/d3dg/{subid}:{source} </nowiki> Filters: Cities: allow: Saint Petersburg
Stream 3
Action: HTTP-redirect URL: <nowiki>http://c.cpa1.ru/123ff/{subid}:{source} </nowiki> Filters: Cities: allow: Kiev
We have used 2 macros: {subid} и {source}. The first macro is used for tracking the conversion. And the second macro for displaying the source of traffic in statistics of the affiliate offer.
Now set up Postback at Ad1 to get information about successful conversions. Open “Operations/Postbacks”.
Choose “Ad1” among CPA-networks, copy the link and paste it in the settings of your website at Ad1.
Redirect your traffic from teasers to TDS.
Press the button “Get URL” and copy URL. Add a parameter “source” with the name of teaser network to it, it will look like this: http://tds.com/GrOup?source=teaser_1.
If you have configured all settings correctly, the hit counter in the streams will be updated and statistics will be filled. All sales will appear on “Statistics/Sales” page. On “Statistics/Streams” page you can see a conversion rate of each stream (the third value).
Targeted Ads
Consider the case if you have an Ad Unit on your website and you need to set up displaying of different banners depending on the visitor's city. - CPA-banners for New York - the second banner for Chicago - Adsense for others.
Create a new group:
Name: for example, "Unit 240x400" "Stream Selection Mode": Sequential Action for Bots: Skip The Lact Action: Return 404 Not Found Enable Banner mode: Checked
Create the first stream:
Name: Banner for New York HTML code: javascript-code of the first banner Filter by city: allow New York
Create the second stream:
Name: Banner for Chicago HTML code: javascript-code of the second banner Filter by city: allow Chicago
Create the third stream:
Name: Banner for New York HTML code: Adsense ad code
All streams are done. Press the button “Get URL”. Write the banner size (width x height) and paste the code into your website.
You can create group for other Ad Units like that.
Targeted popunders
- Save popunders code to file.
- Create new group with disabled option “Enable banner mode”.
- Create a new stream. Choose action “CURL” and enter the script path.
- Place this code at your sites:
<script src="http://GROUP_URL"></script>
Replace http://GROUP_URL to your group URL.
Catch Visitors via Script
Let's configure TDS so that it will take away all mobile traffic from your website. Paste the tag <script> on your website.
Create a new group in TDS. Write ~“mobile” at “Alias” and choose redirection “Return 404 Not Found” at “The Last Action”.
Create a stream. On the first tab at “Action” choose “Redirect for Script” and write the affiliate URL. On the tab “FIlters” at “Device Types” choose “Allow” - “Phone”.
At page “Streams” press the button “Get URL” (for example, URL http://tds.com/?mobile).
Paste this html-code into your website:
<script src="http://tds.com/?mobile"></script>
Then TDS will be loaded like a js-script and only visitors who use a mobile phone will get a javascript-code with redirection.
Catch Visitors via Iframe
Let's configure TDS so that it will take away all mobile traffic from your website. Paste the tag iframe on your website.
Create a new group in TDS. Write “mobile” at ~“Alias” and choose redirection “Return 404 Not Found” or “Show as text” at “The Last Action”.
Create a stream. On the first tab at ~“Action” choose ~“Redirect for Iframe” and write URL where you want to send your mobile phone traffic. On the tab “FIlters” at “Device Types” choose “Allow” – “Phone”.
At page “Streams” press the button “Get URL” (for example, URL http://tds.com/?mobile).
Paste this html-code into your website:
<iframe src="http://tds.com/?mobile" frameborder="0" width="0" height="0"></iframe>
Then TDS will be loaded in iframe and only visitors who use a mobile phone will get redirection.
How to Split Traffic on Mobile and Desktop Users
Create two streams: - Enable a filter “Device Types: Phone” in the first stream. - The second stream should be without any filters.
Then the first stream will get mobile users and the second stream will get desktop users.
Collect Statistics Through Pixel Tracking
How to collect landing page statistics in TDS:
1. Upload 1 pixel image in TDS directory.
2. Create a group. Choose action “CURL” and write a full URL of the uploaded image.
3. Press the button “Get URL”, copy URL.
Paste the code below on your website:
<img src="http://tds.com/track" width="0" height="0" />
http://tds.com/track
— this is URL which you copied at the step 3.
With Collecting Keywords and Referrers
<script type="text/javascript"> document.write('<img src="http://tds.com/tracking?se_referrer=' + encodeURIComponent(document.referrer)+ '&default_keyword=' + encodeURIComponent(document.title) + '" width="0" height="0" />'); </script>