PROBLEM INSERTING AFFILIATE JAVA SCRIPT CODE

Have you ever got the problem with inserting javascript code into your blog? Well, if you are doing online affiliate business, you will find tools which is a javascript code that you can embed to your website or blog. If you look at the tutorial, the process of inserting this code until it appears in your web or blog can’t be more simple, but still, sometimes you get the problem with it, and you are not a javascript expert, and the answer you found in internet forums don’t give you any solution. Well, this could be your frustrating moment, right.
It happen also for me when I tried to embed an affiliate java script code from Lazada into my blog. I tried it few times, but nothing appears in my blog. I’m sure that the script they gave me must be perfect and tested, so I kept looking for the answer in the internet. Tried to change some code in script without knowing what I’m doing, and ended with no progress.
So finally, I came out with the idea that maybe the code is wrong, broken linked, or down, or something, because I see that the code is referring to a particular address.
For example :

<!-- Javascript Ad Tag: 331 -->
<div id="lazada331ZsZrk0"></div>
<script src="http://lazada.go2cloud.org/aff_ad?campaign_id=331&aff_id=32354&format=javascript&format=js&divid=lazada331ZsZrk0" type="text/javascript"></script>
<noscript><iframe src="http://lazada.go2cloud.org/aff_ad?campaign_id=331&aff_id=32354&format=javascript&format=iframe" scrolling="no" frameborder="0" marginheight="0" marginwidth="0" width="160" height="600"></iframe></noscript>
<!-- // End Ad Tag -->

This script is reside in a server with address http://lazada.go2cloud.org..., so the script is not really written in that code itself but hosted in an address elsewhere, so why don’t we tried to check this address instead.
Copy that address : http://lazada.go2cloud.org/aff_ad?campaign_id=331&aff_id=32354&format=javascript&format=js&divid=lazada331ZsZrk0 (without the apostrophe )and paste it in your browser navigation, and go to it. If the page come with a result like :

document.getElementById("lazada331ZsZrk0").innerHTML = '<iframe src="http://lazada.go2cloud.org/aff_ad_creative?creative_id=21766&campaign_id=331&aff_id=32354&format=javascript&format=js&divid=lazada331ZsZrk0&url=http%3A%2F%2Flazada.go2cloud.org%2Faff_c%3Foffer_id%3D91%26aff_id%3D32354%26creative_id%3D21766%26source%3D%26aff_sub%3D%26aff_sub1%3D%26aff_sub2%3D%26aff_sub3%3D%26aff_sub4%3D%26aff_sub5%3D" width="160" height="600" frameborder="0" scrolling="no"></iframe>';

 Or anything like it, then it means that the java script is there, and it should be working, but it if it doesn’t come up with anything or page cannot be displayed message, apparently, the script is linking to an address which is broken, or the script cannot be reach, or anything making that script is not functioning. So that’s the problem. And instead of trying to figure it out, maybe we can just complain it to the provider to have it fixed.
Well, happy affiliating…



Post a Comment