This topic has 4 replies, 3 voices, and was last updated 9 years by Andrei.

  • Author
  • #70753
     regiswillm
    Participant

    Hello,
    I need your help for laying tag traking affilinet advertiser.
    By mistake I made it just that some variable to run the traking below desous (I put you <—— arrow to the variable I’m looking for):

    <script>
    (function (w, d, namespace, domain, progId, tagId, undefined) {
    w[namespace] = w[namespace] || {}; var act = w[namespace], payload = [];
    act.tags = act.tags || []; act.tags.push(tagId, payload);
    var protocol = d.location.protocol;
    // Start editable part OrderTracking
    payload.push({
    module: ‘OrderTracking’,
    event: ‘Sale’,
    net_price: ‘$order ‘ <———————–
    order_id: ‘$order_id ‘, <———————–
    rate_number: 1,
    program_subid1: ‘%ADVERTISER_SUBID_1%’,
    program_subid2: ‘%ADVERTISER_SUBID_2%’,
    voucher_code: ‘$discount_code_id’, <——————-
    });
    // End editable part OrderTracking
    // Start editable part Profiling Checkout
    payload.push({
    module: ‘Profiling’,
    event: ‘Checkout’,
    order_id: ‘$order_id ‘, <——————————
    product_id: ‘code_id’, <——————————
    product_name: ‘membership_id’, <——————————
    product_price: ‘$order’, <——————————
    }
    ]
    });
    // End editable part Profiling Checkout
    if (act.get === undefined) {
    var s = d.createElement(‘script’);
    s.type = ‘text/javascript’;
    s.src = protocol + ‘//’ + domain + ‘/’ + ‘affadvc.aspx?ns=’ + namespace +
    ‘&dm=’ + domain + ‘&site=’ + progId + ‘&tag=’ + tagId;
    s.async = false; // always keep false for standard tracking
    (d.getElementsByTagName(‘body’)[0] || d.getElementsByTagName(‘head’)[0]).appendChild(s);
    } else { act.get(w, d, progId, tagId); }
    })(window, document,
    // Start editable part
    ‘aff_act_1.0’, ‘act.reussissonsensemble.fr’, programid, ‘PAYMENT_SUCCESS’);
    // End editable part
    </script>
    <noscript>

    </noscript>

    thanks for your help
    regis

    #71036
     Laura
    Moderator

    Hello, will assign the ticket to a higher support lever who can help and advise you in your query.
    Thanks! 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #71484
     regiswillm
    Participant

    thanks I expect from you,
    Régis

    #72179
     regiswillm
    Participant

    Hello,
    how to pass my request to a level supperior?
    régis

    #72890
     Andrei
    Moderator

    If you need to pass custom data from the user profile and his order details to a custom affiliate system then this would be a custom job and I recommend you to hire a developer to build such integration.

    I also want to point out that this is not related to our theme.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?