Copy link to clipboard
Copied
Hello,
Looking to hopefully have Google analytics pick-up when a user reaches a certain (canvas) frame - roughly, a frame would equal a page on a normal website as far as GA is concerned. Is this possible to do? ..and if so, could you please advise the script for the frame?
Thank you.
google: javascript and google analytics.
Copy link to clipboard
Copied
google: javascript and google analytics.
Copy link to clipboard
Copied
...and so you're right.
Specifically, this is pretty good.
https://www.optimizesmart.com/beginners-guide-to-javascript-for-google-analytics/#a3
Thank you.
Copy link to clipboard
Copied
Yes, it's possible. You can use the following JavaScript code to trigger a virtual pageview in Google Analytics when a user reaches a specific point in the frame:
Adjust the scrollThreshold and virtual page path as needed. Make sure your Google Analytics tracking code is properly set up on your website.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more