• Resolved Anuj

    (@anujmakhloga)


    Hi,

    I’m hoping you can help me out with this thing. I’m trying to set up GA4 linking to my AMP pages, but I don’t want to install the Google Site Kit plugin coz it might clash with some of my other plugins.

    I’ve already created a GA4 property, but I’m not sure how to link my GA4 property to my AMP pages without the Google Site Kit plugin. Could you please give me some instructions on how to do this manually?

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

    (@milindmore22)

    Hello @anujmakhloga

    Thank you for contacting us, yes you can use the GA4 with the current version of plugin.

    the googleanalytics type is now being deprecated and you have to use the gtag as the type along with the GA4 id. You can learn more about in our updated documentation

    eg:
    Use type “gtag”

    JSON Config

    {
    	"vars": {
    		"gtag_id": "G-XXXXXXXX",
    		"config": {
    			"G-XXXXXXX": {
    				"groups": "default"
    			}
    		}
    	}
    }

    We hope this is helpful!

    Thread Starter Anuj

    (@anujmakhloga)

    Thank you so much, sir.

    Hi

    Where i can you this code in header and footer also i am using google site kit but still amp data not shown to me

    Thread Starter Anuj

    (@anujmakhloga)

    go to AMP > analytics.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘GA4 not showing AMP data’ is closed to new replies.