Mariano Xerez.
July 25, 2019
If you use Google Tag Manager are wondering if you can install Beamer with it. The answer is yes! Just follow these easy steps and you'll have your Beamer widget working on your site in matter of minutes.
1. Go to Google Tag Manager and create a new account if you don't have one.
2. Create a New Tag by clicking on Add a new tag.
3. In a different tag, go to your Beamer dashboard, and then to Notifications > Embed code.
4. Copy your Beamer embed code and go back to Google Tag Manager.
<script> var beamer_config = { product_id: 'YOUR_PRODUCT_ID' };</script>
<script type="text/javascript" src="https://app.getbeamer.com/js/beamer-embed.js" defer="defer"></script>
5. On your new tag (that you created in step 2) click on Tag configuration and pick Custom HTML
6. Paste your embed code in the editor provided. Remember that your code must contain your Beamer product ID (your ID appears in the top bar next to your account name and should be included in the embed code by default).
7. Go to triggering and pick All Pages to fire Beamer in all pages of your site.
8. Click Save and don't forget to name your tag. You can name it whatever you like.
9. Before you can see the changes in your site you'll need to publish those changes.
Yes! Remember that Beamer provides you with a basic embed script and an advanced one:
<script>
var beamer_config = {
product_id: 'YOUR_PRODUCT_ID', // Required: Replace with your Beamer product ID
selector: 'selector', // Optional: HTML element to use as a button
display: 'right', // Optional: Display position of the Beamer panel
top: 0, // Optional: Top position offset for the notification bubble
right: 0, // Optional: Right position offset for the notification bubble
bottom: 0, // Optional: Bottom position offset for the notification bubble
left: 0, // Optional: Left position offset for the notification bubble
button_position: 'bottom-right', // Optional: Position for the notification button
icon: 'bell_lines', // Optional: Alternative icon for the notification button
language: 'EN', // Optional: Language for the news feed
filter: 'admin', // Optional: Show news for a specific role
lazy: false, // Optional: Set to true for manual initialization using Beamer.init()
alert: true, // Optional: Set to false to disable selector initialization
delay: 0, // Optional: Delay (in ms) before initializing Beamer
embed: false, // Optional: Set to true to embed the feed inside the selected element
mobile: true, // Optional: Set to false to disable Beamer on mobile devices
notification_prompt: 'sidebar', // Optional: Method for prompting web push notifications
callback: your_callback_function, // Optional: Called with the number of new features after initialization
onclick: your_onclick_function, // Optional: Called when a user clicks on a link in a post
onopen: your_onopen_function, // Optional: Called when opening the Beamer panel
onclose: your_onclose_function, // Optional: Called when closing the Beamer panel
// Visitor Information
user_firstname: 'firstname', // Optional: Input user's first name
user_lastname: 'lastname', // Optional: Input user's last name
user_email: 'email', // Optional: Input user's email
user_id: 'user_id' // Optional: Input user's ID
};
</script>
<script type="text/javascript" src="https://app.getbeamer.com/js/beamer-embed.js" defer="defer"></script>
You can use any of those in the step 4 of this tutorial. You can even add manually the specific parameters you want to pass to the Beamer script if you have coding knowledge.If you have any doubts on what parameters are available you can see a full list in our Developer Documentation.
Mariano Xerez.
Lead Designer
Mariano is a multimedia designer and all-around nerd born in Chile but currently based in Buenos Aires, Argentina. He loves to write CSS, producing videos, playing RPGs, and designing book covers. SaaS marketer based in Vancouver, BC :bandera-ca:. She is passionate about transforming customers into champions and ridding the world of boring product updates.
This article is about Customer Engagement + customer feedback + Product Management + User Engagement + User Feedback
“Beamer is the perfect tool for SaaS companies to engage users and reduce churn. Beamer has helped us achieve huge improvements in click through rates, reductions in churn and increased upselling.”
Benny Waelput
Go-to-Market Marketeer
14-day free trial
No credit card required
©2017-2024 Made with by Beamer
Net Promoter®, NPS®, and the NPS-related emoticons are registered trademarks of Bain & Company, Inc., Satmetrix Systems, Inc., and Fred Reichheld. Net Promoter Score℠ and Net Promoter System℠ are service marks of Bain & Company, Inc., Satmetrix Systems, Inc., and Fred Reichheld.