digitalwithyou / craft-facebook-conversion

Craft CMS plugin to send web events directly to Facebook
https://digitalwithyou.com/en/plugins/facebook-conversion/getting-started
Other
0 stars 3 forks source link

feat: support environment variables for test event code field #16

Closed qrazi closed 2 years ago

qrazi commented 2 years ago

Especially since later Craft CMS version where Project Config files are leading, it would make sense to allow having this setting in an env variable, so that:

  1. testing with a test event code won't regenerate project config yaml files
  2. testing can be done in environment that don't allow access to plugin settings

It basically brings this field in line with the Pixel ID and Access Token fields.

Diewy commented 2 years ago

Looks great, thank you @qrazi !