The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “1Win

Native Ads tracking [PHP maybe?]

LucydMarketing

New Member
affiliate
Hi guys!

I used to do a lot of affiliate marketing and I know how it works on the mobile world
My problem is with Native Ads marketing.

When I start new campaign on Content.Ad/MGID or any other native ads platform i need to put their events inside. right? for example:
{campaign_id}, {category_id}, {click_id} and etc...
so eventually my url will look similar to this:
website dot com/index.html?clickid={clickid}

But from the advertorial page the user needs to be redirected to google store or itunes.
How can I "cut" the part after the question mark and "paste" it on the following URL?

(why i'm saying it might be a php issue? I saw that some advertiser send their traffic into a redirect page with PHP ending and from this page the user gets redirected to itunes. but i'm not 100% sure it's connected)

I hope my question is clear.
Thanks is advance.
 
first you need to check the QUERY_STRING and remove any hostile injection code. Never assume that user input is not tainted!
php get method at DuckDuckGo
$_GET
$campaign_id=$_GET['campaign_id'];
$clickid = $_GET['clickid'];
fetch the array of the URL query and sort the key/value pairs or; the parameters and values.
then do something with the findings


Graybeard, Jan 14, 2018

LucydMarketing likes this
 
MI
Back