A
A
alex88a2019-03-14 12:20:13
Google Analytics
alex88a, 2019-03-14 12:20:13

How to set up Google Analytics target (view) on different product pages?

Good afternoon. Can't set target to view product pages. Configured like this:
Category - product
Action - prosmotr
Installation Type - Landing page is not suitable. There are many pages. Is it possible to put in the head something like onload="ga('send', 'event', 'product', 'prosmotr');" ? If anyone has experience with this, please share your experience.
PS I use opencart if it's important.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zoozag, 2019-03-14
@zoozag

Is it possible to place in the head something like onload="ga('send', 'event', 'product', 'prosmotr');" ?

It's easier to place it in product.tpl. Just keep in mind that the analytics script in this case should be higher.
<script type="text/javascript" >
  ga('send', 'event', 'product', 'prosmotr');
</script>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question