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 --activateFirst 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
| Capability | Status |
|---|---|
| Event sending | Planned |
| Batch sending | Planned |
| Consent handling | Planned |
| Identity | Planned |
| Attribution | Planned |
| Deep links | Not applicable |
| Revenue | Planned |
| Error capture | Planned |
| Session replay | Planned |
| Tracing | Not applicable |
Verification chain
| Link | Status |
|---|---|
| Source | Partial |
| Build | Partial |
| Test | Partial |
| Registry publication | Waiting for external access |
| Clean install | Waiting for external access |
| Event receipt | Waiting for external access |
| Documentation | Passed |
| Super Admin proof | Not 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.