Hi,
I've tried to insert a Conversion with this script, but i always get an error... do you know why?
Hi,
I've tried to insert a Conversion with this script, but i always get an error... do you know why?
Hi Mark,
your code is almost right, but in CURL to set multiple headers you must do it in a single call.
So you must do:
curl_setopt($ch, CURLOPT_HTTPHEADER, array('X-Clickmeter-Authkey: '.$api, 'Content-Type: application/json'));
curl_setopt($ch, CURLOPT_HEADER, 0);
Hope it helps!
1 Comments