Home > Technical & Creative Skills > Tracking Campaigns

How Would You Copy This Lander (7)


10-22-2018 10:29 PM #1 p rand (Member)
How Would You Copy This Lander

This is the lander:

http://ph10.thegrcoffee.com/

It's a Leadbit domain, but it's a private lander, and I'd have to host it myself in order to use it. Tracking is the issue here.

My problem is that I can copy the lander and record sales, but I haven't been able to figure out how to pass the clickid through the form, since the form is on the lander that I'd be hosting. The general path, of course, is lander opens an offer page. Here the offer page is integrated into the lander.

I track with Binom. Would anyone be able to point me in the right direction to figure out how to pass the tracking information?

I'm hesitant to go through Fiverr or through other VAs, because I don't think this is an everyday coding problem for people who build and rip landing pages.


10-23-2018 09:26 AM #2 erikgyepes (Moderator)

If the form is right on the LP you have basically 2 options:

1) Include form as an iframe (not sure if Leadbit has this option, I know Adcombo has it)

2) Leave the form on the page and send the leads via API. But this needs programming (PHP) knowledge. So better to hire that VA and let them figure it out first, then later you can reuse it.


10-23-2018 09:42 AM #3 matuloo (Legendary Moderator)

Yup, you will need a bit of coding ... you can still use a regular tracker to generate the clickID, but some custom code has to grab it from the link and then post it to the form ... the network has to tell you how to pass it to them, the form data also needs to get posted to them in some way ... some kind of api would be the best solution as Erik mentioned.


10-23-2018 09:56 AM #4 p rand (Member)

Quote Originally Posted by erikgyepes View Post
If the form is right on the LP you have basically 2 options:

1) Include form as an iframe (not sure if Leadbit has this option, I know Adcombo has it)
Would you be able to point me to a tutorial on iframing in landers? I'm not sure how you get the clickid to pass through the iframe. Is the iframe opened with the tracker link the way a regular offer page would be? Or is the clickid passed through the iframe a different way?


10-23-2018 10:02 AM #5 erikgyepes (Moderator)

You can lookup any HTML guide/tutorial on iframes as there is nothing special about it, like this one:

https://www.w3schools.com/html/html_iframe.asp

With Adcombo you just take the link:



And include it in iframe HTML tags:

Code:
 <iframe src="https://youriframeofferlink" style="height:200px;width:300px;border:none"></iframe>
Something along these lines, of course you will need to customise the URL and the width/height..

Only problem is that these premade forms are quite limiting, you cannot customise them as much.

That's where the API way is more flexible IMO.


10-23-2018 10:14 AM #6 eurosen (AMC Alumnus)

Nevermind, tried it and doesnt work



It looks like the order section has an element attached to it:

http://ph10.thegrcoffee.com/?c=es#ordera0

Can you not rip the page and add that element to the offer url?


10-24-2018 01:06 AM #7 p rand (Member)

Quote Originally Posted by erikgyepes View Post
You can lookup any HTML guide/tutorial on iframes as there is nothing special about it, like this one:

https://www.w3schools.com/html/html_iframe.asp

With Adcombo you just take the link:



And include it in iframe HTML tags:

Code:
 <iframe src="https://youriframeofferlink" style="height:200px;width:300px;border:none"></iframe>
Something along these lines, of course you will need to customise the URL and the width/height..

Only problem is that these premade forms are quite limiting, you cannot customise them as much.

That's where the API way is more flexible IMO.
That looks like an AdCombo iframe. The problem with those is that you can't customize the text and therefore can't customize the language. I actually had a coder rewrite the form and insert it into a page of mine. Then I realized I wasn't tracking sales, because I didn't have the code written to pass the click id.

Anyone know a good guide for setting up an API? I found this from AdCombo: https://confluence.adcombo.com/displ...ing+orders+API
It might work for a coder, but not for me.

How does this one go about setting up an API on AdCombo? I dug this up on a different forum:

<!DOCTYPE html>
<html lang="en">


<body>


<?php
const API_URL = "https://api.adcombo.com/api/v2/order/create/";
const API_KEY = "123456789";
$isCurlEnabled = function(){
return function_exists('curl_version');
};
if (!$isCurlEnabled) {
echo "<pre>";
echo "pls install curl\n";
echo "For *unix open terminal and type this:\n";
echo 'sudo apt-get install curl && apt-get install php-curl';
die;
}
$args = [
'api_key' => '123456789',
'name' = $_GET['personsname'],
'phone' = $_GET['phonenumber'],
'offer_id' => '11111',
'country_code' => $_GET['country_code_selector'],
'price' => 60,
'base_url' => 'my-domain.com - This website is for sale! - my-domain Resources and Information.' ,
'ip' => 'INSERT CLIENTS IP ADDRESS',
'referrer' => 'http://my-click-site.com',
'subacc' => 'INSERT SUBACCOUNT 1',
'subacc2' => 'INSERT SUBACCOUNT 2',
'subacc3' => 'INSERT SUBACCOUNT 3',
'subacc4' => 'INSERT SUBACCOUNT 4',
'utm_campaign' => 'INSERT utm_campaign',
'utm_content' => 'INSERT utm_content',
'utm_medium' => 'INSERT utm_medium',
'utm_source' => 'INSERT utm_source',
'utm_term' => 'INSERT utm_term',
// you can add any extra field to get it in postback
'clickid' => 'INSERT YOUR CLICK ID',
];
$url = API_URL.'?'.http_build_query($args);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true
));
$res = curl_exec($curl);
curl_close($curl);
$res = json_decode($res, true);
if ($res['code'] == 'ok') {
echo $res['msg'] . ": " . $res['order_id'];
} else {
echo $res['error'];
}




?>
</body>
</html>


It looks like a good start, but I don't understand how this would integrate with a form on the page.


Home > Technical & Creative Skills > Tracking Campaigns