Steps to integrate onsite messaging popups on Drupal
Login to your PushAlert account and head to the Integrate section of the Drupal website on which you want to add the service.
Copy the integration code from the Universal section.
Head to your Drupal 7 website and login to the site backend.
Navigate to the Structure page from the admin panel.
Select Blocks in the window that appears after clicking on Structure.
Next click on Add block.
Add a Block description so that you can easily identify that the code is for Onsite messaging.
Paste the integration code you copied earlier in the Block body field and set Text format as Full HTML.
Set the region as Footer, you can also change the visibility to specific pages or users.
And finally click on Save block.
Confirm by heading to the Blocks page, and scrolling down to the Footer section. You will be able to see the new block there and Configure if any changes are required.