@extends('admin.layouts.app') @section('title', 'Facebook Pixel') @section('crumbs')Facebook Pixel@endsection @section('content')
@csrf @method('PUT')

📊 Facebook Pixel + Conversions API

@if ($enabled && $pixelId) {{ $hasToken ? 'Pixel + CAPI chalu' : 'Pixel chalu' }} @else Bondho @endif
@include('admin.partials.check', ['name' => 'enabled', 'label' => 'Pixel chalu', 'checked' => $enabled, 'hint' => 'Bondho thakle website e Facebook er kono code load hoy na'])
@include('admin.partials.field', ['name' => 'pixel_id', 'label' => 'Pixel ID (Dataset ID)', 'value' => $pixelId, 'placeholder' => 'jemon 1234567890123456', 'hint' => 'Events Manager → Data sources → tomar Pixel → Settings', 'attrs' => 'inputmode="numeric" autocomplete="off"']) @include('admin.partials.field', ['name' => 'test_code', 'label' => 'Test Event Code (shudhu test er shomoy)', 'value' => $testCode, 'placeholder' => 'jemon TEST12345', 'hint' => 'Test shesh hole FAKA kore dao, na hole asol data Test e jabe.'])
Server theke event pathay: iPhone / ad blocker eo order miss hoy na. Database e encrypt thake, page e dekhay na. @error('capi_token')
{{ $message }}
@enderror @if ($hasToken)@endif
@foreach ($events as $key => $label) @endforeach
@endsection