From a6fbe6bdf5fd762adc31160de7722e7717a9adf2 Mon Sep 17 00:00:00 2001 From: Giuseppe Fabiano Date: Mon, 24 Mar 2025 09:55:15 +0100 Subject: [PATCH] Recipe per meta-api-conversion-bundle --- index.json | 3 ++ ...dustry.meta-api-conversion-bundle.1.0.json | 48 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 webindustry.meta-api-conversion-bundle.1.0.json diff --git a/index.json b/index.json index 7a639b8..8c973b1 100644 --- a/index.json +++ b/index.json @@ -20,6 +20,9 @@ ], "webindustry/scheduler-bundle": [ "2.0" + ], + "webindustry/meta-api-conversion-bundle": [ + "1.0" ] }, "branch": "master", diff --git a/webindustry.meta-api-conversion-bundle.1.0.json b/webindustry.meta-api-conversion-bundle.1.0.json new file mode 100644 index 0000000..6187e94 --- /dev/null +++ b/webindustry.meta-api-conversion-bundle.1.0.json @@ -0,0 +1,48 @@ +{ + "manifests": { + "webindustry/meta-api-conversion-bundle": { + "manifest": { + "bundles": { + "MetaApiConversionBundle\\MetaApiConversionBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%" + } + }, + "files": { + "config/packages/meta_api_conversion.yaml": { + "contents": [ + "meta_api_conversion:", + " contexts:", + " default:", + " fb_api_version: 'some-value'", + " fb_pixel: 'some-value'", + " fb_access_token: 'some-value'", + " fb_user_data_salt: 'random-salt' # Required random salt for user data anonymization", + " fb_action_source: 'website' # optional", + " fbc_parameter_name: 'fbclid' # optional", + " fbp_cookie_name: '_fbp' # optional", + " fb_test_event_code: '' # optional", + " contact_post_email_key: 'email'", + " contact_post_phone_key: 'phone'", + " contact_post_first_name_key: 'name'", + " contact_post_last_name_key: 'surname'", + " excluded_paths:", + " #- /api", + " #- /login", + " viewcontent_routes:", + " #- landing", + " #- promo", + "when@dev:", + " meta_api_conversion:", + " dry_run: true" + ], + "executable": false + } + }, + "ref": "d10b353bf87826cf957b1450972a9bed9646b80a" + } + } +}