3D FlipBook - Google Analytics features

I***a@altron.com
2022-02-25
2022-06-16

What Google Analytics features will be made available via this plugin for the pro version?

Replies

a***r@3dflipbook.net
2022-03-04
2022-03-04

Since 1.10.9 if you have plugged in google analytics to your wordpress, 3d flipbook calls ga function:

ga('send', 'pageview', '/3d-flip-book/{book name}/{book id}/{page number}');

when user visit book pages. so you will see all statistic in GA dashboard.

I***a@altron.com
2022-03-09
2022-06-15

Do I just copy and paste like that to this Ready function (scene) {/ code /} ready option or like this below but not sure how to change the page number to include the the pages.

ga('send', 'pageview', '/3d-flip-book/{book-name}/{id-number}/{page number}');

I***a@altron.com
2022-05-25
2022-05-25

Can you please respond. I have purchased the plugin and its been 2 months with no proper results. I only see the cover page on Google Analytics. Is there anything else or code I have to add to see the stats views on the flipped pages.

I***a@altron.com
2022-05-25
2022-05-25

Can you please respond. I have purchased the plugin and its been 2 months with no proper results. I only see the cover page on Google Analytics. Is there anything else or code I have to add to see the stats views on the flipped pages.

I***a@altron.com
2022-06-14
2022-06-14

Can I please get a refund, it's been months not getting what I required from this plugin, and on top you are not helping me to resolve the issue and I have purchased the plugin. It was going to help a lot if you had a documentation for people who have purchased the plugin on how to install GA or GTM for tracking the pageviews. Since you are really bad at replying to our comments.

a***r@3dflipbook.net
2022-06-14
2022-06-14

Could you write a link to any page where you use the plugin?

I***a@altron.com
2022-06-14
2022-06-15

Here's the link: https://bit.ly/3Qm7WtO

I***a@altron.com
2022-06-14
2022-06-14

This is the code I have under '3D FlipBook - Settings - General - Ready Function code':

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-XXXXXXX-1', 'auto'); ga('send', 'pageview');

function ready(scene) { scene.ctrl.addEventListener('endFlip', function(e) { flm_gtag(scene); }); scene.book.enableMouse(false); } ready; function flm_gtag (scene) { gtag( 'event', 'page_view', { 'page_path': location.pathname + "/" + scene.ctrl.getPageForGUI(), })};

Is there something wrong I'm doing?

I***a@altron.com
2022-06-14
2022-06-15
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXXXXX-1', 'auto');
ga('send', 'pageview');
</script>

<script>function ready(scene) { scene.ctrl.addEventListener('endFlip', function(e) { flm_gtag(scene); }); scene.book.enableMouse(false); } ready; function flm_gtag (scene) { gtag( 'event', 'page_view', { 'page_path': location.pathname + "/" + scene.ctrl.getPageForGUI(), })};</script>
a***r@3dflipbook.net
2022-06-15
2022-06-15

you do not need to use book ready function for this, plugin out of the box tracks pages if function ga() is defined on your site. plugin calls it: ga('send', 'pageview', '/3d-flip-book/{book name}/{book id}/{page number}'); when user goes through pages. We checked your site - ga() is defined. So you should see something like this in your google analytics: https://ibb.co/XzSS3fj

I***a@altron.com
2022-06-15
2022-06-15

I have removed the below script, as per you suggestion above:

But I only see the page name, and not the number of flipped pages. Please see share link: https://tinyurl.com/27n44h7X

a***r@3dflipbook.net
2022-06-15
2022-06-15

could you enter in debugging console on your site ga('send', 'pageview', '/3d-flip-book/tech-talk-first-edition/9344/10'); like this: https://ibb.co/bQ3kdTn - it should appear in google analytics, please check.

I***a@altron.com
2022-06-15
2022-06-15

This is see: https://tinyurl.com/296Q9h8j and the debug cosole looks like this: https://tinyurl.com/285kvbKv

I***a@altron.com
2022-06-15
2022-06-15

I tried to remove the 'script' tag from the above code, then I got this on Google Analytics: https://tinyurl.com/28tvHxgp by uisng the debug console.

a***r@3dflipbook.net
2022-06-15
2022-06-15

do not see the debugging console on your screenshots.

I***a@altron.com
2022-06-15
2022-06-15
a***r@3dflipbook.net
2022-06-15
2022-06-15

thank you, it works. so it should work for the plugin as well - try to flip to any page and wait for some time - it also should appear in GA.

I***a@altron.com
2022-06-15
2022-06-15

Thanks a lot for your help: https://tinyurl.com/2xzO7zed

a***r@3dflipbook.net
2022-06-15
2022-06-15

yes, that is the plugin default behavior.

Log In to leave a comment