Installing Tracking Code Snippet Inside Web AppSOLVE
Aug 14, 2020 8:57 AM
Background: As an org., we've been using tools like Pendo or WalkMe for web app analytics. When we want to to create a bucket of users for marketing automation or outreach based on app activity, we configure Zapier zaps to send in app activities or events to hubspot and slack to prompt action.
I was thinking, could we just drop the snippet directly into the web app (React) to directly add users to lists or trigger workflows and cut out steps/cost with Zapier. Obviously HubSpot wouldn't be an app analytics replacement but this could resolve the separate challenge of individual enrollment. We can add the domains for tracking - it seems like it should just work.
We've decided just to drop the snippet in place in our Dev environment and add the dev environment's domain to our tracking settings in HubSpot. I would have expected to see pageviews but there isn't any data coming through for those web app pages.
Anyone aware of limitations on this front? I wouldn't think HubSpot would know the difference of where the snippet lives (whether on a marketing site or within a SaaS application).
Solved! Go to Solution.
Aug 19, 2020 11:07 AM
Update: We are now able to see users visiting inapp pages! What changed? I believe I just eliminated a couple of user errors.
First, we went live with this in our Dev environment. This was problematic for getting contacts to show at all because people do not fill our hubspot forms to get into Dev, ever. If you only go live in your dev environment, you are likely to see something similar.
Now, I myself am a contact in hubspot, and have access to the dev account, but I was still not showing up, which leads to addressing user error two.
My contact filter used when creating my list was accidently too restrictive. Adding a simple * following the app URL was the key, and now I am seeing contacts! More to come on how we make the most of this to simplify some automation triggers based on app activity.