• Resolved telugubulletin

    (@telugubulletin)


    How can we add Alexa tracking to Google Web stories pages. We have the following code from Alexa tracking that we want to insert on all of our webstory pages.

    <!-- Start Alexa AMP Certify Javascript -->
    <amp-analytics type="alexametrics">
    <script type="application/json"> {"vars": { "atrk_acct": "SafIt1WyR820WR", "domain": "XXXXX.com" }}</script>
    </amp-analytics>
    <!-- End Alexa AMP Certify Javascript -->    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    There’s a filter named web_stories_print_analytics in the plugin that can be used to print additional analytics codes such as for Alexa.

    You could add the relevant code in a plugin on your site to add Alexa tracking for your web stories.

    I just put together this small plugin for you to make that easier:

    https://gist.github.com/swissspidy/1dd9edce91c1135efee9f8c4ef35d17f

    You can download that file, update atrk_acct and domain accordingly and then upload it as a plugin to your WordPress site.

    Hope that helps!

    Thread Starter telugubulletin

    (@telugubulletin)

    @swissspidy Thanks a lot. Appreciate it. We have installed and activated this plugin. I see that Alexa tracking code is being inserted on our web stories. We will monitor Alexa reports tomorrow and mark this as resolved. Thanks

    Plugin Support Luckyna San

    (@luckynasan)

    @telugubulletin We will mark this topic as resolved. Thank you for opening your topic. If you have any other questions, please open a new support topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Alexa Analytics Tracking’ is closed to new replies.