-
Author
-
July 30, 2015 at 17:08 #70753regiswillmParticipant
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
regisAugust 1, 2015 at 01:03 #71036LauraModeratorHello, 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 solutionLaura 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 🙂
August 7, 2015 at 16:43 #72179regiswillmParticipantHello,
how to pass my request to a level supperior?
régisAugust 13, 2015 at 18:42 #72890AndreiModeratorIf 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 -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.