Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @holidaystory17

    Thanks for the inquiry, from your screenshot, It looks like you are using google tag manager JSON configurations with googleanalytics type Also you don’t need the “<” “>” for the UA codes

    Below are examples of Google Analytics and Google Tag Manager

    1) Google Analytics: googleanalytics (screenshot)

    
    {
    	"vars": {
    		"account": "UA-XXXXX-Y"
    	},
    	"triggers": {
    		"trackPageview": {
    			"on": "visible",
    			"request": "pageview"
    		}
    	}
    }
    

    2) Google Tag Manager: gtag (screenshot)

    
    {
    	"vars": {
    		"gtag_id": "UA-XXXXX-Y",
    		"config": {
    			"UA-XXXXX-Y": {
    				"groups": "default"
    			}
    		}
    	}
    }
    

    You can also use both google analytics and google tag manager together by adding one after another with “+” button (screenshot)

    Thread Starter Ruma Dey Baidya

    (@holidaystory17)

    Thanks, Milind. It’s working.

    I have a secondary WordPress install in a subdirectory. Can you help me how can I setup?

    https://www.theholidaystory.com/bn

    Plugin Support Milind More

    (@milindmore22)

    Hello @holidaystory17

    I have created a compatibility plugin for OneSignal – Web Push Notifications

    1. Please install OneSignal – Web Push Notifications and activate it.
    2. Configure the OneSignal Push Notification plugin following their guide.
    3. Download this AMP Compatibility Plugin as a zip file and install and activate it.
    4. You are Done

    Please let me know if you run into any issues.

    Thread Starter Ruma Dey Baidya

    (@holidaystory17)

    Thanks for one signal plugin, but the placement is little up, Is there any setting for position change? secondly, is the plugin has the feature of updates?

    You can check in my blog, it’s installed.

    https://www.theholidaystory.com/

    Also,
    I have a secondary WordPress install in a subdirectory. Can you help me how can I setup google analytis?

    https://www.theholidaystory.com/bn

    Plugin Support Milind More

    (@milindmore22)

    Hello @holidaystory17

    The plugin is only available on GitHub so you have to download it each time it has some updates, ( mostly if it’s stopped working on breaks anything I will update the plugin. )

    I placed The Button a little up considering the Exit Mobile button at the bottom.
    See Screenshot Desktop and Mobile

    In case you wanted to change its position to bottom

    goto Backend-> Appearance -> Customize -> Additional CSS

    paste the following CSS

    
    html[amp] amp-web-push-widget button.subscribe {
        bottom:5px
    }
    

    Also,
    I have a secondary WordPress install in a subdirectory. Can you help me how can I setup google analytics?

    You can set up Google Analytics the same way you set up in your main site
    You can follow this guide

    Thread Starter Ruma Dey Baidya

    (@holidaystory17)

    Its working fine Milind. You have really done a great job.

    Plugin Support Milind More

    (@milindmore22)

    Glad to know it resolved your issue, I will mark this topic as resolved.

    Feel free to open a new support topic if you require any further assistance.

    Be sure to share your thoughts on using the AMP plugin, we’d love to hear your feedback.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘unable to setup googleanalytics’ is closed to new replies.