Hi! Help me please! Sorry for my bad English ?
I was send a test job. But I have big problem’s whis JS.
[CODE]<script type=”text/javascript”>
if (typeof __GetI === “undefined”) {
__GetI = [];
}
(function () {
var p = {
type: “VIEW”,
/* config START */
site_id: “[site_id]”,
product_id: “[product_id]”,
pixel_id: “[pixel_id]”
/* config END */
};
__GetI.push(p);
var domain = (typeof __GetI_domain) == “undefined” ? “px.adhigh.net” :
__GetI_domain;
var src = (‘https:’ == document.location.protocol ? ‘https://’ : ‘http://’) + domain + ‘/p.js’;
var script = document.createElement( ‘script’ );
script.type = ‘text/javascript’;
script.src = src;
var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(script, s);
})();
</script>
And task : Client can’t get information about “product_id”, but he want get category commodity, and price. Need remake code on request.
As I understand, I need remake
[CODE]
type: “VIEW”,
/* config START */
site_id: “[site_id]”,
product_id: “[product_id]”,
pixel_id: “[pixel_id]”
/* config END */
alter this :
[CODE]type: “VIEW”,
/* config START */
site_id: “[site_id]”,
[B][U]
category_id: “[category_id]”,
price_id: “[price_id]”,[/U][/B]
pixel_id: “[pixel_id]”
/* config END */
I think correctly ?
Thank you for attention