How to identify users coming from an ad campaign Blip Help August 02, 2023 13:58 Updated Whenever a user accesses the bot via Campaign, in the metadata of the first message sent, it will be possible to identify attributes related to that campaign. Observe these methods in the bot log: To extract this information it is necessary to run a script. The script below is used to obtain only the value of the messenger.ad_id present in this metadata: function run(metadata){metadata= JSON.parse(metadata);return metadata["messenger.ad_id"];} Use action “event logging” to enhance data capture and make it more presentable on custom reports. For more information, visit the discussion on the subject in our community or the videos on our channel. 😊 Related articles Features of the Blip Chat Widget Creating interactive messages in WhatsApp User Closing Tickets How to configure Dialogflow as your AI provider How to send email by the chatbot through Builder