• Resolved Wouter Postma

    (@wouterpostmanl)


    Dear Alin,

    First of all; great plugin!

    I do have a question: I have enabled tracking of my AMP pages, which is working fine. However, it is currently not tracking events on those pages. Is there something I can do to make this happen?

    I have already enabled this in the “Event tracking” tab and for my ‘normal’ pages it’s working :-).

    Cheers
    Wouter

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Here’s a list with available features for AMP:

    1. Out-of-the box features for AMP:

    – Google Tag Manager basic tracking
    – Google Analytics basic tracking
    – Automatically removes amp/ from Google Analytics tracking page URL
    – Scrolling depth tracking
    – Custom dimensions tracking
    – User sampling rate control

    2. Events tracking for AMP using annotated HTML elements (data-vars-ga-* attributes):

    – form submit tracking
    – file downloads tracking
    – affiliate links tracking
    – hashmarks, outbound links, telephones and e-mails tracking

    In v5.1 manual annotation is required to track the above list of the events (2).

    The good news is that from following versions HTML elements from post content will be automatically annotated. Basically, the event tracking won’t need manual annotation of elements.

    If you still want to annotate them manually, the data attributes are:

    – data-vars-ga-category
    – data-vars-ga-action
    – data-vars-ga-label

    Thank you for your reply! I solved my issue by switching to Google Tag Manager.

    -Wouter

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tracking events on AMP pages’ is closed to new replies.