AMP Analytics setup in Newspaper>Mobile Device>AMP Analytics box

Posted in: Newspaper
Post count: 66

https://happypeoplepickleball.com

I am setting up the AMP Analytics in the Newspaper>Mobile Device>AMP Analytics box.
Do I take the sample JSON code and just plug in my Google Analytics Measurement ID?
Then paste the code into the PASTE YOUR CODE HERE box?

This is the sample code

{
“vars”:{
“account”:”do I put my google measurement ID number here”
},
“triggers”:{
“trackPageview”:{
“on”:”visible”,
“request”:”pageview”
}
}
}

Post count: 27744

Hi,

I don’t recommend to using amp, because it is deprecated -> https://developer.bigcommerce.com/docs/storefront/wordpress/platform-integration/enabling-amp
Also, you need to set the AMP analytics here https://imgur.com/kHn8ycP

Thank you!

Post count: 66

Thank you I removed the code in the AMP Mobile Device setting. I thought AMP was what I needed to do to create mobile pages for my website. Should I be creating mobile pages through Cloud Templates? Is there a setting? Thank you.

Post count: 27744

Hi,

No, you do not need to have the amp plugin activated for mobile page.
Using our theme, you can choose from 3 mobile versions
-> mobile responsive => https://www.screencast.com/t/oJ2ShOp47
-> mobile theme plugin => https://forum.tagdiv.com/the-mobile-theme/
-> mobile page => https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/ The option that you need to use.
Suppose you created the mobile pages with tagDiv Composer. In that case, when you install the Mobile Theme plugin, your pages will be overwritten by the plugin (the mobile theme comes with its templates for page, post, category, etc, so your current templates from the desktop theme will get converted to the mobile theme layout, the page content is made without builders in mobile editor => https://www.screencast.com/t/xbgZG8kH also, the options that are provided to edit the mobile theme version are limited (this keeps the things simple)).
This is a video about Responsive Newspaper Theme, AMP & Mobile Theme, Mobile Pages & Templates -> https://www.youtube.com/watch?v=SpGkOnJeNZY.
So, the mobile responsive is what you see when that you select the viewport on phone => https://www.screencast.com/t/matV17hH, so some settings may apply for each viewport(where is the border blue), and others are not(where the border is black).
The mobile page has the mobile templates from Cloud Library => https://www.screencast.com/t/YCcZ8rL8
The Mobile responsive version of the theme and the mobile page editor can be edit with tagDiv Composer, the mobile theme plugin cannot.
For example, you can have the mobile theme plugin activated and use the mobile page/mobile responsive version for the homepage/pages, but for the categories pages/404 page, you can’t use the mobile page/mobile responsive version if you have the mobile theme plugin activated.
So, if you want to design the pages with tagDiv Composer, you can use the mobile page or mobile responsive version.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.