At Nimble Gravity, we're not just your typical guide—we go beyond the basics. We are a trusted FullStory Partner. We gather practical knowledge and shape our journey by collaborating with many clients.
Unlock deeper insights into user behavior with Google Tag Manager (GTM) and FullStory Events API. In this guide, we will explore how to send custom events and DataLayer variables to enhance your FullStory instance.
Still grappling with doubts about crafting an effective event strategy or sending custom events to GA4? Explore our blog series for comprehensive insights:
FullStory is a tool that helps businesses understand how users interact with their websites. It helps improve the website by providing insights into user behavior via session recording, heatmaps, conversion funnels, and error tracking.
FullStory comes with pre-set events and lets you create custom events based on user actions with CSS selectors or button text. The FullStory API adds an extra layer of context to enrich your custom event data.
Unlock Valuable Insights:
Delve into the world of custom events, where tracking user interactions becomes invaluable. Watch important buttons, track form submissions, and measure how users interact. Businesses can use these customized insights to improve their websites and create a better user experience.
Capture Pivotal Moments:
Define custom events with FullStory to uncover pivotal interactions on your website. Whether it's tracking CTA button clicks or monitoring form submissions, every engagement matters. Capture and leverage these crucial moments to refine your user experience.
Embrace Feature Adoption:
Craft custom events to watch the adoption of specific features. Use FullStory to understand how your audience embraces new products or innovative tools. Optimize feature presentation and enhance user adoption based on these valuable insights.
Streamline Form Efficiency:
Maximize form efficiency by creating custom events for submissions. Track user interactions from start to completion, identifying friction points and user hesitations. Use these tips to make forms easier, decrease bounce rates, and improve the user experience.
Connect Google Tag Manager (GTM) and FullStory
QA the code to see whether FullStory is installed on your website.
To add custom events with the FS.event Javascript API, follow FullStory's naming conventions for properties and parameters.
Tip: If the event does not match the requirements, they will not be captured.
Property Name Requirements
Type suffix |
Meaning |
Example |
str |
string |
{ |
int |
integer |
{ |
real |
real |
{ |
date |
date in ISO-8601 UTC format |
{ |
bool |
boolean |
{ |
strs |
list of strings |
{ |
ints |
list of integers |
{ |
reals |
list of reals |
{ |
dates |
list of ISO-8601 UTC format dates |
{ new Date("2014-03-11T13:19:23Z"), new Date("2014-08-11T13:19:23Z") ] |
bools |
list of booleans |
{ |
Create a new HTML Tag on your GTM property with proper parameter naming conventions. Make sure your Custom Event tag fires before your FullStory Script Tag.
FS.event('ga4Event', {
Event_action_str: ‘Cta-click-’
Event_category_str: ‘’,
Event_label_str: ‘’,
Click_url_cd10_str: ‘’
});
To prevent issues, fire your Custom Event tag before your FullStory Script Tag by changing the Tag Sequencing.
After setting up custom event tags in GTM:
I will use our website as an example: https://nimblegravity.com,
Tip: If fullstory is installed, you should see the URL of your own session recording
Create a new HTML Tag on your GTM property with proper parameter naming conventions. Make sure that your Custom Event tag fires before your FullStory Script Tag.
Taking the following example, we have str, int, real types.
FS.event('ga4Event', {
Event_action_str: ‘Cta-click-’
Event_category_str: ‘’,
Event_label_str: ‘’,
Click_url_cd10_str: ‘’
});
Create a custom event with FullStory Parameters Guidelines
Change the Tag Sequencing to fire before your FullStory Settings Tag
After setting up custom event tags in GTM:
Parameters specified as string types in your Custom Event Tag will be displayed accordingly.
Once QA is complete, submit the container for changes to be applied.
Allow time for sessions to capture information about your new custom event. Create a new segment in FullStory:
Experiment with A/B Tests
You can use your dataLayer to create events for your A/B Test. This will help you try different variations of your website.
Measure user responses, and refine your strategies based on real data.
Create Tailored events for App Debugging
Measure errors in your application with custom events and send them to your instance. This way, you can identify bottlenecks on your website.
Enhance your analytics toolbox by integrating your website custom events on FullStory.
Key Callouts: