Reputation: 1636
on mobile web we do the following:
ga('send', 'pageview', {'page': '/Path/Path-URI-FROM-DESKTOP-Story-518333'});
to produce the exact same pageview on google analytics as we do it on our desktop websites.
anyone has a clue on how to set the parameter using amp? we use the same UA for mobile,desktop and AMP and want summarized numbers.
(each variation has a slightly different URL - all have canonicals and so on)
Upvotes: 0
Views: 89
Reputation: 1409
you can't use the ga script, it is forbiden.
But zu can use json with the paramter that amp give you.
See analytics variable and sample
Upvotes: 1