Questions tagged [amp-analytics]
49 questions
4
votes
1 answer
How to pass dynamic values to var
I need to pass the pagePath value dynamically into my amp-analytics tag's var value. Can you please advise how i can achieve this. For example, In the below code snippet , I need to replace the pagePath with different values based on the current…

Siva
- 51
- 1
- 4
3
votes
0 answers
amp-analytics to track Facebook Pixel lead events
I am trying to implement form lead conversions using amp-analytics and facebook pixel.
I found examples on using amp-analtics with facebook pixel here;
Github Amp Analytics Vendors
However, this does not go into any detail on how the events are…

Matthew Flynn
- 3,661
- 7
- 40
- 98
3
votes
1 answer
Is there a way to stop AMP Analytics counting development work as hits?
I have added AMP Analytics (amp-analytics) to my AMP Pages like these and the hits are recorded properly on Google Analytics. The only problem is that it is counting all my development work as hits. This will really skew my readings as many people…

Sandeep C
- 291
- 1
- 2
- 14
3
votes
1 answer
how can I structure amp-analytics json iframeMessage with dynamic values?
I am trying to integrate adobe analytics in an amp page. But the parameters that I want to pass, I want them to be picked up dynamically using an ajax call.
I am picking up the values using an amp-list. The ajax response is somewhat like below:
{
…

Soumya Masani
- 31
- 1
- 6
3
votes
1 answer
amp-experiment info not visible in GA or Google Optimize
I've implemented a small experiment on an AMP site following this tutorial: https://developers.google.com/optimize/devguides/amp-experiments
Here's what I've done:
1. amp-analytics and amp-experiment components