POWR-ShareThis Integration
Aigul, Nazir and Anuarbek have worked on different parts of ShareThis integration, thus they are the first people who need to be notified in case of any problems.
SocialFeed, FormBuilder and Popup apps were integrated to ShareThis platform. SocialFeed was the first in the row. FormBuilder and Popup were added later.
handle_sharethis method in apps_controller.rb file is triggered whenever iframe with url containing ?platform=sharethis&jwt=... query parameters is loaded in ShareThis. powr_app_id parameter is present if coming from ShareThis onboarding page where a new app had already been created.
All ShareThis apps should have unique_labels of sharethis-APP_SLUG-SHARETHIS_COMPONENT_ID form (e.g. sharethis-form-builder-...).
Sending Hashed Emails on FormBuilder and Popup form submission
Privacy consent messages are shown to the users who are in the US if the form contains an email field. If this is the case, then POWR sends those emails to ShareThis in hashed form through powr.js (search for deliverHashedData).