Skip to content

Instantly share code, notes, and snippets.

View hakkikonu's full-sized avatar
🚀

Hakkı Konu hakkikonu

🚀
View GitHub Profile
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "http://www.lastikmarka.com/services/jquery/Product.ashx?CatId=2413",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
@hakkikonu
hakkikonu / product schema
Created April 10, 2018 12:33
Google Product Schema Örneği
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Product",
"name": "Executive Anvil",
"image": [
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
@hakkikonu
hakkikonu / tag manager using adwords remarketing and analytics
Last active January 6, 2016 10:44
A Google Tag Manager & Google Analytics Transaction. -hakkı konu - semseo
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({
'ecommerce': {
'purchase': {
'actionField': {
'id': 'SIP_568ceb6d583ce', // Sipariş id, bu unique bir değer olmalı.
'affiliation': 'HAKKI KONU', // Müşteri adı
'revenue': '114.00', // Toplam tutar (vergi, kargo ve diğer giderler dahil)
'tax':'17.39', // vergi tutarı