How to install Google Analytics’ Enhanced Ecommerce Features in Codeigniter |
I am trying to implement Google Analytics. First step I did is addes this code in header file
Code: <!-- Global site tag (gtag.js) - Google Analytics --> This is working fine and its tracking users. Now I want to implement Enhanced Ecommerce. For now I am only interested in Purchase event. Documentation says I should add this code Code: ga('create', 'UA-XXXXX-Y'); My second question is that if I just copy and paste this code in header file and only change I make is UA-XXXXX-Y. And make a puchase on website, will it show something on analytics? I know I have to change code to be dynamic but just for testing I want basic code which I should just copy and paste. |
Messages In This Thread |
How to install Google Analytics’ Enhanced Ecommerce Features in Codeigniter - by sarathedev - 05-20-2020, 01:24 PM
|