“FunnelFlux Zeydoo
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

Native Ads tracking [PHP maybe?]

Discussion in 'Native Ads' started by LucydMarketing, Jan 14, 2018.

  1. LucydMarketing

    LucydMarketing Affiliate 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.
  2. AdCombo
  3. Graybeard

    Graybeard Well-Known Member affiliate

    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
    $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