Available for the following Plan types:
Fullstory Enterprise
Fullstory Advanced
Fullstory Business
Fullstory for Mobile Apps
Fullstory Free
Available to the following User roles:
Admin
Architect
Standard
Fullstory's integration with Google Tag Manager allows you to install and enable Fullstory on your website or app with the click of a button.
You have the following options for installing and updating Fullstory with Google Tag Manager:
- Set up directly within Fullstory.
- Set up via the Google Tag Manager Community Template Gallery.
- Set up manually within Google Tag Manager.
- Update the Fullstory snippet to v2.0.
Option 1: Set up directly within Fullstory
There are two different ways that you can set this integration up within the Fullstory UI.
New Customer? Setup directly within our Onboarding Flow
You can deploy Fullstory through GTM during our new account onboarding flow. When you log in to Fullstory for the first time, we check if your domain uses Google Tag Manager and offer the option to install Fullstory with just a few clicks.
- Log in to Fullstory and complete the first two steps of your onboarding process.
- Verify your privacy settings.
- If your site uses Google Tag Manager, click Sign in during your account onboarding process.
- You'll need to enable pop-ups to display the Google Tag Manager auth dialog.
- You'll need to enable pop-ups to display the Google Tag Manager auth dialog.
- Select the GTM account and the tag container you'd like to use. Then click Create and Publish Tag.
- Alternatively, you can go to Settings > Data Capture and Privacy > Fullstory Setup to complete this step.
- Click OK at the bottom right of the onboarding setup page.
Upon your first login into your account, you'll want to consider adding Excluded Elements to prevent Fullstory from capturing sensitive user data. You can update these anytime by going to Settings > Data Capture and Privacy > Privacy within your Fullstory account.
Existing Customer? Setup on the Fullstory Setup page
You can deploy Fullstory through GTM within our UI by following the steps below.
- Log in to Fullstory and navigate to the Settings > Data Capture and Privacy > Fullstory Setup page.
- Click Sign In from the GTM menu.
-
Select the GTM account and tag the container you'd like to use.
- Create and Publish tag.
- Once complete, you should see a 'Tag published successfully' message within our UI.
Option 2: Set up via the Google Tag Manager Community Template Gallery
Fullstory has created the Fullstory - Browser Tag template within the Google Tag Manager Community Template Gallery, which allows you to set up Fullstory directly from within Tag Manager, following the steps below. You'll first need to add the Fullstory - Browser Tag template to your workspace and then add a tag that references the added template.
Adding Fullstory - Browser Tag to your workspace
- Log into Google Tag Manager.
- From within Tag Manager, click Templates.
- In the Tag Templates section, click Search Gallery.
- To filter the list, click
in the top right to open the search field.
- Type fullstory in the search field.
- Click the Fullstory - Browser Tag template.
- To add the template, click Add to workspace.
- Review the required template permissions and then click Add.
The above steps are derived from the Community Template Gallery documentation.
Setting up the Custom tag
Now that you've added the Fullstory - Browser Tag template to your workspace, you're ready to add it as a custom tag.
- From within Google Tag Manager, click Tags.
- Click New.
- Click Tag Configuration.
- In the Custom section, click Fullstory - Browser Tag.
- In the Tag Configuration section for Fullstory - Browser Tag:
- Enter your Org Id.
- Optionally, enable debug mode.
- Optionally, enable capture inside an iframe.
- Click the Triggering section of the page.
-
Click All Pages.
Fullstory recommends capturing all pages for reliable session data. - At the top of the page, name the tag Fullstory - Browser Tag.
- Review your configuration, which will look similar to the following:
- Click Save.
- At the main Google Tag Manager page, click Submit and then follow the subsequent pages to Publish the changes.
Option 3: Set up manually within Google Tag Manager
You also have the option of setting this up manually within Google Tag Manager. This is a great option for customers who would like to capture the sessions within the same Fullstory account across multiple GTM accounts or tag containers.
- Log into Google Tag Manager.
- Inside the container that is connected to your website, create a new tag.
- Hover over the Tag Configuration box and click on the gray pencil icon that appears.
- Select 'Custom HTML Tag' as the tag type.
- Paste your Fullstory snippet from the Settings > Data Capture and Privacy > Fullstory Setup page within your Fullstory account into the HTML text box in GTM.
-
Next, hover over the Triggering box and click on the gray pencil icon that appears. This is where you define when the tag will "fire" on your website.
You can either select the default trigger, which would fire this tag on all pages of your website or build a custom trigger by clicking on the '+' icon.Fullstory recommends capturing all pages for reliable session data. - Once saved, the Fullstory JavaScript will be loaded on any page where the GTM container script is installed and matches your tag trigger logic.
Updating the Fullstory snippet to v2
If your Fullstory snippet is still on v1.3, you can update to v2 at any time. The v2 snippet is fully backward compatible with existing v1 API calls, so you can update the snippet now and migrate your API calls to v2 at your own pace.
If you installed via Option 1 or Option 2 (Direct in FS or Template)
GTM will notify you when a template update is available.
- Log into Google Tag Manager.
- Look for the update notification bar at the top of the container's main screen. This bar appears when an update is available for an imported template.
- Click View in the notification bar to see templates with available updates.
- Click the Fullstory - Browser Tag entry. A page comparing the current and new version will appear.
- Click Accept update to install the latest version. Your existing field values and configurations will be retained.
- Submit and Publish the workspace changes.
If you installed via Option 3 (Manual Custom HTML)
- In Fullstory, go to Settings > Data Capture and Privacy > Fullstory Setup and copy the new v2 snippet.
- In GTM, navigate to Tags and open your existing Fullstory Custom HTML tag.
- Delete the old snippet code and paste the new v2 snippet code.
- Submit and Publish the workspace changes.
Verifying the update
After publishing, confirm the update is live by opening your browser's developer console on your site and running the following commands.
- Run
FS._vto confirm the snippet version has updated to2.0.0(or latest). - Run
FS('getSession', { format: 'url' })to confirm Fullstory is actively capturing sessions.