Skip to content
Feralin

Developers

WordPress / WooCommerce: quickstart

Install and first-use steps for sending events to Feralin with WordPress / WooCommerce. Code samples come from the SDK's own README and statuses from the capability record.

Install

There is no package published on wordpress.org yet. The package is downloaded from feralin.com; the commands first verify the SHA-256 digest of feralin-wordpress-0.1.0.zip and stop if verification fails.

mkdir -p feralin-sdk
curl -fsSL https://feralin.com/sdk/packages/feralin-wordpress-0.1.0.zip -o feralin-sdk/feralin-wordpress-0.1.0.zip
echo "767344fd4350dc63b5ce25b95c09c9236aeaaa835f8ac4f332befd471acccc48  feralin-sdk/feralin-wordpress-0.1.0.zip" | sha256sum -c -
wp plugin install feralin-sdk/feralin-wordpress-0.1.0.zip --activate

First use

// Ödeme anındaki izin: izin aracınızın kararını döndürün. null dönerse sipariş olayı gönderilmez.
add_filter('feralin_checkout_consent', static fn ($consent, $order) => [
    'analytics' => benim_izin_aracim('statistics'),
    'advertising' => benim_izin_aracim('marketing'),
], 10, 2);

// Tıklama kimliği (sizin sakladığınız fr_click değeri); reklam izni yoksa SDK çıkarır. Kişisel veri eklemeyin.
add_filter('feralin_order_event_properties', static fn (array $properties, $order) => $properties + [
    'fr_click' => benim_tiklama_kimligim($order),
], 10, 2);
feralin.setConsent({ analytics: true, advertising: false });

Code samples are taken as they are from sdks/wordpress/README.md; comments inside may be in Turkish. You create the project key in the dashboard.

Capabilities

WordPress / WooCommerce capability status
CapabilityStatus
Event sendingPlanned
Batch sendingPlanned
Consent handlingPlanned
IdentityPlanned
AttributionPlanned
Deep linksNot applicable
RevenuePlanned
Error capturePlanned
Session replayPlanned
TracingNot applicable

Verification chain

WordPress / WooCommerce verification chain
LinkStatus
SourcePartial
BuildPartial
TestPartial
Registry publicationWaiting for external access
Clean installWaiting for external access
Event receiptWaiting for external access
DocumentationPassed
Super Admin proofNot started

Passed means local evidence: source, build and tests ran. Registry publication and Super Admin proof are separate links; the SDK is not called ready until each has passed.