Implement SEO and thing required to integrate into a shopping portal
Includes tagging data and setup steps.
https://analytics.google.com/analytics/web/
Create your Account
this name is for tracking in the panel only.
**You cannot change this later**
Feel free to check whatever boxes are relevant, will not affect indexation.
Create your property.
This is for the overall page, will be set to your root URL.
You can change robot.txt and which pages to index later.
Used for tracking the property in the panel.
Reporting time zone and currency affect SEO, make sure they are local to target demographic.
Business details can affect SEO, but in minor ways.
Helps with panel organisation and targets.
Objective changes how the panel will display data.
This step is very important to consider your options.
I generally advise to select the top 4.
You can choose not to acept the GDPR requirement here.
If you want to do business in EU, ***highly recommend***
Target Demographic Source.
Important if you are building analytics for an app, vs a web page.
This guide covers web page only.
Data stream is where the data is coming from.
You will need to add code to your site.
This can be acheived with a stub in wordpress, then use a text box with the google analytics reference.
{turning off analytics would disable the stub}
Enhanced measurement is highly recommended.
The property can take from 2 to 48 hours to populate data.
It isn't broken, it's just slow. be patient.
Analytics Stub
Here it gives you the code for your stub. (will give copy below)
Put this in every header block of each page you want to track with analytics.
(Or, set each page to use a global header, then set a stub to be optional and when enabled, add the tag id it presents here)
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>
Once you add the code, there's a test button.
Make sure you get a green tick.